@requence/service 1.0.0-alpha.2 → 1.0.0-alpha.20

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 (88) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/build/{chunk-0x9092n4.js → chunk-6w7td62p.js} +5 -44
  3. package/build/chunk-6w7td62p.js.map +10 -0
  4. package/build/cli.js +22 -11
  5. package/build/cli.js.map +3 -3
  6. package/build/index.js +534 -775
  7. package/build/index.js.map +16 -16
  8. package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
  9. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
  10. package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
  11. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
  12. package/build/types/helpers/src/files/fileObject.d.ts +16 -0
  13. package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
  14. package/build/types/helpers/src/files/index.d.ts +7 -0
  15. package/build/types/helpers/src/files/index.d.ts.map +1 -0
  16. package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
  17. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
  18. package/build/types/helpers/src/files/mapOutput.d.ts +10 -0
  19. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
  20. package/build/types/helpers/src/files/streamObject.d.ts +14 -0
  21. package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
  22. package/build/types/helpers/src/files/types.d.ts +4 -0
  23. package/build/types/helpers/src/files/types.d.ts.map +1 -0
  24. package/build/types/helpers/src/index.d.ts +9 -6
  25. package/build/types/helpers/src/index.d.ts.map +1 -1
  26. package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
  27. package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
  28. package/build/types/helpers/src/jsonschema/types.d.ts +11 -0
  29. package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
  30. package/build/types/helpers/src/jsonschema/validate.d.ts +29 -0
  31. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
  32. package/build/types/helpers/src/jsonschema/zod.d.ts +12 -0
  33. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
  34. package/build/types/helpers/src/protocol/NodeTree.d.ts +504 -0
  35. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
  36. package/build/types/helpers/src/protocol/command.d.ts +414 -0
  37. package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
  38. package/build/types/helpers/src/protocol/helpers.d.ts +5 -0
  39. package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -0
  40. package/build/types/helpers/src/protocol/index.d.ts +8 -0
  41. package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
  42. package/build/types/helpers/src/protocol/nodeOptions.d.ts +16 -0
  43. package/build/types/helpers/src/protocol/nodeOptions.d.ts.map +1 -0
  44. package/build/types/helpers/src/protocol/nodeType.d.ts +283 -0
  45. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
  46. package/build/types/helpers/src/protocol/targetNodes.d.ts +253 -0
  47. package/build/types/helpers/src/protocol/targetNodes.d.ts.map +1 -0
  48. package/build/types/helpers/src/protocol/treeNodes.d.ts +606 -0
  49. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
  50. package/build/types/helpers/src/protocol/update.d.ts +241 -0
  51. package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
  52. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +3 -0
  53. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -0
  54. package/build/types/helpers/src/utils/clone.d.ts +3 -0
  55. package/build/types/helpers/src/utils/clone.d.ts.map +1 -0
  56. package/build/types/helpers/src/utils/createObjectProxy.d.ts +2 -0
  57. package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +1 -0
  58. package/build/types/helpers/src/{createRemotePromise.d.ts → utils/createRemotePromise.d.ts} +1 -1
  59. package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +1 -0
  60. package/build/types/helpers/src/utils/isRecord.d.ts +2 -0
  61. package/build/types/helpers/src/utils/isRecord.d.ts.map +1 -0
  62. package/build/types/helpers/src/utils/mapData.d.ts +17 -0
  63. package/build/types/helpers/src/utils/mapData.d.ts.map +1 -0
  64. package/build/types/helpers/src/{utils.d.ts → utils/matchSchema.d.ts} +2 -2
  65. package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -0
  66. package/build/types/helpers/src/utils/obfuscate.d.ts.map +1 -0
  67. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +2 -0
  68. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
  69. package/build/types/helpers/src/utils/types.d.ts +4 -0
  70. package/build/types/helpers/src/utils/types.d.ts.map +1 -0
  71. package/build/types/service/src/createAmqpConnection.d.ts +17 -18
  72. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  73. package/build/types/service/src/helpers.d.ts +13 -88
  74. package/build/types/service/src/helpers.d.ts.map +1 -1
  75. package/build/types/service/src/index.d.ts +7 -5
  76. package/build/types/service/src/index.d.ts.map +1 -1
  77. package/build/types/service/src/mapInput.d.ts +2 -0
  78. package/build/types/service/src/mapInput.d.ts.map +1 -0
  79. package/package.json +7 -8
  80. package/build/chunk-0x9092n4.js.map +0 -12
  81. package/build/types/helpers/src/clone.d.ts +0 -3
  82. package/build/types/helpers/src/clone.d.ts.map +0 -1
  83. package/build/types/helpers/src/createObjectProxy.d.ts +0 -2
  84. package/build/types/helpers/src/createObjectProxy.d.ts.map +0 -1
  85. package/build/types/helpers/src/createRemotePromise.d.ts.map +0 -1
  86. package/build/types/helpers/src/obfuscate.d.ts.map +0 -1
  87. package/build/types/helpers/src/utils.d.ts.map +0 -1
  88. /package/build/types/helpers/src/{obfuscate.d.ts → utils/obfuscate.d.ts} +0 -0
