@requence/task 1.0.0-alpha.44 → 1.0.0-alpha.46

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/cli.js +7 -7
  3. package/build/cli.js.map +2 -2
  4. package/build/index.js +167 -131
  5. package/build/index.js.map +12 -11
  6. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -1
  7. package/build/types/helpers/src/index.d.ts +3 -2
  8. package/build/types/helpers/src/index.d.ts.map +1 -1
  9. package/build/types/helpers/src/jsonschema/zod.d.ts +1 -0
  10. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
  11. package/build/types/helpers/src/protocol/NodeTree.d.ts +37 -14
  12. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
  13. package/build/types/helpers/src/protocol/command.d.ts +8 -12
  14. package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
  15. package/build/types/helpers/src/protocol/nodeType.d.ts +4 -0
  16. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
  17. package/build/types/helpers/src/protocol/taskOptions.d.ts +0 -3
  18. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
  19. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +32 -0
  20. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -1
  21. package/build/types/helpers/src/protocol/treeNodes.d.ts +20 -6
  22. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
  23. package/build/types/helpers/src/protocol/update.d.ts +2 -0
  24. package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
  25. package/build/types/helpers/src/utils/debounce.d.ts +4 -0
  26. package/build/types/helpers/src/utils/debounce.d.ts.map +1 -0
  27. package/build/types/helpers/src/utils/guards.d.ts +3 -0
  28. package/build/types/helpers/src/utils/guards.d.ts.map +1 -0
  29. package/build/types/helpers/src/utils/obj.d.ts +4 -0
  30. package/build/types/helpers/src/utils/obj.d.ts.map +1 -0
  31. package/build/types/helpers/src/utils/requenceCallback.d.ts.map +1 -1
  32. package/build/types/helpers/src/utils/types.d.ts +3 -0
  33. package/build/types/helpers/src/utils/types.d.ts.map +1 -1
  34. package/build/types/task/src/createTask.d.ts +2 -1
  35. package/build/types/task/src/createTask.d.ts.map +1 -1
  36. package/build/types/task/src/getTask.d.ts +1 -0
  37. package/build/types/task/src/getTask.d.ts.map +1 -1
  38. package/build/types/task/src/index.d.ts +1 -0
  39. package/build/types/task/src/index.d.ts.map +1 -1
  40. package/build/types/task/src/protectTask.d.ts +7 -0
  41. package/build/types/task/src/protectTask.d.ts.map +1 -0
  42. package/build/types/task/src/types.d.ts +2 -1
  43. package/build/types/task/src/types.d.ts.map +1 -1
  44. package/package.json +3 -3
  45. package/build/types/helpers/src/utils/createRemotePromise.d.ts +0 -7
  46. package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +0 -1
  47. package/build/types/helpers/src/utils/isRecord.d.ts +0 -2
  48. package/build/types/helpers/src/utils/isRecord.d.ts.map +0 -1
@@ -17,9 +17,6 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
17
17
  input: z.ZodAny;
