@requence/service 1.0.0-alpha.4 → 1.0.0-alpha.40
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 +216 -0
- package/build/{chunk-0x9092n4.js → chunk-6w7td62p.js} +5 -44
- package/build/chunk-6w7td62p.js.map +10 -0
- package/build/cli.js +19 -12
- package/build/cli.js.map +3 -3
- package/build/index.js +930 -863
- package/build/index.js.map +18 -16
- package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
- package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
- package/build/types/helpers/src/files/fileObject.d.ts +16 -0
- package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
- package/build/types/helpers/src/files/index.d.ts +7 -0
- package/build/types/helpers/src/files/index.d.ts.map +1 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
- package/build/types/helpers/src/files/mapOutput.d.ts +10 -0
- package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
- package/build/types/helpers/src/files/streamObject.d.ts +14 -0
- package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
- package/build/types/helpers/src/files/types.d.ts +4 -0
- package/build/types/helpers/src/files/types.d.ts.map +1 -0
- package/build/types/helpers/src/index.d.ts +10 -6
- package/build/types/helpers/src/index.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/types.d.ts +12 -0
- package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts +29 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts +12 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/NodeTree.d.ts +447 -0
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/command.d.ts +471 -0
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/helpers.d.ts +5 -0
- package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/index.d.ts +8 -0
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts +283 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/targetNodes.d.ts +253 -0
- package/build/types/helpers/src/protocol/targetNodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts +22 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts +636 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/update.d.ts +354 -0
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
- package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +3 -0
- package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -0
- package/build/types/helpers/src/utils/clone.d.ts +3 -0
- package/build/types/helpers/src/utils/clone.d.ts.map +1 -0
- package/build/types/helpers/src/utils/createObjectProxy.d.ts +2 -0
- package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +1 -0
- package/build/types/helpers/src/{createRemotePromise.d.ts → utils/createRemotePromise.d.ts} +1 -1
- package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +1 -0
- package/build/types/helpers/src/utils/isRecord.d.ts +2 -0
- package/build/types/helpers/src/utils/isRecord.d.ts.map +1 -0
- package/build/types/helpers/src/utils/mapData.d.ts +18 -0
- package/build/types/helpers/src/utils/mapData.d.ts.map +1 -0
- package/build/types/helpers/src/{utils.d.ts → utils/matchSchema.d.ts} +2 -2
- package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -0
- package/build/types/helpers/src/utils/obfuscate.d.ts.map +1 -0
- package/build/types/helpers/src/utils/requenceCallback.d.ts +17 -0
- package/build/types/helpers/src/utils/requenceCallback.d.ts.map +1 -0
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +8 -0
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
- package/build/types/helpers/src/utils/types.d.ts +4 -0
- package/build/types/helpers/src/utils/types.d.ts.map +1 -0
- package/build/types/service/src/createAmqpConnection.d.ts +19 -20
- package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
- package/build/types/service/src/helpers.d.ts +72 -99
- package/build/types/service/src/helpers.d.ts.map +1 -1
- package/build/types/service/src/index.d.ts +8 -4
- package/build/types/service/src/index.d.ts.map +1 -1
- package/build/types/service/src/macro.d.ts +2 -0
- package/build/types/service/src/macro.d.ts.map +1 -0
- package/build/types/service/src/mapInput.d.ts +2 -0
- package/build/types/service/src/mapInput.d.ts.map +1 -0
- package/build/types/service/src/utils.d.ts +6 -0
- package/build/types/service/src/utils.d.ts.map +1 -0
- package/package.json +7 -8
- package/build/chunk-0x9092n4.js.map +0 -12
- package/build/types/helpers/src/clone.d.ts +0 -3
- package/build/types/helpers/src/clone.d.ts.map +0 -1
- package/build/types/helpers/src/createObjectProxy.d.ts +0 -2
- package/build/types/helpers/src/createObjectProxy.d.ts.map +0 -1
- package/build/types/helpers/src/createRemotePromise.d.ts.map +0 -1
- package/build/types/helpers/src/obfuscate.d.ts.map +0 -1
- package/build/types/helpers/src/utils.d.ts.map +0 -1
- /package/build/types/helpers/src/{obfuscate.d.ts → utils/obfuscate.d.ts} +0 -0
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const abortCommandSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"ABORT">;
|
|
4
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type AbortCommand = z.infer<typeof abortCommandSchema>;
|
|
7
|
+
export declare const createCommandSchema: 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
|
+
priority: z.ZodDefault<z.ZodInt>;
|
|
27
|
+
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
28
|
+
streamUrl: z.ZodOptional<z.ZodString>;
|
|
29
|
+
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
taskId: z.ZodUUID;
|
|
31
|
+
nodeId: z.ZodUUID;
|
|
32
|
+
messageId: z.ZodUUID;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
36
|
+
treeList: {
|
|
37
|
+
tree: {
|
|
38
|
+
nodes: ({
|
|
39
|
+
id: string;
|
|
40
|
+
type: "exit";
|
|
41
|
+
alias?: string | undefined;
|
|
42
|
+
} | {
|
|
43
|
+
id: string;
|
|
44
|
+
type: "entry";
|
|
45
|
+
inputSchema: import("json-schema").JSONSchema7;
|
|
46
|
+
outputs: {
|
|
47
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
48
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
49
|
+
}[];
|
|
50
|
+
alias?: string | undefined;
|
|
51
|
+
} | {
|
|
52
|
+
id: string;
|
|
53
|
+
type: "service";
|
|
54
|
+
inputSchema: ({
|
|
55
|
+
type: "object";
|
|
56
|
+
} & import("json-schema").JSONSchema7) | {
|
|
57
|
+
type: "null";
|
|
58
|
+
};
|
|
59
|
+
name: string;
|
|
60
|
+
version: string;
|
|
61
|
+
configurationSchema: import("json-schema").JSONSchema7;
|
|
62
|
+
outputs: {
|
|
63
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
64
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
65
|
+
}[];
|
|
66
|
+
alias?: string | undefined;
|
|
67
|
+
configuration?: any;
|
|
68
|
+
ttl?: number | undefined;
|
|
69
|
+
retry?: number | undefined;
|
|
70
|
+
retryDelay?: number | undefined;
|
|
71
|
+
} | {
|
|
72
|
+
id: string;
|
|
73
|
+
type: "logic";
|
|
74
|
+
script: string;
|
|
75
|
+
concurrency: boolean;
|
|
76
|
+
language: "javascript" | "python" | "typescript";
|
|
77
|
+
maxExecutionTime: number;
|
|
78
|
+
outputs: {
|
|
79
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
80
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
81
|
+
}[];
|
|
82
|
+
alias?: string | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
id: string;
|
|
85
|
+
type: "or";
|
|
86
|
+
outputs: {
|
|
87
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
88
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
89
|
+
}[];
|
|
90
|
+
alias?: string | undefined;
|
|
91
|
+
} | {
|
|
92
|
+
id: string;
|
|
93
|
+
type: "reference";
|
|
94
|
+
reference: string;
|
|
95
|
+
outputs: {
|
|
96
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
97
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
98
|
+
}[];
|
|
99
|
+
alias?: string | undefined;
|
|
100
|
+
configuration?: any;
|
|
101
|
+
})[];
|
|
102
|
+
edges: {
|
|
103
|
+
source: string;
|
|
104
|
+
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
105
|
+
target: string;
|
|
106
|
+
}[];
|
|
107
|
+
};
|
|
108
|
+
references?: {
|
|
109
|
+
id: string;
|
|
110
|
+
options: {
|
|
111
|
+
maxExecutions: number;
|
|
112
|
+
compliance: "mcp-tool" | null;
|
|
113
|
+
mode: "linear" | "continuous";
|
|
114
|
+
priority: number;
|
|
115
|
+
uploadUrl?: string | undefined;
|
|
116
|
+
streamUrl?: string | undefined;
|
|
117
|
+
referencedBy?: {
|
|
118
|
+
taskId: string;
|
|
119
|
+
nodeId: string;
|
|
120
|
+
messageId: string;
|
|
121
|
+
} | undefined;
|
|
122
|
+
};
|
|
123
|
+
tree: {
|
|
124
|
+
nodes: ({
|
|
125
|
+
id: string;
|
|
126
|
+
type: "exit";
|
|
127
|
+
alias?: string | undefined;
|
|
128
|
+
} | {
|
|
129
|
+
id: string;
|
|
130
|
+
type: "entry";
|
|
131
|
+
inputSchema: 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
|
+
} | {
|
|
138
|
+
id: string;
|
|
139
|
+
type: "service";
|
|
140
|
+
inputSchema: ({
|
|
141
|
+
type: "object";
|
|
142
|
+
} & import("json-schema").JSONSchema7) | {
|
|
143
|
+
type: "null";
|
|
144
|
+
};
|
|
145
|
+
name: string;
|
|
146
|
+
version: string;
|
|
147
|
+
configurationSchema: import("json-schema").JSONSchema7;
|
|
148
|
+
outputs: {
|
|
149
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
150
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
151
|
+
}[];
|
|
152
|
+
alias?: string | undefined;
|
|
153
|
+
configuration?: any;
|
|
154
|
+
ttl?: number | undefined;
|
|
155
|
+
retry?: number | undefined;
|
|
156
|
+
retryDelay?: number | undefined;
|
|
157
|
+
} | {
|
|
158
|
+
id: string;
|
|
159
|
+
type: "logic";
|
|
160
|
+
script: string;
|
|
161
|
+
concurrency: boolean;
|
|
162
|
+
language: "javascript" | "python" | "typescript";
|
|
163
|
+
maxExecutionTime: number;
|
|
164
|
+
outputs: {
|
|
165
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
166
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
167
|
+
}[];
|
|
168
|
+
alias?: string | undefined;
|
|
169
|
+
} | {
|
|
170
|
+
id: string;
|
|
171
|
+
type: "or";
|
|
172
|
+
outputs: {
|
|
173
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
174
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
175
|
+
}[];
|
|
176
|
+
alias?: string | undefined;
|
|
177
|
+
} | {
|
|
178
|
+
id: string;
|
|
179
|
+
type: "reference";
|
|
180
|
+
reference: string;
|
|
181
|
+
outputs: {
|
|
182
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
183
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
184
|
+
}[];
|
|
185
|
+
alias?: string | undefined;
|
|
186
|
+
configuration?: any;
|
|
187
|
+
})[];
|
|
188
|
+
edges: {
|
|
189
|
+
source: string;
|
|
190
|
+
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
191
|
+
target: string;
|
|
192
|
+
}[];
|
|
193
|
+
};
|
|
194
|
+
references: /*elided*/ any[];
|
|
195
|
+
}[] | undefined;
|
|
196
|
+
};
|
|
197
|
+
type: "CREATE";
|
|
198
|
+
input: any;
|
|
199
|
+
options: {
|
|
200
|
+
maxExecutions: number;
|
|
201
|
+
compliance: "mcp-tool" | null;
|
|
202
|
+
mode: "linear" | "continuous";
|
|
203
|
+
priority: number;
|
|
204
|
+
uploadUrl?: string | undefined;
|
|
205
|
+
streamUrl?: string | undefined;
|
|
206
|
+
referencedBy?: {
|
|
207
|
+
taskId: string;
|
|
208
|
+
nodeId: string;
|
|
209
|
+
messageId: string;
|
|
210
|
+
} | undefined;
|
|
211
|
+
};
|
|
212
|
+
}, {
|
|
213
|
+
type: "CREATE";
|
|
214
|
+
treeList: {
|
|
215
|
+
tree: {
|
|
216
|
+
nodes: any[];
|
|
217
|
+
edges: any[];
|
|
218
|
+
};
|
|
219
|
+
references?: any[] | undefined;
|
|
220
|
+
};
|
|
221
|
+
input: any;
|
|
222
|
+
options: {
|
|
223
|
+
maxExecutions: number;
|
|
224
|
+
compliance: "mcp-tool" | null;
|
|
225
|
+
mode: "linear" | "continuous";
|
|
226
|
+
priority: number;
|
|
227
|
+
uploadUrl?: string | undefined;
|
|
228
|
+
streamUrl?: string | undefined;
|
|
229
|
+
referencedBy?: {
|
|
230
|
+
taskId: string;
|
|
231
|
+
nodeId: string;
|
|
232
|
+
messageId: string;
|
|
233
|
+
} | undefined;
|
|
234
|
+
};
|
|
235
|
+
}>>;
|
|
236
|
+
export type CreateCommand = z.infer<typeof createCommandSchema>;
|
|
237
|
+
export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
238
|
+
type: z.ZodLiteral<"ABORT">;
|
|
239
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
241
|
+
type: z.ZodLiteral<"CREATE">;
|
|
242
|
+
treeList: z.ZodObject<{
|
|
243
|
+
tree: z.ZodObject<{
|
|
244
|
+
nodes: z.ZodArray<z.ZodAny>;
|
|
245
|
+
edges: z.ZodArray<z.ZodAny>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
input: z.ZodAny;
|
|
250
|
+
options: z.ZodObject<{
|
|
251
|
+
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
252
|
+
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
253
|
+
"mcp-tool": "mcp-tool";
|
|
254
|
+
}>>>;
|
|
255
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
256
|
+
linear: "linear";
|
|
257
|
+
continuous: "continuous";
|
|
258
|
+
}>>;
|
|
259
|
+
priority: z.ZodDefault<z.ZodInt>;
|
|
260
|
+
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
261
|
+
streamUrl: z.ZodOptional<z.ZodString>;
|
|
262
|
+
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
taskId: z.ZodUUID;
|
|
264
|
+
nodeId: z.ZodUUID;
|
|
265
|
+
messageId: z.ZodUUID;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
269
|
+
treeList: {
|
|
270
|
+
tree: {
|
|
271
|
+
nodes: ({
|
|
272
|
+
id: string;
|
|
273
|
+
type: "exit";
|
|
274
|
+
alias?: string | undefined;
|
|
275
|
+
} | {
|
|
276
|
+
id: string;
|
|
277
|
+
type: "entry";
|
|
278
|
+
inputSchema: import("json-schema").JSONSchema7;
|
|
279
|
+
outputs: {
|
|
280
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
281
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
282
|
+
}[];
|
|
283
|
+
alias?: string | undefined;
|
|
284
|
+
} | {
|
|
285
|
+
id: string;
|
|
286
|
+
type: "service";
|
|
287
|
+
inputSchema: ({
|
|
288
|
+
type: "object";
|
|
289
|
+
} & import("json-schema").JSONSchema7) | {
|
|
290
|
+
type: "null";
|
|
291
|
+
};
|
|
292
|
+
name: string;
|
|
293
|
+
version: string;
|
|
294
|
+
configurationSchema: import("json-schema").JSONSchema7;
|
|
295
|
+
outputs: {
|
|
296
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
297
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
298
|
+
}[];
|
|
299
|
+
alias?: string | undefined;
|
|
300
|
+
configuration?: any;
|
|
301
|
+
ttl?: number | undefined;
|
|
302
|
+
retry?: number | undefined;
|
|
303
|
+
retryDelay?: number | undefined;
|
|
304
|
+
} | {
|
|
305
|
+
id: string;
|
|
306
|
+
type: "logic";
|
|
307
|
+
script: string;
|
|
308
|
+
concurrency: boolean;
|
|
309
|
+
language: "javascript" | "python" | "typescript";
|
|
310
|
+
maxExecutionTime: number;
|
|
311
|
+
outputs: {
|
|
312
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
313
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
314
|
+
}[];
|
|
315
|
+
alias?: string | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
id: string;
|
|
318
|
+
type: "or";
|
|
319
|
+
outputs: {
|
|
320
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
321
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
322
|
+
}[];
|
|
323
|
+
alias?: string | undefined;
|
|
324
|
+
} | {
|
|
325
|
+
id: string;
|
|
326
|
+
type: "reference";
|
|
327
|
+
reference: string;
|
|
328
|
+
outputs: {
|
|
329
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
330
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
331
|
+
}[];
|
|
332
|
+
alias?: string | undefined;
|
|
333
|
+
configuration?: any;
|
|
334
|
+
})[];
|
|
335
|
+
edges: {
|
|
336
|
+
source: string;
|
|
337
|
+
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
338
|
+
target: string;
|
|
339
|
+
}[];
|
|
340
|
+
};
|
|
341
|
+
references?: {
|
|
342
|
+
id: string;
|
|
343
|
+
options: {
|
|
344
|
+
maxExecutions: number;
|
|
345
|
+
compliance: "mcp-tool" | null;
|
|
346
|
+
mode: "linear" | "continuous";
|
|
347
|
+
priority: number;
|
|
348
|
+
uploadUrl?: string | undefined;
|
|
349
|
+
streamUrl?: string | undefined;
|
|
350
|
+
referencedBy?: {
|
|
351
|
+
taskId: string;
|
|
352
|
+
nodeId: string;
|
|
353
|
+
messageId: string;
|
|
354
|
+
} | undefined;
|
|
355
|
+
};
|
|
356
|
+
tree: {
|
|
357
|
+
nodes: ({
|
|
358
|
+
id: string;
|
|
359
|
+
type: "exit";
|
|
360
|
+
alias?: string | undefined;
|
|
361
|
+
} | {
|
|
362
|
+
id: string;
|
|
363
|
+
type: "entry";
|
|
364
|
+
inputSchema: import("json-schema").JSONSchema7;
|
|
365
|
+
outputs: {
|
|
366
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
367
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
368
|
+
}[];
|
|
369
|
+
alias?: string | undefined;
|
|
370
|
+
} | {
|
|
371
|
+
id: string;
|
|
372
|
+
type: "service";
|
|
373
|
+
inputSchema: ({
|
|
374
|
+
type: "object";
|
|
375
|
+
} & import("json-schema").JSONSchema7) | {
|
|
376
|
+
type: "null";
|
|
377
|
+
};
|
|
378
|
+
name: string;
|
|
379
|
+
version: string;
|
|
380
|
+
configurationSchema: import("json-schema").JSONSchema7;
|
|
381
|
+
outputs: {
|
|
382
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
383
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
384
|
+
}[];
|
|
385
|
+
alias?: string | undefined;
|
|
386
|
+
configuration?: any;
|
|
387
|
+
ttl?: number | undefined;
|
|
388
|
+
retry?: number | undefined;
|
|
389
|
+
retryDelay?: number | undefined;
|
|
390
|
+
} | {
|
|
391
|
+
id: string;
|
|
392
|
+
type: "logic";
|
|
393
|
+
script: string;
|
|
394
|
+
concurrency: boolean;
|
|
395
|
+
language: "javascript" | "python" | "typescript";
|
|
396
|
+
maxExecutionTime: number;
|
|
397
|
+
outputs: {
|
|
398
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
399
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
400
|
+
}[];
|
|
401
|
+
alias?: string | undefined;
|
|
402
|
+
} | {
|
|
403
|
+
id: string;
|
|
404
|
+
type: "or";
|
|
405
|
+
outputs: {
|
|
406
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
407
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
408
|
+
}[];
|
|
409
|
+
alias?: string | undefined;
|
|
410
|
+
} | {
|
|
411
|
+
id: string;
|
|
412
|
+
type: "reference";
|
|
413
|
+
reference: string;
|
|
414
|
+
outputs: {
|
|
415
|
+
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
416
|
+
schema: import("json-schema").JSONSchema7 | null;
|
|
417
|
+
}[];
|
|
418
|
+
alias?: string | undefined;
|
|
419
|
+
configuration?: any;
|
|
420
|
+
})[];
|
|
421
|
+
edges: {
|
|
422
|
+
source: string;
|
|
423
|
+
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
424
|
+
target: string;
|
|
425
|
+
}[];
|
|
426
|
+
};
|
|
427
|
+
references: /*elided*/ any[];
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
};
|
|
430
|
+
type: "CREATE";
|
|
431
|
+
input: any;
|
|
432
|
+
options: {
|
|
433
|
+
maxExecutions: number;
|
|
434
|
+
compliance: "mcp-tool" | null;
|
|
435
|
+
mode: "linear" | "continuous";
|
|
436
|
+
priority: number;
|
|
437
|
+
uploadUrl?: string | undefined;
|
|
438
|
+
streamUrl?: string | undefined;
|
|
439
|
+
referencedBy?: {
|
|
440
|
+
taskId: string;
|
|
441
|
+
nodeId: string;
|
|
442
|
+
messageId: string;
|
|
443
|
+
} | undefined;
|
|
444
|
+
};
|
|
445
|
+
}, {
|
|
446
|
+
type: "CREATE";
|
|
447
|
+
treeList: {
|
|
448
|
+
tree: {
|
|
449
|
+
nodes: any[];
|
|
450
|
+
edges: any[];
|
|
451
|
+
};
|
|
452
|
+
references?: any[] | undefined;
|
|
453
|
+
};
|
|
454
|
+
input: any;
|
|
455
|
+
options: {
|
|
456
|
+
maxExecutions: number;
|
|
457
|
+
compliance: "mcp-tool" | null;
|
|
458
|
+
mode: "linear" | "continuous";
|
|
459
|
+
priority: number;
|
|
460
|
+
uploadUrl?: string | undefined;
|
|
461
|
+
streamUrl?: string | undefined;
|
|
462
|
+
referencedBy?: {
|
|
463
|
+
taskId: string;
|
|
464
|
+
nodeId: string;
|
|
465
|
+
messageId: string;
|
|
466
|
+
} | undefined;
|
|
467
|
+
};
|
|
468
|
+
}>>]>;
|
|
469
|
+
export type Command = z.infer<typeof commandSchema>;
|
|
470
|
+
export type CommandInput = z.input<typeof commandSchema>;
|
|
471
|
+
//# 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,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsB3B,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,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -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 './taskOptions.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"}
|