@requence/task 1.0.0-alpha.31 → 1.0.0-alpha.32
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 +6 -0
- package/build/chunk-y4v98p2s.js.map +1 -1
- package/build/cli.js.map +1 -1
- package/build/index.js +20 -4
- package/build/index.js.map +4 -4
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/validate.d.ts +3 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/NodeTree.d.ts +592 -58
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/command.d.ts +418 -44
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/index.d.ts +0 -1
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/nodeType.d.ts +246 -101
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/taskOptions.d.ts +1 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/treeNodes.d.ts +988 -100
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/update.d.ts +25 -0
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
- package/build/types/task/src/types.d.ts +2 -0
- package/build/types/task/src/types.d.ts.map +1 -1
- package/build/types/task/src/watchTasks.d.ts +6 -3
- package/build/types/task/src/watchTasks.d.ts.map +1 -1
- package/package.json +1 -1
- package/build/types/helpers/src/protocol/targetNodes.d.ts +0 -253
- package/build/types/helpers/src/protocol/targetNodes.d.ts.map +0 -1
- package/build/types/helpers/src/utils/types.d.ts +0 -4
- package/build/types/helpers/src/utils/types.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAQ1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAMZ,CAAA;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4I/B,CAAA;AACD,eAAO,MAAM,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CAAC,OAAO,cAAc,CAAC,CAAA;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod/v4';
|
|
|
2
2
|
declare const nodeInitUpdateSchema: z.ZodObject<{
|
|
3
3
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
4
4
|
id: z.ZodUUID;
|
|
5
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
5
6
|
node: z.ZodObject<{
|
|
6
7
|
id: z.ZodUUID;
|
|
7
8
|
type: z.ZodEnum<{
|
|
@@ -19,6 +20,7 @@ export type NodeInitUpdate = z.infer<typeof nodeInitUpdateSchema>;
|
|
|
19
20
|
declare const nodeStartUpdateSchema: z.ZodObject<{
|
|
20
21
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
21
22
|
id: z.ZodUUID;
|
|
23
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
22
24
|
node: z.ZodObject<{
|
|
23
25
|
id: z.ZodUUID;
|
|
24
26
|
type: z.ZodEnum<{
|
|
@@ -37,6 +39,7 @@ export type NodeStartUpdate = z.infer<typeof nodeStartUpdateSchema>;
|
|
|
37
39
|
declare const nodeErrorUpdateSchema: z.ZodObject<{
|
|
38
40
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
39
41
|
id: z.ZodUUID;
|
|
42
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
40
43
|
node: z.ZodObject<{
|
|
41
44
|
id: z.ZodUUID;
|
|
42
45
|
type: z.ZodEnum<{
|
|
@@ -54,6 +57,7 @@ export type NodeErrorUpdate = z.infer<typeof nodeErrorUpdateSchema>;
|
|
|
54
57
|
declare const nodeUpdateSchema: z.ZodObject<{
|
|
55
58
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
56
59
|
id: z.ZodUUID;
|
|
60
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
57
61
|
node: z.ZodObject<{
|
|
58
62
|
id: z.ZodUUID;
|
|
59
63
|
type: z.ZodEnum<{
|
|
@@ -72,6 +76,7 @@ export type NodeUpdate = z.infer<typeof nodeUpdateSchema>;
|
|
|
72
76
|
declare const nodeCallbackSchema: z.ZodObject<{
|
|
73
77
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
74
78
|
id: z.ZodUUID;
|
|
79
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
75
80
|
node: z.ZodObject<{
|
|
76
81
|
id: z.ZodUUID;
|
|
77
82
|
type: z.ZodEnum<{
|
|
@@ -101,6 +106,7 @@ export type NodeCallback = z.infer<typeof nodeCallbackSchema>;
|
|
|
101
106
|
declare const nodeEndUpdateSchema: z.ZodObject<{
|
|
102
107
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
103
108
|
id: z.ZodUUID;
|
|
109
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
104
110
|
node: z.ZodObject<{
|
|
105
111
|
id: z.ZodUUID;
|
|
106
112
|
type: z.ZodEnum<{
|
|
@@ -117,6 +123,7 @@ export type NodeEndUpdate = z.infer<typeof nodeEndUpdateSchema>;
|
|
|
117
123
|
declare const nodeDebugUpdateSchema: z.ZodObject<{
|
|
118
124
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
119
125
|
id: z.ZodUUID;
|
|
126
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
120
127
|
node: z.ZodObject<{
|
|
121
128
|
id: z.ZodUUID;
|
|
122
129
|
type: z.ZodEnum<{
|
|
@@ -141,6 +148,7 @@ export type NodeDebugUpdate = z.infer<typeof nodeDebugUpdateSchema>;
|
|
|
141
148
|
declare const nodeDeferUpdateSchema: z.ZodObject<{
|
|
142
149
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
143
150
|
id: z.ZodUUID;
|
|
151
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
144
152
|
node: z.ZodObject<{
|
|
145
153
|
id: z.ZodUUID;
|
|
146
154
|
type: z.ZodEnum<{
|
|
@@ -158,8 +166,10 @@ export type NodeDeferUpdate = z.infer<typeof nodeDeferUpdateSchema>;
|
|
|
158
166
|
declare const taskStartUpdateSchema: z.ZodObject<{
|
|
159
167
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
160
168
|
id: z.ZodUUID;
|
|
169
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
161
170
|
type: z.ZodLiteral<"TASK_START">;
|
|
162
171
|
parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
172
|
+
rootTaskId: z.ZodUUID;
|
|
163
173
|
taskId: z.ZodUUID;
|
|
164
174
|
nodeId: z.ZodUUID;
|
|
165
175
|
messageId: z.ZodUUID;
|
|
@@ -170,6 +180,7 @@ export type TaskStartUpdate = z.infer<typeof taskStartUpdateSchema>;
|
|
|
170
180
|
declare const taskErrorUpdateSchema: z.ZodObject<{
|
|
171
181
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
172
182
|
id: z.ZodUUID;
|
|
183
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
173
184
|
type: z.ZodLiteral<"TASK_ERROR">;
|
|
174
185
|
reason: z.ZodOptional<z.ZodString>;
|
|
175
186
|
}, z.core.$strip>;
|
|
@@ -177,6 +188,7 @@ export type TaskErrorUpdate = z.infer<typeof taskErrorUpdateSchema>;
|
|
|
177
188
|
declare const taskEndUpdateSchema: z.ZodObject<{
|
|
178
189
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
179
190
|
id: z.ZodUUID;
|
|
191
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
180
192
|
type: z.ZodLiteral<"TASK_END">;
|
|
181
193
|
exitName: z.ZodNullable<z.ZodString>;
|
|
182
194
|
result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -185,6 +197,7 @@ export type TaskEndUpdate = z.infer<typeof taskEndUpdateSchema>;
|
|
|
185
197
|
export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
186
198
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
187
199
|
id: z.ZodUUID;
|
|
200
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
188
201
|
node: z.ZodObject<{
|
|
189
202
|
id: z.ZodUUID;
|
|
190
203
|
type: z.ZodEnum<{
|
|
@@ -200,6 +213,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
200
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
201
214
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
202
215
|
id: z.ZodUUID;
|
|
216
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
203
217
|
node: z.ZodObject<{
|
|
204
218
|
id: z.ZodUUID;
|
|
205
219
|
type: z.ZodEnum<{
|
|
@@ -216,6 +230,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
216
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
231
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
218
232
|
id: z.ZodUUID;
|
|
233
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
219
234
|
node: z.ZodObject<{
|
|
220
235
|
id: z.ZodUUID;
|
|
221
236
|
type: z.ZodEnum<{
|
|
@@ -231,6 +246,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
231
246
|
}, z.core.$strip>, z.ZodObject<{
|
|
232
247
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
233
248
|
id: z.ZodUUID;
|
|
249
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
234
250
|
node: z.ZodObject<{
|
|
235
251
|
id: z.ZodUUID;
|
|
236
252
|
type: z.ZodEnum<{
|
|
@@ -247,6 +263,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
248
264
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
249
265
|
id: z.ZodUUID;
|
|
266
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
250
267
|
node: z.ZodObject<{
|
|
251
268
|
id: z.ZodUUID;
|
|
252
269
|
type: z.ZodEnum<{
|
|
@@ -274,6 +291,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
274
291
|
}, z.core.$strip>, z.ZodObject<{
|
|
275
292
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
276
293
|
id: z.ZodUUID;
|
|
294
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
277
295
|
node: z.ZodObject<{
|
|
278
296
|
id: z.ZodUUID;
|
|
279
297
|
type: z.ZodEnum<{
|
|
@@ -288,6 +306,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
288
306
|
}, z.core.$strip>, z.ZodObject<{
|
|
289
307
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
290
308
|
id: z.ZodUUID;
|
|
309
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
291
310
|
node: z.ZodObject<{
|
|
292
311
|
id: z.ZodUUID;
|
|
293
312
|
type: z.ZodEnum<{
|
|
@@ -310,6 +329,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
329
|
}, z.core.$strip>, z.ZodObject<{
|
|
311
330
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
312
331
|
id: z.ZodUUID;
|
|
332
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
313
333
|
node: z.ZodObject<{
|
|
314
334
|
id: z.ZodUUID;
|
|
315
335
|
type: z.ZodEnum<{
|
|
@@ -325,8 +345,10 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
325
345
|
}, z.core.$strip>, z.ZodObject<{
|
|
326
346
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
327
347
|
id: z.ZodUUID;
|
|
348
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
328
349
|
type: z.ZodLiteral<"TASK_START">;
|
|
329
350
|
parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
351
|
+
rootTaskId: z.ZodUUID;
|
|
330
352
|
taskId: z.ZodUUID;
|
|
331
353
|
nodeId: z.ZodUUID;
|
|
332
354
|
messageId: z.ZodUUID;
|
|
@@ -335,17 +357,20 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
335
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
336
358
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
337
359
|
id: z.ZodUUID;
|
|
360
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
338
361
|
type: z.ZodLiteral<"TASK_ERROR">;
|
|
339
362
|
reason: z.ZodOptional<z.ZodString>;
|
|
340
363
|
}, z.core.$strip>, z.ZodObject<{
|
|
341
364
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
342
365
|
id: z.ZodUUID;
|
|
366
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
343
367
|
type: z.ZodLiteral<"TASK_END">;
|
|
344
368
|
exitName: z.ZodNullable<z.ZodString>;
|
|
345
369
|
result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
346
370
|
}, z.core.$strip>, z.ZodObject<{
|
|
347
371
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
348
372
|
id: z.ZodUUID;
|
|
373
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
349
374
|
type: z.ZodLiteral<"TASK_ABORTED">;
|
|
350
375
|
reason: z.ZodOptional<z.ZodString>;
|
|
351
376
|
}, z.core.$strip>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAmB1B,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAGxB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;iBAIzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;iBAIpB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEzD,QAAA,MAAM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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -36,6 +36,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
36
36
|
updateId: z.ZodUUID;
|
|
37
37
|
type: z.ZodLiteral<"taskStart">;
|
|
38
38
|
input: z.ZodUnknown;
|
|
39
|
+
rootTaskId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
39
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
41
|
timestamp: z.ZodCoercedDate<unknown>;
|
|
41
42
|
taskId: z.ZodUUID;
|
|
@@ -148,6 +149,7 @@ export declare const eventSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
148
149
|
updateId: z.ZodUUID;
|
|
149
150
|
type: z.ZodLiteral<"taskStart">;
|
|
150
151
|
input: z.ZodUnknown;
|
|
152
|
+
rootTaskId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
151
153
|
}, z.core.$strip>, z.ZodObject<{
|
|
152
154
|
timestamp: z.ZodCoercedDate<unknown>;
|
|
153
155
|
taskId: z.ZodUUID;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,KAAK,QAAQ,CAAC,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN,KAAK,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,OAAO,SAAS,CAAC,GAC7C,CAAC,SAAS,OAAO,GACf,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,KAAK,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,GACvC,IAAI,SAAS,CAAC,GACZ,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAGH,CAAA;AAErB,eAAO,MAAM,cAAc,mEAMoB,CAAA"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { type Update } from './types.ts';
|
|
2
|
-
type
|
|
2
|
+
type WatchUpdate = Update<unknown> & {
|
|
3
3
|
incomplete: boolean;
|
|
4
4
|
updateId: string;
|
|
5
|
-
|
|
5
|
+
rootTaskId: string | null;
|
|
6
|
+
};
|
|
7
|
+
type TaskUpdateHandler = (update: WatchUpdate) => void;
|
|
6
8
|
interface WatchTasksOptions {
|
|
7
9
|
accessToken?: string;
|
|
8
10
|
since: Date;
|
|
9
11
|
onUpdate?: TaskUpdateHandler;
|
|
12
|
+
onError?: (status: number, reason?: string) => void;
|
|
10
13
|
onConnect?: () => void;
|
|
11
14
|
onReconnecting?: () => void;
|
|
12
15
|
}
|
|
13
|
-
export declare function watchTasks(options: WatchTasksOptions): (() => void) & AsyncIterable<
|
|
16
|
+
export declare function watchTasks(options: WatchTasksOptions): (() => void) & AsyncIterable<WatchUpdate>;
|
|
14
17
|
export {};
|
|
15
18
|
//# sourceMappingURL=watchTasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchTasks.d.ts","sourceRoot":"","sources":["../../../../src/watchTasks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,YAAY,CAAA;AAGrD,KAAK,
|
|
1
|
+
{"version":3,"file":"watchTasks.d.ts","sourceRoot":"","sources":["../../../../src/watchTasks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,YAAY,CAAA;AAGrD,KAAK,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG;IACnC,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAAA;AAED,KAAK,iBAAiB,GAAG,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAA;AAEtD,UAAU,iBAAiB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,IAAI,CAAA;IACX,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,6CAkJpD"}
|
package/package.json
CHANGED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod/v4';
|
|
2
|
-
export declare const targetNodesSchema: z.ZodPipe<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
4
|
-
type: z.ZodLiteral<"entry">;
|
|
5
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
6
|
-
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
7
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
9
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
10
|
-
target: z.ZodString;
|
|
11
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
12
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
13
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
14
|
-
target: string;
|
|
15
|
-
}, string | {
|
|
16
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
17
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
18
|
-
target: string;
|
|
19
|
-
}>>>>;
|
|
20
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
21
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
22
|
-
type: z.ZodLiteral<"service">;
|
|
23
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
24
|
-
inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
25
|
-
type: z.ZodLiteral<"object">;
|
|
26
|
-
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
27
|
-
type: z.ZodLiteral<"null">;
|
|
28
|
-
}, z.core.$strip>]>>;
|
|
29
|
-
name: z.ZodString;
|
|
30
|
-
version: z.ZodString;
|
|
31
|
-
configuration: z.ZodOptional<z.ZodAny>;
|
|
32
|
-
configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
33
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
retry: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
37
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
38
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
39
|
-
target: z.ZodString;
|
|
40
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
41
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
42
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
43
|
-
target: string;
|
|
44
|
-
}, string | {
|
|
45
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
46
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
47
|
-
target: string;
|
|
48
|
-
}>>>>;
|
|
49
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
51
|
-
type: z.ZodLiteral<"logic">;
|
|
52
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
53
|
-
script: z.ZodString;
|
|
54
|
-
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
-
language: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
javascript: "javascript";
|
|
57
|
-
python: "python";
|
|
58
|
-
typescript: "typescript";
|
|
59
|
-
}>>;
|
|
60
|
-
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
61
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
62
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
63
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
64
|
-
target: z.ZodString;
|
|
65
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
66
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
67
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
68
|
-
target: string;
|
|
69
|
-
}, string | {
|
|
70
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
71
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
72
|
-
target: string;
|
|
73
|
-
}>>>>;
|
|
74
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
76
|
-
type: z.ZodLiteral<"or">;
|
|
77
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
78
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
79
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
80
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
81
|
-
target: z.ZodString;
|
|
82
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
83
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
84
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
85
|
-
target: string;
|
|
86
|
-
}, string | {
|
|
87
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
88
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
89
|
-
target: string;
|
|
90
|
-
}>>>>;
|
|
91
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
92
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
93
|
-
type: z.ZodLiteral<"reference">;
|
|
94
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
95
|
-
reference: z.ZodString;
|
|
96
|
-
configuration: z.ZodOptional<z.ZodAny>;
|
|
97
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
98
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
99
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
100
|
-
target: z.ZodString;
|
|
101
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
102
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
103
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
104
|
-
target: string;
|
|
105
|
-
}, string | {
|
|
106
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
107
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
108
|
-
target: string;
|
|
109
|
-
}>>>>;
|
|
110
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
112
|
-
type: z.ZodLiteral<"exit">;
|
|
113
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
114
|
-
}, z.core.$strict>]>>, z.ZodTransform<{
|
|
115
|
-
nodes: ({
|
|
116
|
-
id: string;
|
|
117
|
-
type: "exit";
|
|
118
|
-
alias?: string | undefined;
|
|
119
|
-
} | {
|
|
120
|
-
id: string;
|
|
121
|
-
type: "entry";
|
|
122
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
123
|
-
outputs: {
|
|
124
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
125
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
126
|
-
}[];
|
|
127
|
-
alias?: string | undefined;
|
|
128
|
-
} | {
|
|
129
|
-
id: string;
|
|
130
|
-
type: "service";
|
|
131
|
-
inputSchema: ({
|
|
132
|
-
type: "object";
|
|
133
|
-
} & import("json-schema").JSONSchema7) | {
|
|
134
|
-
type: "null";
|
|
135
|
-
};
|
|
136
|
-
name: string;
|
|
137
|
-
version: string;
|
|
138
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
139
|
-
outputs: {
|
|
140
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
141
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
142
|
-
}[];
|
|
143
|
-
alias?: string | undefined;
|
|
144
|
-
configuration?: any;
|
|
145
|
-
ttl?: number | undefined;
|
|
146
|
-
retry?: number | undefined;
|
|
147
|
-
retryDelay?: number | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
id: string;
|
|
150
|
-
type: "logic";
|
|
151
|
-
script: string;
|
|
152
|
-
concurrency: boolean;
|
|
153
|
-
language: "javascript" | "python" | "typescript";
|
|
154
|
-
maxExecutionTime: number;
|
|
155
|
-
outputs: {
|
|
156
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
157
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
158
|
-
}[];
|
|
159
|
-
alias?: string | undefined;
|
|
160
|
-
} | {
|
|
161
|
-
id: string;
|
|
162
|
-
type: "or";
|
|
163
|
-
outputs: {
|
|
164
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
165
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
166
|
-
}[];
|
|
167
|
-
alias?: string | undefined;
|
|
168
|
-
} | {
|
|
169
|
-
id: string;
|
|
170
|
-
type: "reference";
|
|
171
|
-
reference: string;
|
|
172
|
-
outputs: {
|
|
173
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
174
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
175
|
-
}[];
|
|
176
|
-
alias?: string | undefined;
|
|
177
|
-
configuration?: any;
|
|
178
|
-
})[];
|
|
179
|
-
edges: {
|
|
180
|
-
source: string;
|
|
181
|
-
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
182
|
-
target: string;
|
|
183
|
-
}[];
|
|
184
|
-
}, ({
|
|
185
|
-
id: string;
|
|
186
|
-
type: "entry";
|
|
187
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
188
|
-
outputs: {
|
|
189
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
190
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
191
|
-
target: string;
|
|
192
|
-
}[];
|
|
193
|
-
alias?: string | undefined;
|
|
194
|
-
} | {
|
|
195
|
-
id: string;
|
|
196
|
-
type: "service";
|
|
197
|
-
inputSchema: ({
|
|
198
|
-
type: "object";
|
|
199
|
-
} & import("json-schema").JSONSchema7) | {
|
|
200
|
-
type: "null";
|
|
201
|
-
};
|
|
202
|
-
name: string;
|
|
203
|
-
version: string;
|
|
204
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
205
|
-
outputs: {
|
|
206
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
207
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
208
|
-
target: string;
|
|
209
|
-
}[];
|
|
210
|
-
alias?: string | undefined;
|
|
211
|
-
configuration?: any;
|
|
212
|
-
ttl?: number | undefined;
|
|
213
|
-
retry?: number | undefined;
|
|
214
|
-
retryDelay?: number | undefined;
|
|
215
|
-
} | {
|
|
216
|
-
id: string;
|
|
217
|
-
type: "logic";
|
|
218
|
-
script: string;
|
|
219
|
-
concurrency: boolean;
|
|
220
|
-
language: "javascript" | "python" | "typescript";
|
|
221
|
-
maxExecutionTime: number;
|
|
222
|
-
outputs: {
|
|
223
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
224
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
225
|
-
target: string;
|
|
226
|
-
}[];
|
|
227
|
-
alias?: string | undefined;
|
|
228
|
-
} | {
|
|
229
|
-
id: string;
|
|
230
|
-
type: "or";
|
|
231
|
-
outputs: {
|
|
232
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
233
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
234
|
-
target: string;
|
|
235
|
-
}[];
|
|
236
|
-
alias?: string | undefined;
|
|
237
|
-
} | {
|
|
238
|
-
id: string;
|
|
239
|
-
type: "reference";
|
|
240
|
-
reference: string;
|
|
241
|
-
outputs: {
|
|
242
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
243
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
244
|
-
target: string;
|
|
245
|
-
}[];
|
|
246
|
-
alias?: string | undefined;
|
|
247
|
-
configuration?: any;
|
|
248
|
-
} | {
|
|
249
|
-
id: string;
|
|
250
|
-
type: "exit";
|
|
251
|
-
alias?: string | undefined;
|
|
252
|
-
})[]>>;
|
|
253
|
-
//# sourceMappingURL=targetNodes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targetNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/targetNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAU1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwG3B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA"}
|