@@ -0,0 +1,414 @@
1
+ import { z } from 'zod/v4';
2
+ export declare const abortSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"ABORT">;
4
+ reason: z.ZodOptional<z.ZodString>;
5
+ }, z.core.$strip>;
6
+ export type Abort = z.infer<typeof abortSchema>;
7
+ export declare const createNodesSchema: z.ZodPipe<z.ZodObject<{
8
+ type: z.ZodLiteral<"CREATE">;
9
+ treeList: z.ZodObject<{
10
+ tree: z.ZodObject<{
11
+ nodes: z.ZodArray<z.ZodAny>;
12
+ edges: z.ZodArray<z.ZodAny>;
13
+ }, z.core.$strip>;
14
+ references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
15
+ }, z.core.$strip>;
16
+ input: z.ZodAny;
17
+ options: z.ZodObject<{
18
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
19
+ compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
20
+ "mcp-tool": "mcp-tool";
21
+ }>>>;
22
+ mode: z.ZodDefault<z.ZodEnum<{
23
+ linear: "linear";
24
+ continuous: "continuous";
25
+ }>>;
26
+ uploadUrl: z.ZodOptional<z.ZodString>;
27
+ streamUrl: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ }, z.core.$strip>, z.ZodTransform<{
30
+ treeList: {
31
+ tree: {
32
+ nodes: ({
33
+ id: string;
34
+ type: "exit";
35
+ alias?: string | undefined;
36
+ } | {
37
+ id: string;
38
+ type: "entry";
39
+ inputSchema: import("json-schema").JSONSchema7;
40
+ outputs: {
41
+ name: string | typeof import("./nodeType.ts").ERROR | null;
42
+ schema: import("json-schema").JSONSchema7 | null;
43
+ }[];
44
+ alias?: string | undefined;
45
+ } | {
46
+ id: string;
47
+ type: "service";
48
+ inputSchema: ({
49
+ type: "object";
50
+ } & import("json-schema").JSONSchema7) | {
51
+ type: "null";
52
+ };
53
+ name: string;
54
+ version: string;
55
+ configurationSchema: import("json-schema").JSONSchema7;
56
+ outputs: {
57
+ name: string | typeof import("./nodeType.ts").ERROR | null;
58
+ schema: import("json-schema").JSONSchema7 | null;
59
+ }[];
60
+ alias?: string | undefined;
61
+ configuration?: any;
62
+ ttl?: number | undefined;
63
+ retry?: number | undefined;
64
+ retryDelay?: number | undefined;
65
+ } | {
66
+ id: string;
67
+ type: "logic";
68
+ script: string;
69
+ concurrency: boolean;
70
+ language: "javascript" | "python" | "typescript";
71
+ maxExecutionTime: number;
72
+ outputs: {
73
+ name: string | typeof import("./nodeType.ts").ERROR | null;
74
+ schema: import("json-schema").JSONSchema7 | null;
75
+ }[];
76
+ alias?: string | undefined;
77
+ } | {
78
+ id: string;
79
+ type: "or";
80
+ outputs: {
81
+ name: string | typeof import("./nodeType.ts").ERROR | null;
82
+ schema: import("json-schema").JSONSchema7 | null;
83
+ }[];
84
+ alias?: string | undefined;
85
+ } | {
86
+ id: string;
87
+ type: "reference";
88
+ reference: string;
89
+ outputs: {
90
+ name: string | typeof import("./nodeType.ts").ERROR | null;
91
+ schema: import("json-schema").JSONSchema7 | null;
92
+ }[];
93
+ alias?: string | undefined;
94
+ configuration?: any;
95
+ })[];
96
+ edges: {
97
+ source: string;
98
+ sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
99
+ target: string;
100
+ }[];
101
+ };
102
+ references?: {
103
+ id: string;
104
+ options: {
105
+ maxExecutions: number;
106
+ };
107
+ tree: {
108
+ nodes: ({
109
+ id: string;
110
+ type: "exit";
111
+ alias?: string | undefined;
112
+ } | {
113
+ id: string;
114
+ type: "entry";
115
+ inputSchema: import("json-schema").JSONSchema7;
116
+ outputs: {
117
+ name: string | typeof import("./nodeType.ts").ERROR | null;
118
+ schema: import("json-schema").JSONSchema7 | null;
119
+ }[];
120
+ alias?: string | undefined;
121
+ } | {
122
+ id: string;
123
+ type: "service";
124
+ inputSchema: ({
125
+ type: "object";
126
+ } & import("json-schema").JSONSchema7) | {
127
+ type: "null";
128
+ };
129
+ name: string;
130
+ version: string;
131
+ configurationSchema: import("json-schema").JSONSchema7;
132
+ outputs: {
133
+ name: string | typeof import("./nodeType.ts").ERROR | null;
134
+ schema: import("json-schema").JSONSchema7 | null;
135
+ }[];
136
+ alias?: string | undefined;
137
+ configuration?: any;
138
+ ttl?: number | undefined;
139
+ retry?: number | undefined;
140
+ retryDelay?: number | undefined;
141
+ } | {
142
+ id: string;
143
+ type: "logic";
144
+ script: string;
145
+ concurrency: boolean;
146
+ language: "javascript" | "python" | "typescript";
147
+ maxExecutionTime: number;
148
+ outputs: {
149
+ name: string | typeof import("./nodeType.ts").ERROR | null;
150
+ schema: import("json-schema").JSONSchema7 | null;
151
+ }[];
152
+ alias?: string | undefined;
153
+ } | {
154
+ id: string;
155
+ type: "or";
156
+ outputs: {
157
+ name: string | typeof import("./nodeType.ts").ERROR | null;
158
+ schema: import("json-schema").JSONSchema7 | null;
159
+ }[];
160
+ alias?: string | undefined;
161
+ } | {
162
+ id: string;
163
+ type: "reference";
164
+ reference: string;
165
+ outputs: {
166
+ name: string | typeof import("./nodeType.ts").ERROR | null;
167
+ schema: import("json-schema").JSONSchema7 | null;
168
+ }[];
169
+ alias?: string | undefined;
170
+ configuration?: any;
171
+ })[];
172
+ edges: {
173
+ source: string;
174
+ sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
175
+ target: string;
176
+ }[];
177
+ };
178
+ references?: /*elided*/ any[] | undefined;
179
+ }[] | undefined;
180
+ };
181
+ type: "CREATE";
182
+ input: any;
183
+ options: {
184
+ maxExecutions: number;
185
+ compliance: "mcp-tool" | null;
186
+ mode: "linear" | "continuous";
187
+ uploadUrl?: string | undefined;
188
+ streamUrl?: string | undefined;
189
+ };
190
+ }, {
191
+ type: "CREATE";
192
+ treeList: {
193
+ tree: {
194
+ nodes: any[];
195
+ edges: any[];
196
+ };
197
+ references?: any[] | undefined;
198
+ };
199
+ input: any;
200
+ options: {
201
+ maxExecutions: number;
202
+ compliance: "mcp-tool" | null;
203
+ mode: "linear" | "continuous";
204
+ uploadUrl?: string | undefined;
205
+ streamUrl?: string | undefined;
206
+ };
207
+ }>>;
208
+ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
209
+ type: z.ZodLiteral<"ABORT">;
210
+ reason: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
212
+ type: z.ZodLiteral<"CREATE">;
213
+ treeList: z.ZodObject<{
214
+ tree: z.ZodObject<{
215
+ nodes: z.ZodArray<z.ZodAny>;
216
+ edges: z.ZodArray<z.ZodAny>;
217
+ }, z.core.$strip>;
218
+ references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
219
+ }, z.core.$strip>;
220
+ input: z.ZodAny;
221
+ options: z.ZodObject<{
222
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
223
+ compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
224
+ "mcp-tool": "mcp-tool";
225
+ }>>>;
226
+ mode: z.ZodDefault<z.ZodEnum<{
227
+ linear: "linear";
228
+ continuous: "continuous";
229
+ }>>;
230
+ uploadUrl: z.ZodOptional<z.ZodString>;
231
+ streamUrl: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strip>;
233
+ }, z.core.$strip>, z.ZodTransform<{
234
+ treeList: {
235
+ tree: {
236
+ nodes: ({
237
+ id: string;
238
+ type: "exit";
239
+ alias?: string | undefined;
240
+ } | {
241
+ id: string;
242
+ type: "entry";
243
+ inputSchema: import("json-schema").JSONSchema7;
244
+ outputs: {
245
+ name: string | typeof import("./nodeType.ts").ERROR | null;
246
+ schema: import("json-schema").JSONSchema7 | null;
247
+ }[];
248
+ alias?: string | undefined;
249
+ } | {
250
+ id: string;
251
+ type: "service";
252
+ inputSchema: ({
253
+ type: "object";
254
+ } & import("json-schema").JSONSchema7) | {
255
+ type: "null";
256
+ };
257
+ name: string;
258
+ version: string;
259
+ configurationSchema: import("json-schema").JSONSchema7;
260
+ outputs: {
261
+ name: string | typeof import("./nodeType.ts").ERROR | null;
262
+ schema: import("json-schema").JSONSchema7 | null;
263
+ }[];
264
+ alias?: string | undefined;
265
+ configuration?: any;
266
+ ttl?: number | undefined;
267
+ retry?: number | undefined;
268
+ retryDelay?: number | undefined;
269
+ } | {
270
+ id: string;
271
+ type: "logic";
272
+ script: string;
273
+ concurrency: boolean;
274
+ language: "javascript" | "python" | "typescript";
275
+ maxExecutionTime: number;
276
+ outputs: {
277
+ name: string | typeof import("./nodeType.ts").ERROR | null;
278
+ schema: import("json-schema").JSONSchema7 | null;
279
+ }[];
280
+ alias?: string | undefined;
281
+ } | {
282
+ id: string;
283
+ type: "or";
284
+ outputs: {
285
+ name: string | typeof import("./nodeType.ts").ERROR | null;
286
+ schema: import("json-schema").JSONSchema7 | null;
287
+ }[];
288
+ alias?: string | undefined;
289
+ } | {
290
+ id: string;
291
+ type: "reference";
292
+ reference: string;
293
+ outputs: {
294
+ name: string | typeof import("./nodeType.ts").ERROR | null;
295
+ schema: import("json-schema").JSONSchema7 | null;
296
+ }[];
297
+ alias?: string | undefined;
298
+ configuration?: any;
299
+ })[];
300
+ edges: {
301
+ source: string;
302
+ sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
303
+ target: string;
304
+ }[];
305
+ };
306
+ references?: {
307
+ id: string;
308
+ options: {
309
+ maxExecutions: number;
310
+ };
311
+ tree: {
312
+ nodes: ({
313
+ id: string;
314
+ type: "exit";
315
+ alias?: string | undefined;
316
+ } | {
317
+ id: string;
318
+ type: "entry";
319
+ inputSchema: import("json-schema").JSONSchema7;
320
+ outputs: {
321
+ name: string | typeof import("./nodeType.ts").ERROR | null;
322
+ schema: import("json-schema").JSONSchema7 | null;
323
+ }[];
324
+ alias?: string | undefined;
325
+ } | {
326
+ id: string;
327
+ type: "service";
328
+ inputSchema: ({
329
+ type: "object";
330
+ } & import("json-schema").JSONSchema7) | {
331
+ type: "null";
332
+ };
333
+ name: string;
334
+ version: string;
335
+ configurationSchema: import("json-schema").JSONSchema7;
336
+ outputs: {
337
+ name: string | typeof import("./nodeType.ts").ERROR | null;
338
+ schema: import("json-schema").JSONSchema7 | null;
339
+ }[];
340
+ alias?: string | undefined;
341
+ configuration?: any;
342
+ ttl?: number | undefined;
343
+ retry?: number | undefined;
344
+ retryDelay?: number | undefined;
345
+ } | {
346
+ id: string;
347
+ type: "logic";
348
+ script: string;
349
+ concurrency: boolean;
350
+ language: "javascript" | "python" | "typescript";
351
+ maxExecutionTime: number;
352
+ outputs: {
353
+ name: string | typeof import("./nodeType.ts").ERROR | null;
354
+ schema: import("json-schema").JSONSchema7 | null;
355
+ }[];
356
+ alias?: string | undefined;
357
+ } | {
358
+ id: string;
359
+ type: "or";
360
+ outputs: {
361
+ name: string | typeof import("./nodeType.ts").ERROR | null;
362
+ schema: import("json-schema").JSONSchema7 | null;
363
+ }[];
364
+ alias?: string | undefined;
365
+ } | {
366
+ id: string;
367
+ type: "reference";
368
+ reference: string;
369
+ outputs: {
370
+ name: string | typeof import("./nodeType.ts").ERROR | null;
371
+ schema: import("json-schema").JSONSchema7 | null;
372
+ }[];
373
+ alias?: string | undefined;
374
+ configuration?: any;
375
+ })[];
376
+ edges: {
377
+ source: string;
378
+ sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
379
+ target: string;
380
+ }[];
381
+ };
382
+ references?: /*elided*/ any[] | undefined;
383
+ }[] | undefined;
384
+ };
385
+ type: "CREATE";
386
+ input: any;
387
+ options: {
388
+ maxExecutions: number;
389
+ compliance: "mcp-tool" | null;
390
+ mode: "linear" | "continuous";
391
+ uploadUrl?: string | undefined;
392
+ streamUrl?: string | undefined;
393
+ };
394
+ }, {
395
+ type: "CREATE";
396
+ treeList: {
397
+ tree: {
398
+ nodes: any[];
399
+ edges: any[];
400
+ };
401
+ references?: any[] | undefined;
402
+ };
403
+ input: any;
404
+ options: {
405
+ maxExecutions: number;
406
+ compliance: "mcp-tool" | null;
407
+ mode: "linear" | "continuous";
408
+ uploadUrl?: string | undefined;
409
+ streamUrl?: string | undefined;
410
+ };
411
+ }>>]>;
412
+ export type Command = z.infer<typeof commandSchema>;
413
+ export type CommandInput = z.input<typeof commandSchema>;
414
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +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,WAAW;;;iBAGtB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAE/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBzB,CAAA;AAEL,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA4C,CAAA;AAEtE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { z } from 'zod/v4';
2
+ export declare class NodeTransformError extends Error {
3
+ }
4
+ export declare function safeTransform<T extends () => any>(ctx: z.RefinementCtx, handler: T): ReturnType<T>;
5
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK;CAAG;AAEhD,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,EAC/C,GAAG,EAAE,CAAC,CAAC,aAAa,EACpB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,CAAC,CAAC,CAUf"}
@@ -0,0 +1,8 @@
1
+ export * from './command.ts';
2
+ export * from './nodeType.ts';
3
+ export * from './targetNodes.ts';
4
+ export * from './update.ts';
5
+ export * from './treeNodes.ts';
6
+ export * from './NodeTree.ts';
7
+ export * from './nodeOptions.ts';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod/v4';
2
+ export declare const nodeOptionsSchema: z.ZodObject<{
3
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4
+ compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
5
+ "mcp-tool": "mcp-tool";
6
+ }>>>;
7
+ mode: z.ZodDefault<z.ZodEnum<{
8
+ linear: "linear";
9
+ continuous: "continuous";
10
+ }>>;
11
+ uploadUrl: z.ZodOptional<z.ZodString>;
12
+ streamUrl: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ export type NodeOptions = z.infer<typeof nodeOptionsSchema>;
15
+ export type NodeOptionsInput = z.input<typeof nodeOptionsSchema>;
16
+ //# sourceMappingURL=nodeOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nodeOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/nodeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;iBAY3B,CAAA;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC3D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}