18
18
  options: z.ZodObject<{
19
19
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
20
- compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
21
- MCP_TOOL: "MCP_TOOL";
22
- }>>>;
23
20
  mode: z.ZodDefault<z.ZodEnum<{
24
21
  LINEAR: "LINEAR";
25
22
  CONTINUOUS: "CONTINUOUS";
@@ -84,6 +81,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
84
81
  id: string;
85
82
  type: "reference";
86
83
  reference: string;
84
+ enabled: boolean;
87
85
  inputSchema: ({
88
86
  type: "object";
89
87
  } & import("json-schema").JSONSchema7) | {
@@ -100,6 +98,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
100
98
  id: string;
101
99
  type: "exit";
102
100
  alias?: string | undefined;
101
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
103
102
  } | {
104
103
  id: string;
105
104
  type: "comment";
@@ -117,7 +116,6 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
117
116
  id: string;
118
117
  options: {
119
118
  maxExecutions: number;
120
- compliance: "MCP_TOOL" | null;
121
119
  mode: "LINEAR" | "CONTINUOUS";
122
120
  };
123
121
  tree: {
@@ -168,6 +166,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
168
166
  id: string;
169
167
  type: "reference";
170
168
  reference: string;
169
+ enabled: boolean;
171
170
  inputSchema: ({
172
171
  type: "object";
173
172
  } & import("json-schema").JSONSchema7) | {
@@ -184,6 +183,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
184
183
  id: string;
185
184
  type: "exit";
186
185
  alias?: string | undefined;
186
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
187
187
  } | {
188
188
  id: string;
189
189
  type: "comment";
@@ -204,7 +204,6 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
204
204
  input: any;
205
205
  options: {
206
206
  maxExecutions: number;
207
- compliance: "MCP_TOOL" | null;
208
207
  mode: "LINEAR" | "CONTINUOUS";
209
208
  priority: number;
210
209
  uploadUrl?: string | undefined;
@@ -229,7 +228,6 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
229
228
  input: any;
230
229
  options: {
231
230
  maxExecutions: number;
232
- compliance: "MCP_TOOL" | null;
233
231
  mode: "LINEAR" | "CONTINUOUS";
234
232
  priority: number;
235
233
  uploadUrl?: string | undefined;
@@ -259,9 +257,6 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
259
257
  input: z.ZodAny;
260
258
  options: z.ZodObject<{
261
259
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
262
- compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
263
- MCP_TOOL: "MCP_TOOL";
264
- }>>>;
265
260
  mode: z.ZodDefault<z.ZodEnum<{
266
261
  LINEAR: "LINEAR";
267
262
  CONTINUOUS: "CONTINUOUS";
@@ -326,6 +321,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
326
321
  id: string;
327
322
  type: "reference";
328
323
  reference: string;
324
+ enabled: boolean;
329
325
  inputSchema: ({
330
326
  type: "object";
331
327
  } & import("json-schema").JSONSchema7) | {
@@ -342,6 +338,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
342
338
  id: string;
343
339
  type: "exit";
344
340
  alias?: string | undefined;
341
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
345
342
  } | {
346
343
  id: string;
347
344
  type: "comment";
@@ -359,7 +356,6 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
359
356
  id: string;
360
357
  options: {
361
358
  maxExecutions: number;
362
- compliance: "MCP_TOOL" | null;
363
359
  mode: "LINEAR" | "CONTINUOUS";
364
360
  };
365
361
  tree: {
@@ -410,6 +406,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
410
406
  id: string;
411
407
  type: "reference";
412
408
  reference: string;
409
+ enabled: boolean;
413
410
  inputSchema: ({
414
411
  type: "object";
415
412
  } & import("json-schema").JSONSchema7) | {
@@ -426,6 +423,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
426
423
  id: string;
427
424
  type: "exit";
428
425
  alias?: string | undefined;
426
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
429
427
  } | {
430
428
  id: string;
431
429
  type: "comment";
@@ -446,7 +444,6 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
446
444
  input: any;
447
445
  options: {
448
446
  maxExecutions: number;
449
- compliance: "MCP_TOOL" | null;
450
447
  mode: "LINEAR" | "CONTINUOUS";
451
448
  priority: number;
452
449
  uploadUrl?: string | undefined;
@@ -471,7 +468,6 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
471
468
  input: any;
472
469
  options: {
473
470
  maxExecutions: number;
474
- compliance: "MCP_TOOL" | null;
475
471
  mode: "LINEAR" | "CONTINUOUS";
476
472
  priority: number;
477
473
  uploadUrl?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuB3B,CAAA;AAEL,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAqD,CAAA;AAC/E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAA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 export declare const referenceNodeSchema: z.ZodObject<{
59
59
  type: z.ZodLiteral<"reference">;
60
60
  alias: z.ZodOptional<z.ZodString>;
61
61
  reference: z.ZodString;
62
+ enabled: z.ZodBoolean;
62
63
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
63
64
  type: z.ZodLiteral<"object">;
64
65
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -76,6 +77,7 @@ export declare const exitNodeSchema: z.ZodObject<{
76
77
  id: z.ZodDefault<z.ZodUUID>;
77
78
  type: z.ZodLiteral<"exit">;
78
79
  alias: z.ZodOptional<z.ZodString>;
80
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
79
81
  }, z.core.$strict>;
80
82
  export type ExitNode = z.output<typeof exitNodeSchema>;
81
83
  export declare const commentNodeSchema: z.ZodObject<{
@@ -137,6 +139,7 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
137
139
  type: z.ZodLiteral<"reference">;
138
140
  alias: z.ZodOptional<z.ZodString>;
139
141
  reference: z.ZodString;
142
+ enabled: z.ZodBoolean;
140
143
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
141
144
  type: z.ZodLiteral<"object">;
142
145
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -152,6 +155,7 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
152
155
  id: z.ZodDefault<z.ZodUUID>;
153
156
  type: z.ZodLiteral<"exit">;
154
157
  alias: z.ZodOptional<z.ZodString>;
158
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
155
159
  }, z.core.$strict>, z.ZodObject<{
156
160
  id: z.ZodDefault<z.ZodUUID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AiB,CAAC,CAAA;AAG5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAQrB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAC9C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -1,9 +1,6 @@
1
1
  import { z } from 'zod/v4';
2
2
  export declare const taskOptionsSchema: z.ZodObject<{
3
3
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4
- compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
5
- MCP_TOOL: "MCP_TOOL";
6
- }>>>;
7
4
  mode: z.ZodDefault<z.ZodEnum<{
8
5
  LINEAR: "LINEAR";
9
6
  CONTINUOUS: "CONTINUOUS";
@@ -1 +1 @@
1
- {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;iBAqB3B,CAAA;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAc5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -12,6 +12,7 @@ export declare const templateEntryNodeSchema: z.ZodObject<{
12
12
  width: z.ZodOptional<z.ZodNumber>;
13
13
  height: z.ZodOptional<z.ZodNumber>;
14
14
  }, z.core.$strip>>;
15
+ flipped: z.ZodOptional<z.ZodBoolean>;
15
16
  }, z.core.$strip>;
16
17
  export type TemplateEntryNode = z.output<typeof templateEntryNodeSchema>;
17
18
  export declare const templateServiceNodeSchema: z.ZodObject<{
@@ -23,6 +24,7 @@ export declare const templateServiceNodeSchema: z.ZodObject<{
23
24
  retry: z.ZodOptional<z.ZodNumber>;
24
25
  retryDelay: z.ZodOptional<z.ZodNumber>;
25
26
  serviceVersion: z.ZodNullable<z.ZodUUID>;
27
+ localInvocation: z.ZodOptional<z.ZodUUID>;
26
28
  position: z.ZodObject<{
27
29
  x: z.ZodNumber;
28
30
  y: z.ZodNumber;
@@ -31,6 +33,7 @@ export declare const templateServiceNodeSchema: z.ZodObject<{
31
33
  width: z.ZodOptional<z.ZodNumber>;
32
34
  height: z.ZodOptional<z.ZodNumber>;
33
35
  }, z.core.$strip>>;
36
+ flipped: z.ZodOptional<z.ZodBoolean>;
34
37
  }, z.core.$strip>;
35
38
  export type TemplateServiceNode = z.output<typeof templateServiceNodeSchema>;
36
39
  export declare const templateLogicNodeSchema: z.ZodObject<{
@@ -57,6 +60,7 @@ export declare const templateLogicNodeSchema: z.ZodObject<{
57
60
  width: z.ZodOptional<z.ZodNumber>;
58
61
  height: z.ZodOptional<z.ZodNumber>;
59
62
  }, z.core.$strip>>;
63
+ flipped: z.ZodOptional<z.ZodBoolean>;
60
64
  }, z.core.$strip>;
61
65
  export type TemplateLogicNode = z.output<typeof templateLogicNodeSchema>;
62
66
  export declare const templateOrNodeSchema: z.ZodObject<{
@@ -71,6 +75,7 @@ export declare const templateOrNodeSchema: z.ZodObject<{
71
75
  width: z.ZodOptional<z.ZodNumber>;
72
76
  height: z.ZodOptional<z.ZodNumber>;
73
77
  }, z.core.$strip>>;
78
+ flipped: z.ZodOptional<z.ZodBoolean>;
74
79
  }, z.core.$strip>;
75
80
  export type TemplateOrNode = z.output<typeof templateOrNodeSchema>;
76
81
  export declare const templateReferenceNodeSchema: z.ZodObject<{
@@ -86,12 +91,14 @@ export declare const templateReferenceNodeSchema: z.ZodObject<{
86
91
  width: z.ZodOptional<z.ZodNumber>;
87
92
  height: z.ZodOptional<z.ZodNumber>;
88
93
  }, z.core.$strip>>;
94
+ flipped: z.ZodOptional<z.ZodBoolean>;
89
95
  }, z.core.$strip>;
90
96
  export type TemplateReferenceNode = z.output<typeof templateReferenceNodeSchema>;
91
97
  export declare const templateExitNodeSchema: z.ZodObject<{
92
98
  id: z.ZodDefault<z.ZodUUID>;
93
99
  type: z.ZodLiteral<"exit">;
94
100
  alias: z.ZodOptional<z.ZodString>;
101
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
95
102
  position: z.ZodObject<{
96
103
  x: z.ZodNumber;
97
104
  y: z.ZodNumber;
@@ -100,6 +107,7 @@ export declare const templateExitNodeSchema: z.ZodObject<{
100
107
  width: z.ZodOptional<z.ZodNumber>;
101
108
  height: z.ZodOptional<z.ZodNumber>;
102
109
  }, z.core.$strip>>;
110
+ flipped: z.ZodOptional<z.ZodBoolean>;
103
111
  }, z.core.$strip>;
104
112
  export type TemplateExitNode = z.output<typeof templateExitNodeSchema>;
105
113
  export declare const templateCommentNodeSchema: z.ZodObject<{
@@ -115,14 +123,29 @@ export declare const templateCommentNodeSchema: z.ZodObject<{
115
123
  width: z.ZodOptional<z.ZodNumber>;
116
124
  height: z.ZodOptional<z.ZodNumber>;
117
125
  }, z.core.$strip>>;
126
+ flipped: z.ZodOptional<z.ZodBoolean>;
118
127
  }, z.core.$strip>;
119
128
  export type TemplateCommentNode = z.output<typeof templateCommentNodeSchema>;
129
+ export declare const templateEdge: z.ZodObject<{
130
+ id: z.ZodUUID;
131
+ source: z.ZodUUID;
132
+ sourceHandle: z.ZodNullable<z.ZodString>;
133
+ target: z.ZodUUID;
134
+ center: z.ZodNullable<z.ZodOptional<z.ZodObject<{
135
+ x: z.ZodNumber;
136
+ y: z.ZodNumber;
137
+ }, z.core.$strip>>>;
138
+ }, z.core.$strip>;
120
139
  export declare const templateTreeSchema: z.ZodObject<{
121
140
  edges: z.ZodArray<z.ZodObject<{
122
141
  id: z.ZodUUID;
123
142
  source: z.ZodUUID;
124
143
  sourceHandle: z.ZodNullable<z.ZodString>;
125
144
  target: z.ZodUUID;
145
+ center: z.ZodNullable<z.ZodOptional<z.ZodObject<{
146
+ x: z.ZodNumber;
147
+ y: z.ZodNumber;
148
+ }, z.core.$strip>>>;
126
149
  }, z.core.$strip>>;
127
150
  nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
128
151
  id: z.ZodDefault<z.ZodUUID>;
@@ -137,6 +160,7 @@ export declare const templateTreeSchema: z.ZodObject<{
137
160
  width: z.ZodOptional<z.ZodNumber>;
138
161
  height: z.ZodOptional<z.ZodNumber>;
139
162
  }, z.core.$strip>>;
163
+ flipped: z.ZodOptional<z.ZodBoolean>;
140
164
  }, z.core.$strip>, z.ZodObject<{
141
165
  type: z.ZodLiteral<"service">;
142
166
  id: z.ZodDefault<z.ZodUUID>;
@@ -146,6 +170,7 @@ export declare const templateTreeSchema: z.ZodObject<{
146
170
  retry: z.ZodOptional<z.ZodNumber>;
147
171
  retryDelay: z.ZodOptional<z.ZodNumber>;
148
172
  serviceVersion: z.ZodNullable<z.ZodUUID>;
173
+ localInvocation: z.ZodOptional<z.ZodUUID>;
149
174
  position: z.ZodObject<{
150
175
  x: z.ZodNumber;
151
176
  y: z.ZodNumber;
@@ -154,6 +179,7 @@ export declare const templateTreeSchema: z.ZodObject<{
154
179
  width: z.ZodOptional<z.ZodNumber>;
155
180
  height: z.ZodOptional<z.ZodNumber>;
156
181
  }, z.core.$strip>>;
182
+ flipped: z.ZodOptional<z.ZodBoolean>;
157
183
  }, z.core.$strip>, z.ZodObject<{
158
184
  id: z.ZodDefault<z.ZodUUID>;
159
185
  type: z.ZodLiteral<"logic">;
@@ -178,6 +204,7 @@ export declare const templateTreeSchema: z.ZodObject<{
178
204
  width: z.ZodOptional<z.ZodNumber>;
179
205
  height: z.ZodOptional<z.ZodNumber>;
180
206
  }, z.core.$strip>>;
207
+ flipped: z.ZodOptional<z.ZodBoolean>;
181
208
  }, z.core.$strip>, z.ZodObject<{
182
209
  id: z.ZodDefault<z.ZodUUID>;
183
210
  type: z.ZodLiteral<"or">;
@@ -190,6 +217,7 @@ export declare const templateTreeSchema: z.ZodObject<{
190
217
  width: z.ZodOptional<z.ZodNumber>;
191
218
  height: z.ZodOptional<z.ZodNumber>;
192
219
  }, z.core.$strip>>;
220
+ flipped: z.ZodOptional<z.ZodBoolean>;
193
221
  }, z.core.$strip>, z.ZodObject<{
194
222
  type: z.ZodLiteral<"reference">;
195
223
  id: z.ZodDefault<z.ZodUUID>;
@@ -203,10 +231,12 @@ export declare const templateTreeSchema: z.ZodObject<{
203
231
  width: z.ZodOptional<z.ZodNumber>;
204
232
  height: z.ZodOptional<z.ZodNumber>;
205
233
  }, z.core.$strip>>;
234
+ flipped: z.ZodOptional<z.ZodBoolean>;
206
235
  }, z.core.$strip>, z.ZodObject<{
207
236
  id: z.ZodDefault<z.ZodUUID>;
208
237
  type: z.ZodLiteral<"exit">;
209
238
  alias: z.ZodOptional<z.ZodString>;
239
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
210
240
  position: z.ZodObject<{
211
241
  x: z.ZodNumber;
212
242
  y: z.ZodNumber;
@@ -215,6 +245,7 @@ export declare const templateTreeSchema: z.ZodObject<{
215
245
  width: z.ZodOptional<z.ZodNumber>;
216
246
  height: z.ZodOptional<z.ZodNumber>;
217
247
  }, z.core.$strip>>;
248
+ flipped: z.ZodOptional<z.ZodBoolean>;
218
249
  }, z.core.$strip>, z.ZodObject<{
219
250
  id: z.ZodDefault<z.ZodUUID>;
220
251
  type: z.ZodLiteral<"comment">;
@@ -228,6 +259,7 @@ export declare const templateTreeSchema: z.ZodObject<{
228
259
  width: z.ZodOptional<z.ZodNumber>;
229
260
  height: z.ZodOptional<z.ZodNumber>;
230
261
  }, z.core.$strip>>;
262
+ flipped: z.ZodOptional<z.ZodBoolean>;
231
263
  }, z.core.$strip>], "type">>;
232
264
  }, z.core.$strip>;
233
265
  export type TemplateTree = z.output<typeof templateTreeSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"templateNodeTypes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/templateNodeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AA0B1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;iBAEX,CAAA;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;iBAYb,CAAA;AACzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;iBAEX,CAAA;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;iBAER,CAAA;AACzB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAElE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;iBAMf,CAAA;AACzB,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,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAEJ,CAAA;AAC7B,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAElE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAMX,CAAA;AAC7B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAEhF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;iBAEN,CAAA;AAC7B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEtE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAET,CAAA;AAC7B,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,MAAM,YAAY;;;;;;;;;iBAQvB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAC9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -52,6 +52,7 @@ export declare const treeSchema: z.ZodObject<{
52
52
  type: z.ZodLiteral<"reference">;
53
53
  alias: z.ZodOptional<z.ZodString>;
54
54
  reference: z.ZodString;
55
+ enabled: z.ZodBoolean;
55
56
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
56
57
  type: z.ZodLiteral<"object">;
57
58
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -67,6 +68,7 @@ export declare const treeSchema: z.ZodObject<{
67
68
  id: z.ZodDefault<z.ZodUUID>;
68
69
  type: z.ZodLiteral<"exit">;
69
70
  alias: z.ZodOptional<z.ZodString>;
71
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
70
72
  }, z.core.$strict>, z.ZodObject<{
71
73
  id: z.ZodDefault<z.ZodUUID>;
72
74
  type: z.ZodLiteral<"comment">;
@@ -134,6 +136,7 @@ declare const extendedTreeSchema: z.ZodObject<{
134
136
  type: z.ZodLiteral<"reference">;
135
137
  alias: z.ZodOptional<z.ZodString>;
136
138
  reference: z.ZodString;
139
+ enabled: z.ZodBoolean;
137
140
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
138
141
  type: z.ZodLiteral<"object">;
139
142
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -149,6 +152,7 @@ declare const extendedTreeSchema: z.ZodObject<{
149
152
  id: z.ZodDefault<z.ZodUUID>;
150
153
  type: z.ZodLiteral<"exit">;
151
154
  alias: z.ZodOptional<z.ZodString>;
155
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
152
156
  }, z.core.$strict>, z.ZodObject<{
153
157
  id: z.ZodDefault<z.ZodUUID>;
154
158
  type: z.ZodLiteral<"comment">;
@@ -217,6 +221,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
217
221
  type: z.ZodLiteral<"reference">;
218
222
  alias: z.ZodOptional<z.ZodString>;
219
223
  reference: z.ZodString;
224
+ enabled: z.ZodBoolean;
220
225
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
221
226
  type: z.ZodLiteral<"object">;
222
227
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -232,6 +237,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
232
237
  id: z.ZodDefault<z.ZodUUID>;
233
238
  type: z.ZodLiteral<"exit">;
234
239
  alias: z.ZodOptional<z.ZodString>;
240
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
235
241
  }, z.core.$strict>, z.ZodObject<{
236
242
  id: z.ZodDefault<z.ZodUUID>;
237
243
  type: z.ZodLiteral<"comment">;
@@ -293,6 +299,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
293
299
  id: string;
294
300
  type: "reference";
295
301
  reference: string;
302
+ enabled: boolean;
296
303
  inputSchema: ({
297
304
  type: "object";
298
305
  } & import("json-schema").JSONSchema7) | {
@@ -309,6 +316,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
309
316
  id: string;
310
317
  type: "exit";
311
318
  alias?: string | undefined;
319
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
312
320
  } | {
313
321
  id: string;
314
322
  type: "comment";
@@ -369,6 +377,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
369
377
  id: string;
370
378
  type: "reference";
371
379
  reference: string;
380
+ enabled: boolean;
372
381
  inputSchema: ({
373
382
  type: "object";
374
383
  } & import("json-schema").JSONSchema7) | {
@@ -385,6 +394,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
385
394
  id: string;
386
395
  type: "exit";
387
396
  alias?: string | undefined;
397
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
388
398
  } | {
389
399
  id: string;
390
400
  type: "comment";
@@ -403,9 +413,6 @@ export declare const treeReferenceSchema: z.ZodObject<{
403
413
  id: z.ZodString;
404
414
  options: z.ZodObject<{
405
415
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
406
- compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
407
- MCP_TOOL: "MCP_TOOL";
408
- }>>>;
409
416
  mode: z.ZodDefault<z.ZodEnum<{
410
417
  LINEAR: "LINEAR";
411
418
  CONTINUOUS: "CONTINUOUS";
@@ -464,6 +471,7 @@ export declare const treeReferenceSchema: z.ZodObject<{
464
471
  type: z.ZodLiteral<"reference">;
465
472
  alias: z.ZodOptional<z.ZodString>;
466
473
  reference: z.ZodString;
474
+ enabled: z.ZodBoolean;
467
475
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
468
476
  type: z.ZodLiteral<"object">;
469
477
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -479,6 +487,7 @@ export declare const treeReferenceSchema: z.ZodObject<{
479
487
  id: z.ZodDefault<z.ZodUUID>;
480
488
  type: z.ZodLiteral<"exit">;
481
489
  alias: z.ZodOptional<z.ZodString>;
490
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
482
491
  }, z.core.$strict>, z.ZodObject<{
483
492
  id: z.ZodDefault<z.ZodUUID>;
484
493
  type: z.ZodLiteral<"comment">;
@@ -548,6 +557,7 @@ export declare const treeListSchema: z.ZodObject<{
548
557
  type: z.ZodLiteral<"reference">;
549
558
  alias: z.ZodOptional<z.ZodString>;
550
559
  reference: z.ZodString;
560
+ enabled: z.ZodBoolean;
551
561
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
552
562
  type: z.ZodLiteral<"object">;
553
563
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -563,6 +573,7 @@ export declare const treeListSchema: z.ZodObject<{
563
573
  id: z.ZodDefault<z.ZodUUID>;
564
574
  type: z.ZodLiteral<"exit">;
565
575
  alias: z.ZodOptional<z.ZodString>;
576
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
566
577
  }, z.core.$strict>, z.ZodObject<{
567
578
  id: z.ZodDefault<z.ZodUUID>;
568
579
  type: z.ZodLiteral<"comment">;
@@ -624,6 +635,7 @@ export declare const treeListSchema: z.ZodObject<{
624
635
  id: string;
625
636
  type: "reference";
626
637
  reference: string;
638
+ enabled: boolean;
627
639
  inputSchema: ({
628
640
  type: "object";
629
641
  } & import("json-schema").JSONSchema7) | {
@@ -640,6 +652,7 @@ export declare const treeListSchema: z.ZodObject<{
640
652
  id: string;
641
653
  type: "exit";
642
654
  alias?: string | undefined;
655
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
643
656
  } | {
644
657
  id: string;
645
658
  type: "comment";
@@ -700,6 +713,7 @@ export declare const treeListSchema: z.ZodObject<{
700
713
  id: string;
701
714
  type: "reference";
702
715
  reference: string;
716
+ enabled: boolean;
703
717
  inputSchema: ({
704
718
  type: "object";
705
719
  } & import("json-schema").JSONSchema7) | {
@@ -716,6 +730,7 @@ export declare const treeListSchema: z.ZodObject<{
716
730
  id: string;
717
731
  type: "exit";
718
732
  alias?: string | undefined;
733
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
719
734
  } | {
720
735
  id: string;
721
736
  type: "comment";
@@ -734,9 +749,6 @@ export declare const treeListSchema: z.ZodObject<{
734
749
  id: z.ZodString;
735
750
  options: z.ZodObject<{
736
751
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
737
- compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
738
- MCP_TOOL: "MCP_TOOL";
739
- }>>>;
740
752
  mode: z.ZodDefault<z.ZodEnum<{
741
753
  LINEAR: "LINEAR";
742
754
  CONTINUOUS: "CONTINUOUS";
@@ -795,6 +807,7 @@ export declare const treeListSchema: z.ZodObject<{
795
807
  type: z.ZodLiteral<"reference">;
796
808
  alias: z.ZodOptional<z.ZodString>;
797
809
  reference: z.ZodString;
810
+ enabled: z.ZodBoolean;
798
811
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
799
812
  type: z.ZodLiteral<"object">;
800
813
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -810,6 +823,7 @@ export declare const treeListSchema: z.ZodObject<{
810
823
  id: z.ZodDefault<z.ZodUUID>;
811
824
  type: z.ZodLiteral<"exit">;
812
825
  alias: z.ZodOptional<z.ZodString>;
826
+ inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
813
827
  }, z.core.$strict>, z.ZodObject<{
814
828
  id: z.ZodDefault<z.ZodUUID>;
815
829
  type: z.ZodLiteral<"comment">;
@@ -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;AAQ1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9C,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEtB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE/D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBvB,CAAA;AAEJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
@@ -14,6 +14,7 @@ declare const nodeInitUpdateSchema: z.ZodObject<{
14
14
  alias: z.ZodOptional<z.ZodString>;
15
15
  }, z.core.$strip>;
16
16
  type: z.ZodLiteral<"NODE_INIT">;
17
+ subTaskId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
17
18
  triggers: z.ZodArray<z.ZodString>;
18
19
  }, z.core.$strip>;
19
20
  export type NodeInitUpdate = z.infer<typeof nodeInitUpdateSchema>;
@@ -210,6 +211,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
210
211
  alias: z.ZodOptional<z.ZodString>;
211
212
  }, z.core.$strip>;
212
213
  type: z.ZodLiteral<"NODE_INIT">;
214
+ subTaskId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
213
215
  triggers: z.ZodArray<z.ZodString>;
214
216
  }, z.core.$strip>, z.ZodObject<{
215
217
  timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
@@ -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;AAmB1B,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAGxB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA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C,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare function debounce<T extends (...args: any[]) => void>(fn: T, options?: {
2
+ delay?: number;
3
+ }): (...args: Parameters<T>) => void;
4
+ //# sourceMappingURL=debounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/debounce.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EACzD,EAAE,EAAE,CAAC,EACL,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,IAIpB,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,UAc/B"}
@@ -0,0 +1,3 @@
1
+ export declare function isRecord(data: unknown): data is Record<string, unknown>;
2
+ export declare function isUuid(data: unknown): data is string;
3
+ //# sourceMappingURL=guards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/guards.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEvE;AAGD,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAEpD"}
@@ -0,0 +1,4 @@
1
+ import dlv from 'dlv';
2
+ export declare function setByPath<T extends Record<string, unknown>, U = T>(obj: T, keys: string | ArrayLike<string | number>, value: unknown): U;
3
+ export declare const getByPath: typeof dlv;
4
+ //# sourceMappingURL=obj.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"obj.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/obj.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAGrB,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,EAChE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EACzC,KAAK,EAAE,OAAO,GAIiB,CAAC,CACjC;AAED,eAAO,MAAM,SAAS,YAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"requenceCallback.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/requenceCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,QAAA,MAAM,oBAAoB;;;;;;iBAMxB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,cAAc,CAEtE;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;AAClD,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG;IAC7D,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAAA;CACvB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,GAC1B,uBAAuB,CAAC,CAAC,CAAC,CAgB5B"}
1
+ {"version":3,"file":"requenceCallback.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/requenceCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,QAAA,MAAM,oBAAoB;;;;;;iBAMxB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,cAAc,CAEtE;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;AAClD,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG;IAC7D,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAAA;CACvB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,GAC1B,uBAAuB,CAAC,CAAC,CAAC,CAa5B"}
@@ -1,4 +1,7 @@
1
1
  export type Prettify<T> = {
2
2
  [K in keyof T]: T[K];
3
3
  } & {};
4
+ export type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
5
+ export type MaybePromise<T> = T | Promise<T>;
6
+ export type MaybeArray<T> = T | T[];
4
7
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
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"}
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;AAEN,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,GAChE,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACV,KAAK,CAAA;AAET,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;AAC5C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { type CreateTaskOptions, type Result, type Update } from './types.ts';
2
- export declare class TaskPrepareError extends Error {
2
+ declare class TaskPrepareError extends Error {
3
3
  readonly taskTemplate: string;
4
4
  constructor(message: string, taskTemplate: string);
5
5
  }
@@ -13,6 +13,7 @@ type Task<T extends keyof RequenceTask.TaskTemplate | (string & {})> = AsyncIter
13
13
  getTaskId(): Promise<string>;
14
14
  getTaskUrl(): Promise<string | null>;
15
15
  abort(reason?: string): Promise<void>;
16
+ protect(): Promise<void>;
16
17
  };
17
18
  export declare function createTask<T extends keyof RequenceTask.TaskTemplate | (string & {})>(options: CreateTaskOptions<T>, onUpdate?: TaskUpdateHandler<T>): Task<T>;
18
19
  export {};