robotrock 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/index.d.ts +4 -3
- package/dist/ai/index.js +1461 -27
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/trigger.d.ts +3 -2
- package/dist/ai/trigger.js +1449 -13
- package/dist/ai/trigger.js.map +1 -1
- package/dist/ai/workflow.d.ts +30 -3
- package/dist/ai/workflow.js +1422 -13
- package/dist/ai/workflow.js.map +1 -1
- package/dist/{client-CLcHdjOz.d.ts → client-D-XEBOWd.d.ts} +7 -2
- package/dist/index.d.ts +5 -36
- package/dist/index.js +525 -36
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.d.ts +148 -596
- package/dist/schemas/index.js +156 -15
- package/dist/schemas/index.js.map +1 -1
- package/dist/{workflow-F_06QpHc.d.ts → tool-approval-bridge-BKDY5NAY.d.ts} +41 -143
- package/dist/trigger/index.d.ts +1 -1
- package/dist/trigger/index.js +560 -10
- package/dist/trigger/index.js.map +1 -1
- package/dist/trigger-CsOLTjsH.d.ts +79 -0
- package/dist/workflow/index.d.ts +2 -2
- package/dist/workflow/index.js +608 -16
- package/dist/workflow/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/chunk-55JHCNYX.js +0 -613
- package/dist/chunk-55JHCNYX.js.map +0 -1
- package/dist/chunk-D2FBSEZK.js +0 -67
- package/dist/chunk-D2FBSEZK.js.map +0 -1
- package/dist/chunk-ZG2XVK6Y.js +0 -374
- package/dist/chunk-ZG2XVK6Y.js.map +0 -1
- package/dist/chunk-ZHASQUX6.js +0 -195
- package/dist/chunk-ZHASQUX6.js.map +0 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -60,135 +60,44 @@ type UiSchema = {
|
|
|
60
60
|
};
|
|
61
61
|
declare const webhookHandlerSchema: z.ZodObject<{
|
|
62
62
|
type: z.ZodLiteral<"webhook">;
|
|
63
|
-
url: z.
|
|
63
|
+
url: z.ZodString;
|
|
64
64
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
65
|
-
},
|
|
66
|
-
type: "webhook";
|
|
67
|
-
url: string;
|
|
68
|
-
headers: Record<string, string>;
|
|
69
|
-
}, {
|
|
70
|
-
type: "webhook";
|
|
71
|
-
url: string;
|
|
72
|
-
headers: Record<string, string>;
|
|
73
|
-
}>;
|
|
65
|
+
}, z.core.$strip>;
|
|
74
66
|
declare const triggerHandlerSchema: z.ZodObject<{
|
|
75
|
-
url: z.
|
|
67
|
+
url: z.ZodString;
|
|
76
68
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
77
|
-
} & {
|
|
78
69
|
type: z.ZodLiteral<"trigger">;
|
|
79
70
|
tokenId: z.ZodString;
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
url: string;
|
|
83
|
-
headers: Record<string, string>;
|
|
84
|
-
tokenId: string;
|
|
85
|
-
}, {
|
|
86
|
-
type: "trigger";
|
|
87
|
-
url: string;
|
|
88
|
-
headers: Record<string, string>;
|
|
89
|
-
tokenId: string;
|
|
90
|
-
}>;
|
|
91
|
-
declare const handlerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
declare const handlerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
73
|
type: z.ZodLiteral<"webhook">;
|
|
93
|
-
url: z.
|
|
74
|
+
url: z.ZodString;
|
|
94
75
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
url: string;
|
|
98
|
-
headers: Record<string, string>;
|
|
99
|
-
}, {
|
|
100
|
-
type: "webhook";
|
|
101
|
-
url: string;
|
|
102
|
-
headers: Record<string, string>;
|
|
103
|
-
}>, z.ZodObject<{
|
|
104
|
-
url: z.ZodEffects<z.ZodString, string, string>;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
url: z.ZodString;
|
|
105
78
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
106
|
-
} & {
|
|
107
79
|
type: z.ZodLiteral<"trigger">;
|
|
108
80
|
tokenId: z.ZodString;
|
|
109
|
-
},
|
|
110
|
-
type: "trigger";
|
|
111
|
-
url: string;
|
|
112
|
-
headers: Record<string, string>;
|
|
113
|
-
tokenId: string;
|
|
114
|
-
}, {
|
|
115
|
-
type: "trigger";
|
|
116
|
-
url: string;
|
|
117
|
-
headers: Record<string, string>;
|
|
118
|
-
tokenId: string;
|
|
119
|
-
}>]>;
|
|
81
|
+
}, z.core.$strip>], "type">;
|
|
120
82
|
declare const taskActionSchema: z.ZodObject<{
|
|
121
83
|
id: z.ZodString;
|
|
122
84
|
title: z.ZodString;
|
|
123
85
|
description: z.ZodOptional<z.ZodString>;
|
|
124
|
-
schema: z.ZodOptional<z.
|
|
125
|
-
ui: z.ZodOptional<z.
|
|
86
|
+
schema: z.ZodOptional<z.ZodCustom<ExtendedJSONSchema7, ExtendedJSONSchema7>>;
|
|
87
|
+
ui: z.ZodOptional<z.ZodCustom<UiSchema, UiSchema>>;
|
|
126
88
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
|
-
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<
|
|
89
|
+
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
90
|
type: z.ZodLiteral<"webhook">;
|
|
129
|
-
url: z.
|
|
91
|
+
url: z.ZodString;
|
|
130
92
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
url: string;
|
|
134
|
-
headers: Record<string, string>;
|
|
135
|
-
}, {
|
|
136
|
-
type: "webhook";
|
|
137
|
-
url: string;
|
|
138
|
-
headers: Record<string, string>;
|
|
139
|
-
}>, z.ZodObject<{
|
|
140
|
-
url: z.ZodEffects<z.ZodString, string, string>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
+
url: z.ZodString;
|
|
141
95
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
142
|
-
} & {
|
|
143
96
|
type: z.ZodLiteral<"trigger">;
|
|
144
97
|
tokenId: z.ZodString;
|
|
145
|
-
},
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
headers: Record<string, string>;
|
|
149
|
-
tokenId: string;
|
|
150
|
-
}, {
|
|
151
|
-
type: "trigger";
|
|
152
|
-
url: string;
|
|
153
|
-
headers: Record<string, string>;
|
|
154
|
-
tokenId: string;
|
|
155
|
-
}>]>, "many">>;
|
|
156
|
-
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
id: string;
|
|
158
|
-
title: string;
|
|
159
|
-
data?: Record<string, unknown> | undefined;
|
|
160
|
-
description?: string | undefined;
|
|
161
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
162
|
-
ui?: UiSchema | undefined;
|
|
163
|
-
handlers?: ({
|
|
164
|
-
type: "webhook";
|
|
165
|
-
url: string;
|
|
166
|
-
headers: Record<string, string>;
|
|
167
|
-
} | {
|
|
168
|
-
type: "trigger";
|
|
169
|
-
url: string;
|
|
170
|
-
headers: Record<string, string>;
|
|
171
|
-
tokenId: string;
|
|
172
|
-
})[] | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
id: string;
|
|
175
|
-
title: string;
|
|
176
|
-
data?: Record<string, unknown> | undefined;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
179
|
-
ui?: UiSchema | undefined;
|
|
180
|
-
handlers?: ({
|
|
181
|
-
type: "webhook";
|
|
182
|
-
url: string;
|
|
183
|
-
headers: Record<string, string>;
|
|
184
|
-
} | {
|
|
185
|
-
type: "trigger";
|
|
186
|
-
url: string;
|
|
187
|
-
headers: Record<string, string>;
|
|
188
|
-
tokenId: string;
|
|
189
|
-
})[] | undefined;
|
|
190
|
-
}>;
|
|
191
|
-
declare const taskContextSchema: z.ZodEffects<z.ZodObject<{
|
|
98
|
+
}, z.core.$strip>], "type">>>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
declare const taskContextSchema: z.ZodObject<{
|
|
192
101
|
app: z.ZodOptional<z.ZodString>;
|
|
193
102
|
type: z.ZodString;
|
|
194
103
|
name: z.ZodString;
|
|
@@ -196,223 +105,36 @@ declare const taskContextSchema: z.ZodEffects<z.ZodObject<{
|
|
|
196
105
|
validUntil: z.ZodOptional<z.ZodString>;
|
|
197
106
|
context: z.ZodOptional<z.ZodObject<{
|
|
198
107
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
-
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Record<string, unknown>, z.
|
|
200
|
-
},
|
|
201
|
-
data: Record<string, unknown>;
|
|
202
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
203
|
-
}, {
|
|
204
|
-
data: Record<string, unknown>;
|
|
205
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
206
|
-
}>>;
|
|
108
|
+
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
207
110
|
version: z.ZodOptional<z.ZodLiteral<2>>;
|
|
208
111
|
actions: z.ZodArray<z.ZodObject<{
|
|
209
112
|
id: z.ZodString;
|
|
210
113
|
title: z.ZodString;
|
|
211
114
|
description: z.ZodOptional<z.ZodString>;
|
|
212
|
-
schema: z.ZodOptional<z.
|
|
213
|
-
ui: z.ZodOptional<z.
|
|
115
|
+
schema: z.ZodOptional<z.ZodCustom<ExtendedJSONSchema7, ExtendedJSONSchema7>>;
|
|
116
|
+
ui: z.ZodOptional<z.ZodCustom<UiSchema, UiSchema>>;
|
|
214
117
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
215
|
-
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<
|
|
118
|
+
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
216
119
|
type: z.ZodLiteral<"webhook">;
|
|
217
|
-
url: z.
|
|
120
|
+
url: z.ZodString;
|
|
218
121
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
url: string;
|
|
222
|
-
headers: Record<string, string>;
|
|
223
|
-
}, {
|
|
224
|
-
type: "webhook";
|
|
225
|
-
url: string;
|
|
226
|
-
headers: Record<string, string>;
|
|
227
|
-
}>, z.ZodObject<{
|
|
228
|
-
url: z.ZodEffects<z.ZodString, string, string>;
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
url: z.ZodString;
|
|
229
124
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
230
|
-
} & {
|
|
231
125
|
type: z.ZodLiteral<"trigger">;
|
|
232
126
|
tokenId: z.ZodString;
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
headers: Record<string, string>;
|
|
237
|
-
tokenId: string;
|
|
238
|
-
}, {
|
|
239
|
-
type: "trigger";
|
|
240
|
-
url: string;
|
|
241
|
-
headers: Record<string, string>;
|
|
242
|
-
tokenId: string;
|
|
243
|
-
}>]>, "many">>;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
id: string;
|
|
246
|
-
title: string;
|
|
247
|
-
data?: Record<string, unknown> | undefined;
|
|
248
|
-
description?: string | undefined;
|
|
249
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
250
|
-
ui?: UiSchema | undefined;
|
|
251
|
-
handlers?: ({
|
|
252
|
-
type: "webhook";
|
|
253
|
-
url: string;
|
|
254
|
-
headers: Record<string, string>;
|
|
255
|
-
} | {
|
|
256
|
-
type: "trigger";
|
|
257
|
-
url: string;
|
|
258
|
-
headers: Record<string, string>;
|
|
259
|
-
tokenId: string;
|
|
260
|
-
})[] | undefined;
|
|
261
|
-
}, {
|
|
262
|
-
id: string;
|
|
263
|
-
title: string;
|
|
264
|
-
data?: Record<string, unknown> | undefined;
|
|
265
|
-
description?: string | undefined;
|
|
266
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
267
|
-
ui?: UiSchema | undefined;
|
|
268
|
-
handlers?: ({
|
|
269
|
-
type: "webhook";
|
|
270
|
-
url: string;
|
|
271
|
-
headers: Record<string, string>;
|
|
272
|
-
} | {
|
|
273
|
-
type: "trigger";
|
|
274
|
-
url: string;
|
|
275
|
-
headers: Record<string, string>;
|
|
276
|
-
tokenId: string;
|
|
277
|
-
})[] | undefined;
|
|
278
|
-
}>, "many">;
|
|
279
|
-
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
type: string;
|
|
281
|
-
name: string;
|
|
282
|
-
actions: {
|
|
283
|
-
id: string;
|
|
284
|
-
title: string;
|
|
285
|
-
data?: Record<string, unknown> | undefined;
|
|
286
|
-
description?: string | undefined;
|
|
287
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
288
|
-
ui?: UiSchema | undefined;
|
|
289
|
-
handlers?: ({
|
|
290
|
-
type: "webhook";
|
|
291
|
-
url: string;
|
|
292
|
-
headers: Record<string, string>;
|
|
293
|
-
} | {
|
|
294
|
-
type: "trigger";
|
|
295
|
-
url: string;
|
|
296
|
-
headers: Record<string, string>;
|
|
297
|
-
tokenId: string;
|
|
298
|
-
})[] | undefined;
|
|
299
|
-
}[];
|
|
300
|
-
description?: string | undefined;
|
|
301
|
-
app?: string | undefined;
|
|
302
|
-
validUntil?: string | undefined;
|
|
303
|
-
context?: {
|
|
304
|
-
data: Record<string, unknown>;
|
|
305
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
version?: 2 | undefined;
|
|
308
|
-
}, {
|
|
309
|
-
type: string;
|
|
310
|
-
name: string;
|
|
311
|
-
actions: {
|
|
312
|
-
id: string;
|
|
313
|
-
title: string;
|
|
314
|
-
data?: Record<string, unknown> | undefined;
|
|
315
|
-
description?: string | undefined;
|
|
316
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
317
|
-
ui?: UiSchema | undefined;
|
|
318
|
-
handlers?: ({
|
|
319
|
-
type: "webhook";
|
|
320
|
-
url: string;
|
|
321
|
-
headers: Record<string, string>;
|
|
322
|
-
} | {
|
|
323
|
-
type: "trigger";
|
|
324
|
-
url: string;
|
|
325
|
-
headers: Record<string, string>;
|
|
326
|
-
tokenId: string;
|
|
327
|
-
})[] | undefined;
|
|
328
|
-
}[];
|
|
329
|
-
description?: string | undefined;
|
|
330
|
-
app?: string | undefined;
|
|
331
|
-
validUntil?: string | undefined;
|
|
332
|
-
context?: {
|
|
333
|
-
data: Record<string, unknown>;
|
|
334
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
335
|
-
} | undefined;
|
|
336
|
-
version?: 2 | undefined;
|
|
337
|
-
}>, {
|
|
338
|
-
type: string;
|
|
339
|
-
name: string;
|
|
340
|
-
actions: {
|
|
341
|
-
id: string;
|
|
342
|
-
title: string;
|
|
343
|
-
data?: Record<string, unknown> | undefined;
|
|
344
|
-
description?: string | undefined;
|
|
345
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
346
|
-
ui?: UiSchema | undefined;
|
|
347
|
-
handlers?: ({
|
|
348
|
-
type: "webhook";
|
|
349
|
-
url: string;
|
|
350
|
-
headers: Record<string, string>;
|
|
351
|
-
} | {
|
|
352
|
-
type: "trigger";
|
|
353
|
-
url: string;
|
|
354
|
-
headers: Record<string, string>;
|
|
355
|
-
tokenId: string;
|
|
356
|
-
})[] | undefined;
|
|
357
|
-
}[];
|
|
358
|
-
description?: string | undefined;
|
|
359
|
-
app?: string | undefined;
|
|
360
|
-
validUntil?: string | undefined;
|
|
361
|
-
context?: {
|
|
362
|
-
data: Record<string, unknown>;
|
|
363
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
364
|
-
} | undefined;
|
|
365
|
-
version?: 2 | undefined;
|
|
366
|
-
}, {
|
|
367
|
-
type: string;
|
|
368
|
-
name: string;
|
|
369
|
-
actions: {
|
|
370
|
-
id: string;
|
|
371
|
-
title: string;
|
|
372
|
-
data?: Record<string, unknown> | undefined;
|
|
373
|
-
description?: string | undefined;
|
|
374
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
375
|
-
ui?: UiSchema | undefined;
|
|
376
|
-
handlers?: ({
|
|
377
|
-
type: "webhook";
|
|
378
|
-
url: string;
|
|
379
|
-
headers: Record<string, string>;
|
|
380
|
-
} | {
|
|
381
|
-
type: "trigger";
|
|
382
|
-
url: string;
|
|
383
|
-
headers: Record<string, string>;
|
|
384
|
-
tokenId: string;
|
|
385
|
-
})[] | undefined;
|
|
386
|
-
}[];
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
app?: string | undefined;
|
|
389
|
-
validUntil?: string | undefined;
|
|
390
|
-
context?: {
|
|
391
|
-
data: Record<string, unknown>;
|
|
392
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
393
|
-
} | undefined;
|
|
394
|
-
version?: 2 | undefined;
|
|
395
|
-
}>;
|
|
127
|
+
}, z.core.$strip>], "type">>>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
}, z.core.$strip>;
|
|
396
130
|
/**
|
|
397
131
|
* Assignment targets at task create (not stored in task context JSON).
|
|
398
|
-
* Unknown user emails are auto-provisioned as assignee memberships (
|
|
132
|
+
* Unknown user emails are auto-provisioned as assignee memberships (count toward seat limits).
|
|
399
133
|
*/
|
|
400
|
-
declare const assignToSchema: z.
|
|
401
|
-
users: z.ZodOptional<z.ZodArray<z.ZodString
|
|
402
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString
|
|
403
|
-
},
|
|
404
|
-
users?: string[] | undefined;
|
|
405
|
-
groups?: string[] | undefined;
|
|
406
|
-
}, {
|
|
407
|
-
users?: string[] | undefined;
|
|
408
|
-
groups?: string[] | undefined;
|
|
409
|
-
}>, {
|
|
410
|
-
users?: string[] | undefined;
|
|
411
|
-
groups?: string[] | undefined;
|
|
412
|
-
}, {
|
|
413
|
-
users?: string[] | undefined;
|
|
414
|
-
groups?: string[] | undefined;
|
|
415
|
-
}>;
|
|
134
|
+
declare const assignToSchema: z.ZodObject<{
|
|
135
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
416
138
|
/** A short thread-scoped status update message (1-2 sentences). */
|
|
417
139
|
declare const threadUpdateMessageSchema: z.ZodString;
|
|
418
140
|
/**
|
|
@@ -420,28 +142,71 @@ declare const threadUpdateMessageSchema: z.ZodString;
|
|
|
420
142
|
* in the inbox status bar. Defaults to `info` when omitted.
|
|
421
143
|
*/
|
|
422
144
|
declare const threadUpdateStatuses: readonly ["info", "queued", "running", "waiting", "succeeded", "failed", "cancelled"];
|
|
423
|
-
declare const threadUpdateStatusSchema: z.ZodEnum<
|
|
145
|
+
declare const threadUpdateStatusSchema: z.ZodEnum<{
|
|
146
|
+
info: "info";
|
|
147
|
+
queued: "queued";
|
|
148
|
+
running: "running";
|
|
149
|
+
waiting: "waiting";
|
|
150
|
+
succeeded: "succeeded";
|
|
151
|
+
failed: "failed";
|
|
152
|
+
cancelled: "cancelled";
|
|
153
|
+
}>;
|
|
424
154
|
/** The default status applied when an update omits one. */
|
|
425
155
|
declare const DEFAULT_THREAD_UPDATE_STATUS: ThreadUpdateStatus;
|
|
426
156
|
/** Shared shape for a thread update (standalone and at task creation). */
|
|
427
157
|
declare const threadUpdateInputSchema: z.ZodObject<{
|
|
428
158
|
message: z.ZodString;
|
|
429
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
159
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
info: "info";
|
|
161
|
+
queued: "queued";
|
|
162
|
+
running: "running";
|
|
163
|
+
waiting: "waiting";
|
|
164
|
+
succeeded: "succeeded";
|
|
165
|
+
failed: "failed";
|
|
166
|
+
cancelled: "cancelled";
|
|
167
|
+
}>>;
|
|
168
|
+
}, z.core.$strip>;
|
|
437
169
|
/** Thread priority levels for inbox ordering and display. */
|
|
438
170
|
declare const taskPriorities: readonly ["low", "normal", "high", "urgent"];
|
|
439
|
-
declare const taskPrioritySchema: z.ZodEnum<
|
|
171
|
+
declare const taskPrioritySchema: z.ZodEnum<{
|
|
172
|
+
low: "low";
|
|
173
|
+
normal: "normal";
|
|
174
|
+
high: "high";
|
|
175
|
+
urgent: "urgent";
|
|
176
|
+
}>;
|
|
440
177
|
type TaskPriority = (typeof taskPriorities)[number];
|
|
441
178
|
declare const DEFAULT_TASK_PRIORITY: TaskPriority;
|
|
442
179
|
declare const LOWEST_TASK_PRIORITY: TaskPriority;
|
|
443
180
|
declare const TASK_PRIORITY_RANK: Record<TaskPriority, number>;
|
|
444
|
-
declare const
|
|
181
|
+
declare const agentCostTokensSchema: z.ZodObject<{
|
|
182
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
declare const agentCostSchema: z.ZodObject<{
|
|
187
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
188
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
eur: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
usd: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
declare const agentTelemetrySchema: z.ZodObject<{
|
|
196
|
+
version: z.ZodOptional<z.ZodString>;
|
|
197
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
eur: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
usd: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
declare const createTaskBodySchema: z.ZodObject<{
|
|
445
210
|
app: z.ZodOptional<z.ZodString>;
|
|
446
211
|
type: z.ZodString;
|
|
447
212
|
name: z.ZodString;
|
|
@@ -449,295 +214,78 @@ declare const createTaskBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
449
214
|
validUntil: z.ZodOptional<z.ZodString>;
|
|
450
215
|
context: z.ZodOptional<z.ZodObject<{
|
|
451
216
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
452
|
-
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Record<string, unknown>, z.
|
|
453
|
-
},
|
|
454
|
-
data: Record<string, unknown>;
|
|
455
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
456
|
-
}, {
|
|
457
|
-
data: Record<string, unknown>;
|
|
458
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
459
|
-
}>>;
|
|
217
|
+
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
460
219
|
version: z.ZodOptional<z.ZodLiteral<2>>;
|
|
461
220
|
actions: z.ZodArray<z.ZodObject<{
|
|
462
221
|
id: z.ZodString;
|
|
463
222
|
title: z.ZodString;
|
|
464
223
|
description: z.ZodOptional<z.ZodString>;
|
|
465
|
-
schema: z.ZodOptional<z.
|
|
466
|
-
ui: z.ZodOptional<z.
|
|
224
|
+
schema: z.ZodOptional<z.ZodCustom<ExtendedJSONSchema7, ExtendedJSONSchema7>>;
|
|
225
|
+
ui: z.ZodOptional<z.ZodCustom<UiSchema, UiSchema>>;
|
|
467
226
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
468
|
-
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<
|
|
227
|
+
handlers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
469
228
|
type: z.ZodLiteral<"webhook">;
|
|
470
|
-
url: z.
|
|
229
|
+
url: z.ZodString;
|
|
471
230
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
472
|
-
},
|
|
473
|
-
|
|
474
|
-
url: string;
|
|
475
|
-
headers: Record<string, string>;
|
|
476
|
-
}, {
|
|
477
|
-
type: "webhook";
|
|
478
|
-
url: string;
|
|
479
|
-
headers: Record<string, string>;
|
|
480
|
-
}>, z.ZodObject<{
|
|
481
|
-
url: z.ZodEffects<z.ZodString, string, string>;
|
|
231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
232
|
+
url: z.ZodString;
|
|
482
233
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
483
|
-
} & {
|
|
484
234
|
type: z.ZodLiteral<"trigger">;
|
|
485
235
|
tokenId: z.ZodString;
|
|
486
|
-
},
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
type: "trigger";
|
|
493
|
-
url: string;
|
|
494
|
-
headers: Record<string, string>;
|
|
495
|
-
tokenId: string;
|
|
496
|
-
}>]>, "many">>;
|
|
497
|
-
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
id: string;
|
|
499
|
-
title: string;
|
|
500
|
-
data?: Record<string, unknown> | undefined;
|
|
501
|
-
description?: string | undefined;
|
|
502
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
503
|
-
ui?: UiSchema | undefined;
|
|
504
|
-
handlers?: ({
|
|
505
|
-
type: "webhook";
|
|
506
|
-
url: string;
|
|
507
|
-
headers: Record<string, string>;
|
|
508
|
-
} | {
|
|
509
|
-
type: "trigger";
|
|
510
|
-
url: string;
|
|
511
|
-
headers: Record<string, string>;
|
|
512
|
-
tokenId: string;
|
|
513
|
-
})[] | undefined;
|
|
514
|
-
}, {
|
|
515
|
-
id: string;
|
|
516
|
-
title: string;
|
|
517
|
-
data?: Record<string, unknown> | undefined;
|
|
518
|
-
description?: string | undefined;
|
|
519
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
520
|
-
ui?: UiSchema | undefined;
|
|
521
|
-
handlers?: ({
|
|
522
|
-
type: "webhook";
|
|
523
|
-
url: string;
|
|
524
|
-
headers: Record<string, string>;
|
|
525
|
-
} | {
|
|
526
|
-
type: "trigger";
|
|
527
|
-
url: string;
|
|
528
|
-
headers: Record<string, string>;
|
|
529
|
-
tokenId: string;
|
|
530
|
-
})[] | undefined;
|
|
531
|
-
}>, "many">;
|
|
532
|
-
} & {
|
|
533
|
-
assignTo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
534
|
-
users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
535
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
536
|
-
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
users?: string[] | undefined;
|
|
538
|
-
groups?: string[] | undefined;
|
|
539
|
-
}, {
|
|
540
|
-
users?: string[] | undefined;
|
|
541
|
-
groups?: string[] | undefined;
|
|
542
|
-
}>, {
|
|
543
|
-
users?: string[] | undefined;
|
|
544
|
-
groups?: string[] | undefined;
|
|
545
|
-
}, {
|
|
546
|
-
users?: string[] | undefined;
|
|
547
|
-
groups?: string[] | undefined;
|
|
548
|
-
}>>;
|
|
549
|
-
/**
|
|
550
|
-
* Groups related tasks together. When omitted, the server generates one and
|
|
551
|
-
* returns it so the caller can reuse it on later tasks in the same thread.
|
|
552
|
-
*/
|
|
236
|
+
}, z.core.$strip>], "type">>>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
assignTo: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
240
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
553
242
|
threadId: z.ZodOptional<z.ZodString>;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
* Optional initial status update logged against the task's thread. Shows in
|
|
561
|
-
* the inbox status bar and the thread update log.
|
|
562
|
-
*/
|
|
243
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
244
|
+
low: "low";
|
|
245
|
+
normal: "normal";
|
|
246
|
+
high: "high";
|
|
247
|
+
urgent: "urgent";
|
|
248
|
+
}>>;
|
|
563
249
|
update: z.ZodOptional<z.ZodObject<{
|
|
564
250
|
message: z.ZodString;
|
|
565
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
headers: Record<string, string>;
|
|
591
|
-
tokenId: string;
|
|
592
|
-
})[] | undefined;
|
|
593
|
-
}[];
|
|
594
|
-
description?: string | undefined;
|
|
595
|
-
app?: string | undefined;
|
|
596
|
-
validUntil?: string | undefined;
|
|
597
|
-
context?: {
|
|
598
|
-
data: Record<string, unknown>;
|
|
599
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
600
|
-
} | undefined;
|
|
601
|
-
version?: 2 | undefined;
|
|
602
|
-
assignTo?: {
|
|
603
|
-
users?: string[] | undefined;
|
|
604
|
-
groups?: string[] | undefined;
|
|
605
|
-
} | undefined;
|
|
606
|
-
threadId?: string | undefined;
|
|
607
|
-
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
608
|
-
update?: {
|
|
609
|
-
message: string;
|
|
610
|
-
status?: "info" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
611
|
-
} | undefined;
|
|
612
|
-
}, {
|
|
613
|
-
type: string;
|
|
614
|
-
name: string;
|
|
615
|
-
actions: {
|
|
616
|
-
id: string;
|
|
617
|
-
title: string;
|
|
618
|
-
data?: Record<string, unknown> | undefined;
|
|
619
|
-
description?: string | undefined;
|
|
620
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
621
|
-
ui?: UiSchema | undefined;
|
|
622
|
-
handlers?: ({
|
|
623
|
-
type: "webhook";
|
|
624
|
-
url: string;
|
|
625
|
-
headers: Record<string, string>;
|
|
626
|
-
} | {
|
|
627
|
-
type: "trigger";
|
|
628
|
-
url: string;
|
|
629
|
-
headers: Record<string, string>;
|
|
630
|
-
tokenId: string;
|
|
631
|
-
})[] | undefined;
|
|
632
|
-
}[];
|
|
633
|
-
description?: string | undefined;
|
|
634
|
-
app?: string | undefined;
|
|
635
|
-
validUntil?: string | undefined;
|
|
636
|
-
context?: {
|
|
637
|
-
data: Record<string, unknown>;
|
|
638
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
639
|
-
} | undefined;
|
|
640
|
-
version?: 2 | undefined;
|
|
641
|
-
assignTo?: {
|
|
642
|
-
users?: string[] | undefined;
|
|
643
|
-
groups?: string[] | undefined;
|
|
644
|
-
} | undefined;
|
|
645
|
-
threadId?: string | undefined;
|
|
646
|
-
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
647
|
-
update?: {
|
|
648
|
-
message: string;
|
|
649
|
-
status?: "info" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
650
|
-
} | undefined;
|
|
651
|
-
}>, {
|
|
652
|
-
type: string;
|
|
653
|
-
name: string;
|
|
654
|
-
actions: {
|
|
655
|
-
id: string;
|
|
656
|
-
title: string;
|
|
657
|
-
data?: Record<string, unknown> | undefined;
|
|
658
|
-
description?: string | undefined;
|
|
659
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
660
|
-
ui?: UiSchema | undefined;
|
|
661
|
-
handlers?: ({
|
|
662
|
-
type: "webhook";
|
|
663
|
-
url: string;
|
|
664
|
-
headers: Record<string, string>;
|
|
665
|
-
} | {
|
|
666
|
-
type: "trigger";
|
|
667
|
-
url: string;
|
|
668
|
-
headers: Record<string, string>;
|
|
669
|
-
tokenId: string;
|
|
670
|
-
})[] | undefined;
|
|
671
|
-
}[];
|
|
672
|
-
description?: string | undefined;
|
|
673
|
-
app?: string | undefined;
|
|
674
|
-
validUntil?: string | undefined;
|
|
675
|
-
context?: {
|
|
676
|
-
data: Record<string, unknown>;
|
|
677
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
678
|
-
} | undefined;
|
|
679
|
-
version?: 2 | undefined;
|
|
680
|
-
assignTo?: {
|
|
681
|
-
users?: string[] | undefined;
|
|
682
|
-
groups?: string[] | undefined;
|
|
683
|
-
} | undefined;
|
|
684
|
-
threadId?: string | undefined;
|
|
685
|
-
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
686
|
-
update?: {
|
|
687
|
-
message: string;
|
|
688
|
-
status?: "info" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
689
|
-
} | undefined;
|
|
690
|
-
}, {
|
|
691
|
-
type: string;
|
|
692
|
-
name: string;
|
|
693
|
-
actions: {
|
|
694
|
-
id: string;
|
|
695
|
-
title: string;
|
|
696
|
-
data?: Record<string, unknown> | undefined;
|
|
697
|
-
description?: string | undefined;
|
|
698
|
-
schema?: ExtendedJSONSchema7 | undefined;
|
|
699
|
-
ui?: UiSchema | undefined;
|
|
700
|
-
handlers?: ({
|
|
701
|
-
type: "webhook";
|
|
702
|
-
url: string;
|
|
703
|
-
headers: Record<string, string>;
|
|
704
|
-
} | {
|
|
705
|
-
type: "trigger";
|
|
706
|
-
url: string;
|
|
707
|
-
headers: Record<string, string>;
|
|
708
|
-
tokenId: string;
|
|
709
|
-
})[] | undefined;
|
|
710
|
-
}[];
|
|
711
|
-
description?: string | undefined;
|
|
712
|
-
app?: string | undefined;
|
|
713
|
-
validUntil?: string | undefined;
|
|
714
|
-
context?: {
|
|
715
|
-
data: Record<string, unknown>;
|
|
716
|
-
ui?: Record<string, Record<string, unknown>> | undefined;
|
|
717
|
-
} | undefined;
|
|
718
|
-
version?: 2 | undefined;
|
|
719
|
-
assignTo?: {
|
|
720
|
-
users?: string[] | undefined;
|
|
721
|
-
groups?: string[] | undefined;
|
|
722
|
-
} | undefined;
|
|
723
|
-
threadId?: string | undefined;
|
|
724
|
-
priority?: "low" | "normal" | "high" | "urgent" | undefined;
|
|
725
|
-
update?: {
|
|
726
|
-
message: string;
|
|
727
|
-
status?: "info" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
728
|
-
} | undefined;
|
|
729
|
-
}>;
|
|
251
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
252
|
+
info: "info";
|
|
253
|
+
queued: "queued";
|
|
254
|
+
running: "running";
|
|
255
|
+
waiting: "waiting";
|
|
256
|
+
succeeded: "succeeded";
|
|
257
|
+
failed: "failed";
|
|
258
|
+
cancelled: "cancelled";
|
|
259
|
+
}>>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
261
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
version: z.ZodOptional<z.ZodString>;
|
|
263
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
264
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
265
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
}, z.core.$strip>>;
|
|
270
|
+
eur: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
usd: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
}, z.core.$strip>>;
|
|
273
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
274
|
+
}, z.core.$strip>>;
|
|
275
|
+
}, z.core.$strip>;
|
|
730
276
|
/** POST /v1/threads/:threadId/updates body: a standalone thread update. */
|
|
731
277
|
declare const threadUpdateBodySchema: z.ZodObject<{
|
|
732
278
|
message: z.ZodString;
|
|
733
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
279
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
280
|
+
info: "info";
|
|
281
|
+
queued: "queued";
|
|
282
|
+
running: "running";
|
|
283
|
+
waiting: "waiting";
|
|
284
|
+
succeeded: "succeeded";
|
|
285
|
+
failed: "failed";
|
|
286
|
+
cancelled: "cancelled";
|
|
287
|
+
}>>;
|
|
288
|
+
}, z.core.$strip>;
|
|
741
289
|
/** Where a thread update originated. */
|
|
742
290
|
type ThreadUpdateSource = "api" | "task_create" | "dashboard";
|
|
743
291
|
/** Lifecycle status carried by a thread update. */
|
|
@@ -764,6 +312,10 @@ type TaskAction = z.infer<typeof taskActionSchema>;
|
|
|
764
312
|
type WebhookHandler = z.infer<typeof webhookHandlerSchema>;
|
|
765
313
|
type TriggerHandler = z.infer<typeof triggerHandlerSchema>;
|
|
766
314
|
type Handler = z.infer<typeof handlerSchema>;
|
|
315
|
+
type AgentCostTokens = z.infer<typeof agentCostTokensSchema>;
|
|
316
|
+
type AgentCost = z.infer<typeof agentCostSchema>;
|
|
317
|
+
type AgentTelemetry = z.infer<typeof agentTelemetrySchema>;
|
|
318
|
+
type AgentTelemetryInput = z.input<typeof agentTelemetrySchema>;
|
|
767
319
|
type InferObjectProperties<Props, Req extends PropertyKey> = Props extends Record<string, unknown> ? ({
|
|
768
320
|
[K in keyof Props as K extends Req ? K : never]-?: InferJsonSchema7<Props[K]>;
|
|
769
321
|
} & {
|
|
@@ -865,4 +417,4 @@ type DiscriminatedApprovalResult<TActions extends readonly {
|
|
|
865
417
|
} : never;
|
|
866
418
|
}[TupleElementIndices<TActions>];
|
|
867
419
|
|
|
868
|
-
export { type ApprovalResult, type AssignToInput, type CreateTaskBody, type CreateTaskBodyInput, DEFAULT_TASK_PRIORITY, DEFAULT_THREAD_UPDATE_STATUS, type DiscriminatedApprovalResult, type ExtendedJSONSchema7, type Handler, type InferActionData, type InferJsonSchema7, type JSONSchema7, type JSONSchema7TypeName, LOWEST_TASK_PRIORITY, TASK_PRIORITY_RANK, type Task, type TaskAction, type TaskContext, type TaskContextInput, type TaskContextOutput, type TaskPriority, type TaskResponse, type TaskResult, type TaskStatus, type ThreadUpdate, type ThreadUpdateBody, type ThreadUpdateBodyInput, type ThreadUpdateInput, type ThreadUpdateResponse, type ThreadUpdateSource, type ThreadUpdateStatus, type TriggerHandler, type TupleElementIndices, type UiSchema, type WebhookHandler, assignToSchema, createTaskBodySchema, taskContextSchema, taskPriorities, taskPrioritySchema, threadUpdateBodySchema, threadUpdateInputSchema, threadUpdateMessageSchema, threadUpdateStatusSchema, threadUpdateStatuses };
|
|
420
|
+
export { type AgentCost, type AgentCostTokens, type AgentTelemetry, type AgentTelemetryInput, type ApprovalResult, type AssignToInput, type CreateTaskBody, type CreateTaskBodyInput, DEFAULT_TASK_PRIORITY, DEFAULT_THREAD_UPDATE_STATUS, type DiscriminatedApprovalResult, type ExtendedJSONSchema7, type Handler, type InferActionData, type InferJsonSchema7, type JSONSchema7, type JSONSchema7TypeName, LOWEST_TASK_PRIORITY, TASK_PRIORITY_RANK, type Task, type TaskAction, type TaskContext, type TaskContextInput, type TaskContextOutput, type TaskPriority, type TaskResponse, type TaskResult, type TaskStatus, type ThreadUpdate, type ThreadUpdateBody, type ThreadUpdateBodyInput, type ThreadUpdateInput, type ThreadUpdateResponse, type ThreadUpdateSource, type ThreadUpdateStatus, type TriggerHandler, type TupleElementIndices, type UiSchema, type WebhookHandler, agentCostSchema, agentCostTokensSchema, agentTelemetrySchema, assignToSchema, createTaskBodySchema, taskContextSchema, taskPriorities, taskPrioritySchema, threadUpdateBodySchema, threadUpdateInputSchema, threadUpdateMessageSchema, threadUpdateStatusSchema, threadUpdateStatuses };
|