@mastra/agent-builder 1.0.10 → 1.0.11
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 +18 -0
- package/dist/agent/index.d.ts +18 -11
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/defaults.d.ts +96 -80
- package/dist/defaults.d.ts.map +1 -1
- package/dist/index.js +37 -26
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +209 -861
- package/dist/types.d.ts.map +1 -1
- package/dist/workflows/shared/schema.d.ts +42 -114
- package/dist/workflows/shared/schema.d.ts.map +1 -1
- package/dist/workflows/task-planning/schema.d.ts +91 -472
- package/dist/workflows/task-planning/schema.d.ts.map +1 -1
- package/dist/workflows/task-planning/task-planning.d.ts +42 -42
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/dist/workflows/template-builder/template-builder.d.ts +104 -104
- package/dist/workflows/template-builder/template-builder.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/schema.d.ts +165 -1002
- package/dist/workflows/workflow-builder/schema.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/tools.d.ts +12 -3
- package/dist/workflows/workflow-builder/tools.d.ts.map +1 -1
- package/dist/workflows/workflow-builder/workflow-builder.d.ts +146 -146
- package/package.json +10 -9
package/dist/types.d.ts
CHANGED
|
@@ -74,662 +74,288 @@ export interface MergePlan {
|
|
|
74
74
|
units: TemplateUnit[];
|
|
75
75
|
}
|
|
76
76
|
export declare const TemplateUnitSchema: z.ZodObject<{
|
|
77
|
-
kind: z.ZodEnum<
|
|
77
|
+
kind: z.ZodEnum<{
|
|
78
|
+
integration: "integration";
|
|
79
|
+
"mcp-server": "mcp-server";
|
|
80
|
+
tool: "tool";
|
|
81
|
+
workflow: "workflow";
|
|
82
|
+
agent: "agent";
|
|
83
|
+
network: "network";
|
|
84
|
+
other: "other";
|
|
85
|
+
}>;
|
|
78
86
|
id: z.ZodString;
|
|
79
87
|
file: z.ZodString;
|
|
80
|
-
},
|
|
81
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
82
|
-
id: string;
|
|
83
|
-
file: string;
|
|
84
|
-
}, {
|
|
85
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
86
|
-
id: string;
|
|
87
|
-
file: string;
|
|
88
|
-
}>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
89
|
export declare const TemplateManifestSchema: z.ZodObject<{
|
|
90
90
|
slug: z.ZodString;
|
|
91
91
|
ref: z.ZodOptional<z.ZodString>;
|
|
92
92
|
description: z.ZodOptional<z.ZodString>;
|
|
93
93
|
units: z.ZodArray<z.ZodObject<{
|
|
94
|
-
kind: z.ZodEnum<
|
|
94
|
+
kind: z.ZodEnum<{
|
|
95
|
+
integration: "integration";
|
|
96
|
+
"mcp-server": "mcp-server";
|
|
97
|
+
tool: "tool";
|
|
98
|
+
workflow: "workflow";
|
|
99
|
+
agent: "agent";
|
|
100
|
+
network: "network";
|
|
101
|
+
other: "other";
|
|
102
|
+
}>;
|
|
95
103
|
id: z.ZodString;
|
|
96
104
|
file: z.ZodString;
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
id: string;
|
|
100
|
-
file: string;
|
|
101
|
-
}, {
|
|
102
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
103
|
-
id: string;
|
|
104
|
-
file: string;
|
|
105
|
-
}>, "many">;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
slug: string;
|
|
108
|
-
units: {
|
|
109
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
110
|
-
id: string;
|
|
111
|
-
file: string;
|
|
112
|
-
}[];
|
|
113
|
-
ref?: string | undefined;
|
|
114
|
-
description?: string | undefined;
|
|
115
|
-
}, {
|
|
116
|
-
slug: string;
|
|
117
|
-
units: {
|
|
118
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
119
|
-
id: string;
|
|
120
|
-
file: string;
|
|
121
|
-
}[];
|
|
122
|
-
ref?: string | undefined;
|
|
123
|
-
description?: string | undefined;
|
|
124
|
-
}>;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
125
107
|
export declare const AgentBuilderInputSchema: z.ZodObject<{
|
|
126
108
|
repo: z.ZodString;
|
|
127
109
|
ref: z.ZodOptional<z.ZodString>;
|
|
128
110
|
slug: z.ZodOptional<z.ZodString>;
|
|
129
111
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
130
112
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
-
},
|
|
132
|
-
repo: string;
|
|
133
|
-
slug?: string | undefined;
|
|
134
|
-
ref?: string | undefined;
|
|
135
|
-
targetPath?: string | undefined;
|
|
136
|
-
variables?: Record<string, string> | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
repo: string;
|
|
139
|
-
slug?: string | undefined;
|
|
140
|
-
ref?: string | undefined;
|
|
141
|
-
targetPath?: string | undefined;
|
|
142
|
-
variables?: Record<string, string> | undefined;
|
|
143
|
-
}>;
|
|
113
|
+
}, z.core.$strip>;
|
|
144
114
|
export declare const MergePlanSchema: z.ZodObject<{
|
|
145
115
|
slug: z.ZodString;
|
|
146
116
|
commitSha: z.ZodString;
|
|
147
117
|
templateDir: z.ZodString;
|
|
148
118
|
units: z.ZodArray<z.ZodObject<{
|
|
149
|
-
kind: z.ZodEnum<
|
|
119
|
+
kind: z.ZodEnum<{
|
|
120
|
+
integration: "integration";
|
|
121
|
+
"mcp-server": "mcp-server";
|
|
122
|
+
tool: "tool";
|
|
123
|
+
workflow: "workflow";
|
|
124
|
+
agent: "agent";
|
|
125
|
+
network: "network";
|
|
126
|
+
other: "other";
|
|
127
|
+
}>;
|
|
150
128
|
id: z.ZodString;
|
|
151
129
|
file: z.ZodString;
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
id: string;
|
|
155
|
-
file: string;
|
|
156
|
-
}, {
|
|
157
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
158
|
-
id: string;
|
|
159
|
-
file: string;
|
|
160
|
-
}>, "many">;
|
|
161
|
-
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
slug: string;
|
|
163
|
-
units: {
|
|
164
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
165
|
-
id: string;
|
|
166
|
-
file: string;
|
|
167
|
-
}[];
|
|
168
|
-
commitSha: string;
|
|
169
|
-
templateDir: string;
|
|
170
|
-
}, {
|
|
171
|
-
slug: string;
|
|
172
|
-
units: {
|
|
173
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
174
|
-
id: string;
|
|
175
|
-
file: string;
|
|
176
|
-
}[];
|
|
177
|
-
commitSha: string;
|
|
178
|
-
templateDir: string;
|
|
179
|
-
}>;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
}, z.core.$strip>;
|
|
180
132
|
export declare const CopiedFileSchema: z.ZodObject<{
|
|
181
133
|
source: z.ZodString;
|
|
182
134
|
destination: z.ZodString;
|
|
183
135
|
unit: z.ZodObject<{
|
|
184
|
-
kind: z.ZodEnum<
|
|
136
|
+
kind: z.ZodEnum<{
|
|
137
|
+
integration: "integration";
|
|
138
|
+
"mcp-server": "mcp-server";
|
|
139
|
+
tool: "tool";
|
|
140
|
+
workflow: "workflow";
|
|
141
|
+
agent: "agent";
|
|
142
|
+
network: "network";
|
|
143
|
+
other: "other";
|
|
144
|
+
}>;
|
|
185
145
|
id: z.ZodString;
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
id: string;
|
|
189
|
-
}, {
|
|
190
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
191
|
-
id: string;
|
|
192
|
-
}>;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
source: string;
|
|
195
|
-
destination: string;
|
|
196
|
-
unit: {
|
|
197
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
198
|
-
id: string;
|
|
199
|
-
};
|
|
200
|
-
}, {
|
|
201
|
-
source: string;
|
|
202
|
-
destination: string;
|
|
203
|
-
unit: {
|
|
204
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
205
|
-
id: string;
|
|
206
|
-
};
|
|
207
|
-
}>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
}, z.core.$strip>;
|
|
208
148
|
export declare const ConflictSchema: z.ZodObject<{
|
|
209
149
|
unit: z.ZodObject<{
|
|
210
|
-
kind: z.ZodEnum<
|
|
150
|
+
kind: z.ZodEnum<{
|
|
151
|
+
integration: "integration";
|
|
152
|
+
"mcp-server": "mcp-server";
|
|
153
|
+
tool: "tool";
|
|
154
|
+
workflow: "workflow";
|
|
155
|
+
agent: "agent";
|
|
156
|
+
network: "network";
|
|
157
|
+
other: "other";
|
|
158
|
+
}>;
|
|
211
159
|
id: z.ZodString;
|
|
212
|
-
},
|
|
213
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
214
|
-
id: string;
|
|
215
|
-
}, {
|
|
216
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
217
|
-
id: string;
|
|
218
|
-
}>;
|
|
160
|
+
}, z.core.$strip>;
|
|
219
161
|
issue: z.ZodString;
|
|
220
162
|
sourceFile: z.ZodString;
|
|
221
163
|
targetFile: z.ZodString;
|
|
222
|
-
},
|
|
223
|
-
unit: {
|
|
224
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
225
|
-
id: string;
|
|
226
|
-
};
|
|
227
|
-
issue: string;
|
|
228
|
-
sourceFile: string;
|
|
229
|
-
targetFile: string;
|
|
230
|
-
}, {
|
|
231
|
-
unit: {
|
|
232
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
233
|
-
id: string;
|
|
234
|
-
};
|
|
235
|
-
issue: string;
|
|
236
|
-
sourceFile: string;
|
|
237
|
-
targetFile: string;
|
|
238
|
-
}>;
|
|
164
|
+
}, z.core.$strip>;
|
|
239
165
|
export declare const FileCopyInputSchema: z.ZodObject<{
|
|
240
166
|
orderedUnits: z.ZodArray<z.ZodObject<{
|
|
241
|
-
kind: z.ZodEnum<
|
|
167
|
+
kind: z.ZodEnum<{
|
|
168
|
+
integration: "integration";
|
|
169
|
+
"mcp-server": "mcp-server";
|
|
170
|
+
tool: "tool";
|
|
171
|
+
workflow: "workflow";
|
|
172
|
+
agent: "agent";
|
|
173
|
+
network: "network";
|
|
174
|
+
other: "other";
|
|
175
|
+
}>;
|
|
242
176
|
id: z.ZodString;
|
|
243
177
|
file: z.ZodString;
|
|
244
|
-
},
|
|
245
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
246
|
-
id: string;
|
|
247
|
-
file: string;
|
|
248
|
-
}, {
|
|
249
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
250
|
-
id: string;
|
|
251
|
-
file: string;
|
|
252
|
-
}>, "many">;
|
|
178
|
+
}, z.core.$strip>>;
|
|
253
179
|
templateDir: z.ZodString;
|
|
254
180
|
commitSha: z.ZodString;
|
|
255
181
|
slug: z.ZodString;
|
|
256
182
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
257
183
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
258
|
-
},
|
|
259
|
-
slug: string;
|
|
260
|
-
commitSha: string;
|
|
261
|
-
templateDir: string;
|
|
262
|
-
orderedUnits: {
|
|
263
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
264
|
-
id: string;
|
|
265
|
-
file: string;
|
|
266
|
-
}[];
|
|
267
|
-
targetPath?: string | undefined;
|
|
268
|
-
variables?: Record<string, string> | undefined;
|
|
269
|
-
}, {
|
|
270
|
-
slug: string;
|
|
271
|
-
commitSha: string;
|
|
272
|
-
templateDir: string;
|
|
273
|
-
orderedUnits: {
|
|
274
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
275
|
-
id: string;
|
|
276
|
-
file: string;
|
|
277
|
-
}[];
|
|
278
|
-
targetPath?: string | undefined;
|
|
279
|
-
variables?: Record<string, string> | undefined;
|
|
280
|
-
}>;
|
|
184
|
+
}, z.core.$strip>;
|
|
281
185
|
export declare const FileCopyResultSchema: z.ZodObject<{
|
|
282
186
|
success: z.ZodBoolean;
|
|
283
187
|
copiedFiles: z.ZodArray<z.ZodObject<{
|
|
284
188
|
source: z.ZodString;
|
|
285
189
|
destination: z.ZodString;
|
|
286
190
|
unit: z.ZodObject<{
|
|
287
|
-
kind: z.ZodEnum<
|
|
191
|
+
kind: z.ZodEnum<{
|
|
192
|
+
integration: "integration";
|
|
193
|
+
"mcp-server": "mcp-server";
|
|
194
|
+
tool: "tool";
|
|
195
|
+
workflow: "workflow";
|
|
196
|
+
agent: "agent";
|
|
197
|
+
network: "network";
|
|
198
|
+
other: "other";
|
|
199
|
+
}>;
|
|
288
200
|
id: z.ZodString;
|
|
289
|
-
},
|
|
290
|
-
|
|
291
|
-
id: string;
|
|
292
|
-
}, {
|
|
293
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
294
|
-
id: string;
|
|
295
|
-
}>;
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
source: string;
|
|
298
|
-
destination: string;
|
|
299
|
-
unit: {
|
|
300
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
301
|
-
id: string;
|
|
302
|
-
};
|
|
303
|
-
}, {
|
|
304
|
-
source: string;
|
|
305
|
-
destination: string;
|
|
306
|
-
unit: {
|
|
307
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
308
|
-
id: string;
|
|
309
|
-
};
|
|
310
|
-
}>, "many">;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
311
203
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
312
204
|
unit: z.ZodObject<{
|
|
313
|
-
kind: z.ZodEnum<
|
|
205
|
+
kind: z.ZodEnum<{
|
|
206
|
+
integration: "integration";
|
|
207
|
+
"mcp-server": "mcp-server";
|
|
208
|
+
tool: "tool";
|
|
209
|
+
workflow: "workflow";
|
|
210
|
+
agent: "agent";
|
|
211
|
+
network: "network";
|
|
212
|
+
other: "other";
|
|
213
|
+
}>;
|
|
314
214
|
id: z.ZodString;
|
|
315
|
-
},
|
|
316
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
317
|
-
id: string;
|
|
318
|
-
}, {
|
|
319
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
320
|
-
id: string;
|
|
321
|
-
}>;
|
|
215
|
+
}, z.core.$strip>;
|
|
322
216
|
issue: z.ZodString;
|
|
323
217
|
sourceFile: z.ZodString;
|
|
324
218
|
targetFile: z.ZodString;
|
|
325
|
-
},
|
|
326
|
-
unit: {
|
|
327
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
328
|
-
id: string;
|
|
329
|
-
};
|
|
330
|
-
issue: string;
|
|
331
|
-
sourceFile: string;
|
|
332
|
-
targetFile: string;
|
|
333
|
-
}, {
|
|
334
|
-
unit: {
|
|
335
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
336
|
-
id: string;
|
|
337
|
-
};
|
|
338
|
-
issue: string;
|
|
339
|
-
sourceFile: string;
|
|
340
|
-
targetFile: string;
|
|
341
|
-
}>, "many">;
|
|
219
|
+
}, z.core.$strip>>;
|
|
342
220
|
message: z.ZodString;
|
|
343
221
|
error: z.ZodOptional<z.ZodString>;
|
|
344
|
-
},
|
|
345
|
-
message: string;
|
|
346
|
-
success: boolean;
|
|
347
|
-
copiedFiles: {
|
|
348
|
-
source: string;
|
|
349
|
-
destination: string;
|
|
350
|
-
unit: {
|
|
351
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
352
|
-
id: string;
|
|
353
|
-
};
|
|
354
|
-
}[];
|
|
355
|
-
conflicts: {
|
|
356
|
-
unit: {
|
|
357
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
358
|
-
id: string;
|
|
359
|
-
};
|
|
360
|
-
issue: string;
|
|
361
|
-
sourceFile: string;
|
|
362
|
-
targetFile: string;
|
|
363
|
-
}[];
|
|
364
|
-
error?: string | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
message: string;
|
|
367
|
-
success: boolean;
|
|
368
|
-
copiedFiles: {
|
|
369
|
-
source: string;
|
|
370
|
-
destination: string;
|
|
371
|
-
unit: {
|
|
372
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
373
|
-
id: string;
|
|
374
|
-
};
|
|
375
|
-
}[];
|
|
376
|
-
conflicts: {
|
|
377
|
-
unit: {
|
|
378
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
379
|
-
id: string;
|
|
380
|
-
};
|
|
381
|
-
issue: string;
|
|
382
|
-
sourceFile: string;
|
|
383
|
-
targetFile: string;
|
|
384
|
-
}[];
|
|
385
|
-
error?: string | undefined;
|
|
386
|
-
}>;
|
|
222
|
+
}, z.core.$strip>;
|
|
387
223
|
export declare const ConflictResolutionSchema: z.ZodObject<{
|
|
388
224
|
unit: z.ZodObject<{
|
|
389
|
-
kind: z.ZodEnum<
|
|
225
|
+
kind: z.ZodEnum<{
|
|
226
|
+
integration: "integration";
|
|
227
|
+
"mcp-server": "mcp-server";
|
|
228
|
+
tool: "tool";
|
|
229
|
+
workflow: "workflow";
|
|
230
|
+
agent: "agent";
|
|
231
|
+
network: "network";
|
|
232
|
+
other: "other";
|
|
233
|
+
}>;
|
|
390
234
|
id: z.ZodString;
|
|
391
|
-
},
|
|
392
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
393
|
-
id: string;
|
|
394
|
-
}, {
|
|
395
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
396
|
-
id: string;
|
|
397
|
-
}>;
|
|
235
|
+
}, z.core.$strip>;
|
|
398
236
|
issue: z.ZodString;
|
|
399
237
|
resolution: z.ZodString;
|
|
400
|
-
},
|
|
401
|
-
unit: {
|
|
402
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
403
|
-
id: string;
|
|
404
|
-
};
|
|
405
|
-
issue: string;
|
|
406
|
-
resolution: string;
|
|
407
|
-
}, {
|
|
408
|
-
unit: {
|
|
409
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
410
|
-
id: string;
|
|
411
|
-
};
|
|
412
|
-
issue: string;
|
|
413
|
-
resolution: string;
|
|
414
|
-
}>;
|
|
238
|
+
}, z.core.$strip>;
|
|
415
239
|
export declare const IntelligentMergeInputSchema: z.ZodObject<{
|
|
416
240
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
417
241
|
unit: z.ZodObject<{
|
|
418
|
-
kind: z.ZodEnum<
|
|
242
|
+
kind: z.ZodEnum<{
|
|
243
|
+
integration: "integration";
|
|
244
|
+
"mcp-server": "mcp-server";
|
|
245
|
+
tool: "tool";
|
|
246
|
+
workflow: "workflow";
|
|
247
|
+
agent: "agent";
|
|
248
|
+
network: "network";
|
|
249
|
+
other: "other";
|
|
250
|
+
}>;
|
|
419
251
|
id: z.ZodString;
|
|
420
|
-
},
|
|
421
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
422
|
-
id: string;
|
|
423
|
-
}, {
|
|
424
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
425
|
-
id: string;
|
|
426
|
-
}>;
|
|
252
|
+
}, z.core.$strip>;
|
|
427
253
|
issue: z.ZodString;
|
|
428
254
|
sourceFile: z.ZodString;
|
|
429
255
|
targetFile: z.ZodString;
|
|
430
|
-
},
|
|
431
|
-
unit: {
|
|
432
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
433
|
-
id: string;
|
|
434
|
-
};
|
|
435
|
-
issue: string;
|
|
436
|
-
sourceFile: string;
|
|
437
|
-
targetFile: string;
|
|
438
|
-
}, {
|
|
439
|
-
unit: {
|
|
440
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
441
|
-
id: string;
|
|
442
|
-
};
|
|
443
|
-
issue: string;
|
|
444
|
-
sourceFile: string;
|
|
445
|
-
targetFile: string;
|
|
446
|
-
}>, "many">;
|
|
256
|
+
}, z.core.$strip>>;
|
|
447
257
|
copiedFiles: z.ZodArray<z.ZodObject<{
|
|
448
258
|
source: z.ZodString;
|
|
449
259
|
destination: z.ZodString;
|
|
450
260
|
unit: z.ZodObject<{
|
|
451
|
-
kind: z.ZodEnum<
|
|
261
|
+
kind: z.ZodEnum<{
|
|
262
|
+
integration: "integration";
|
|
263
|
+
"mcp-server": "mcp-server";
|
|
264
|
+
tool: "tool";
|
|
265
|
+
workflow: "workflow";
|
|
266
|
+
agent: "agent";
|
|
267
|
+
network: "network";
|
|
268
|
+
other: "other";
|
|
269
|
+
}>;
|
|
452
270
|
id: z.ZodString;
|
|
453
|
-
},
|
|
454
|
-
|
|
455
|
-
id: string;
|
|
456
|
-
}, {
|
|
457
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
458
|
-
id: string;
|
|
459
|
-
}>;
|
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
source: string;
|
|
462
|
-
destination: string;
|
|
463
|
-
unit: {
|
|
464
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
465
|
-
id: string;
|
|
466
|
-
};
|
|
467
|
-
}, {
|
|
468
|
-
source: string;
|
|
469
|
-
destination: string;
|
|
470
|
-
unit: {
|
|
471
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
472
|
-
id: string;
|
|
473
|
-
};
|
|
474
|
-
}>, "many">;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>>;
|
|
475
273
|
templateDir: z.ZodString;
|
|
476
274
|
commitSha: z.ZodString;
|
|
477
275
|
slug: z.ZodString;
|
|
478
276
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
479
277
|
branchName: z.ZodOptional<z.ZodString>;
|
|
480
|
-
},
|
|
481
|
-
slug: string;
|
|
482
|
-
commitSha: string;
|
|
483
|
-
templateDir: string;
|
|
484
|
-
copiedFiles: {
|
|
485
|
-
source: string;
|
|
486
|
-
destination: string;
|
|
487
|
-
unit: {
|
|
488
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
489
|
-
id: string;
|
|
490
|
-
};
|
|
491
|
-
}[];
|
|
492
|
-
conflicts: {
|
|
493
|
-
unit: {
|
|
494
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
495
|
-
id: string;
|
|
496
|
-
};
|
|
497
|
-
issue: string;
|
|
498
|
-
sourceFile: string;
|
|
499
|
-
targetFile: string;
|
|
500
|
-
}[];
|
|
501
|
-
targetPath?: string | undefined;
|
|
502
|
-
branchName?: string | undefined;
|
|
503
|
-
}, {
|
|
504
|
-
slug: string;
|
|
505
|
-
commitSha: string;
|
|
506
|
-
templateDir: string;
|
|
507
|
-
copiedFiles: {
|
|
508
|
-
source: string;
|
|
509
|
-
destination: string;
|
|
510
|
-
unit: {
|
|
511
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
512
|
-
id: string;
|
|
513
|
-
};
|
|
514
|
-
}[];
|
|
515
|
-
conflicts: {
|
|
516
|
-
unit: {
|
|
517
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
518
|
-
id: string;
|
|
519
|
-
};
|
|
520
|
-
issue: string;
|
|
521
|
-
sourceFile: string;
|
|
522
|
-
targetFile: string;
|
|
523
|
-
}[];
|
|
524
|
-
targetPath?: string | undefined;
|
|
525
|
-
branchName?: string | undefined;
|
|
526
|
-
}>;
|
|
278
|
+
}, z.core.$strip>;
|
|
527
279
|
export declare const IntelligentMergeResultSchema: z.ZodObject<{
|
|
528
280
|
success: z.ZodBoolean;
|
|
529
281
|
applied: z.ZodBoolean;
|
|
530
282
|
message: z.ZodString;
|
|
531
283
|
conflictsResolved: z.ZodArray<z.ZodObject<{
|
|
532
284
|
unit: z.ZodObject<{
|
|
533
|
-
kind: z.ZodEnum<
|
|
285
|
+
kind: z.ZodEnum<{
|
|
286
|
+
integration: "integration";
|
|
287
|
+
"mcp-server": "mcp-server";
|
|
288
|
+
tool: "tool";
|
|
289
|
+
workflow: "workflow";
|
|
290
|
+
agent: "agent";
|
|
291
|
+
network: "network";
|
|
292
|
+
other: "other";
|
|
293
|
+
}>;
|
|
534
294
|
id: z.ZodString;
|
|
535
|
-
},
|
|
536
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
537
|
-
id: string;
|
|
538
|
-
}, {
|
|
539
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
540
|
-
id: string;
|
|
541
|
-
}>;
|
|
295
|
+
}, z.core.$strip>;
|
|
542
296
|
issue: z.ZodString;
|
|
543
297
|
resolution: z.ZodString;
|
|
544
|
-
},
|
|
545
|
-
unit: {
|
|
546
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
547
|
-
id: string;
|
|
548
|
-
};
|
|
549
|
-
issue: string;
|
|
550
|
-
resolution: string;
|
|
551
|
-
}, {
|
|
552
|
-
unit: {
|
|
553
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
554
|
-
id: string;
|
|
555
|
-
};
|
|
556
|
-
issue: string;
|
|
557
|
-
resolution: string;
|
|
558
|
-
}>, "many">;
|
|
298
|
+
}, z.core.$strip>>;
|
|
559
299
|
error: z.ZodOptional<z.ZodString>;
|
|
560
|
-
},
|
|
561
|
-
message: string;
|
|
562
|
-
success: boolean;
|
|
563
|
-
applied: boolean;
|
|
564
|
-
conflictsResolved: {
|
|
565
|
-
unit: {
|
|
566
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
567
|
-
id: string;
|
|
568
|
-
};
|
|
569
|
-
issue: string;
|
|
570
|
-
resolution: string;
|
|
571
|
-
}[];
|
|
572
|
-
error?: string | undefined;
|
|
573
|
-
}, {
|
|
574
|
-
message: string;
|
|
575
|
-
success: boolean;
|
|
576
|
-
applied: boolean;
|
|
577
|
-
conflictsResolved: {
|
|
578
|
-
unit: {
|
|
579
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
580
|
-
id: string;
|
|
581
|
-
};
|
|
582
|
-
issue: string;
|
|
583
|
-
resolution: string;
|
|
584
|
-
}[];
|
|
585
|
-
error?: string | undefined;
|
|
586
|
-
}>;
|
|
300
|
+
}, z.core.$strip>;
|
|
587
301
|
export declare const ValidationResultsSchema: z.ZodObject<{
|
|
588
302
|
valid: z.ZodBoolean;
|
|
589
303
|
errorsFixed: z.ZodNumber;
|
|
590
304
|
remainingErrors: z.ZodNumber;
|
|
591
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
592
|
-
},
|
|
593
|
-
valid: boolean;
|
|
594
|
-
errorsFixed: number;
|
|
595
|
-
remainingErrors: number;
|
|
596
|
-
errors?: any[] | undefined;
|
|
597
|
-
}, {
|
|
598
|
-
valid: boolean;
|
|
599
|
-
errorsFixed: number;
|
|
600
|
-
remainingErrors: number;
|
|
601
|
-
errors?: any[] | undefined;
|
|
602
|
-
}>;
|
|
305
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
306
|
+
}, z.core.$strip>;
|
|
603
307
|
export declare const ValidationFixInputSchema: z.ZodObject<{
|
|
604
308
|
commitSha: z.ZodString;
|
|
605
309
|
slug: z.ZodString;
|
|
606
310
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
607
311
|
templateDir: z.ZodString;
|
|
608
312
|
orderedUnits: z.ZodArray<z.ZodObject<{
|
|
609
|
-
kind: z.ZodEnum<
|
|
313
|
+
kind: z.ZodEnum<{
|
|
314
|
+
integration: "integration";
|
|
315
|
+
"mcp-server": "mcp-server";
|
|
316
|
+
tool: "tool";
|
|
317
|
+
workflow: "workflow";
|
|
318
|
+
agent: "agent";
|
|
319
|
+
network: "network";
|
|
320
|
+
other: "other";
|
|
321
|
+
}>;
|
|
610
322
|
id: z.ZodString;
|
|
611
323
|
file: z.ZodString;
|
|
612
|
-
},
|
|
613
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
614
|
-
id: string;
|
|
615
|
-
file: string;
|
|
616
|
-
}, {
|
|
617
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
618
|
-
id: string;
|
|
619
|
-
file: string;
|
|
620
|
-
}>, "many">;
|
|
324
|
+
}, z.core.$strip>>;
|
|
621
325
|
copiedFiles: z.ZodArray<z.ZodObject<{
|
|
622
326
|
source: z.ZodString;
|
|
623
327
|
destination: z.ZodString;
|
|
624
328
|
unit: z.ZodObject<{
|
|
625
|
-
kind: z.ZodEnum<
|
|
329
|
+
kind: z.ZodEnum<{
|
|
330
|
+
integration: "integration";
|
|
331
|
+
"mcp-server": "mcp-server";
|
|
332
|
+
tool: "tool";
|
|
333
|
+
workflow: "workflow";
|
|
334
|
+
agent: "agent";
|
|
335
|
+
network: "network";
|
|
336
|
+
other: "other";
|
|
337
|
+
}>;
|
|
626
338
|
id: z.ZodString;
|
|
627
|
-
},
|
|
628
|
-
|
|
629
|
-
id: string;
|
|
630
|
-
}, {
|
|
631
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
632
|
-
id: string;
|
|
633
|
-
}>;
|
|
634
|
-
}, "strip", z.ZodTypeAny, {
|
|
635
|
-
source: string;
|
|
636
|
-
destination: string;
|
|
637
|
-
unit: {
|
|
638
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
639
|
-
id: string;
|
|
640
|
-
};
|
|
641
|
-
}, {
|
|
642
|
-
source: string;
|
|
643
|
-
destination: string;
|
|
644
|
-
unit: {
|
|
645
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
646
|
-
id: string;
|
|
647
|
-
};
|
|
648
|
-
}>, "many">;
|
|
339
|
+
}, z.core.$strip>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
649
341
|
conflictsResolved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
650
342
|
unit: z.ZodObject<{
|
|
651
|
-
kind: z.ZodEnum<
|
|
343
|
+
kind: z.ZodEnum<{
|
|
344
|
+
integration: "integration";
|
|
345
|
+
"mcp-server": "mcp-server";
|
|
346
|
+
tool: "tool";
|
|
347
|
+
workflow: "workflow";
|
|
348
|
+
agent: "agent";
|
|
349
|
+
network: "network";
|
|
350
|
+
other: "other";
|
|
351
|
+
}>;
|
|
652
352
|
id: z.ZodString;
|
|
653
|
-
},
|
|
654
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
655
|
-
id: string;
|
|
656
|
-
}, {
|
|
657
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
658
|
-
id: string;
|
|
659
|
-
}>;
|
|
353
|
+
}, z.core.$strip>;
|
|
660
354
|
issue: z.ZodString;
|
|
661
355
|
resolution: z.ZodString;
|
|
662
|
-
},
|
|
663
|
-
unit: {
|
|
664
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
665
|
-
id: string;
|
|
666
|
-
};
|
|
667
|
-
issue: string;
|
|
668
|
-
resolution: string;
|
|
669
|
-
}, {
|
|
670
|
-
unit: {
|
|
671
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
672
|
-
id: string;
|
|
673
|
-
};
|
|
674
|
-
issue: string;
|
|
675
|
-
resolution: string;
|
|
676
|
-
}>, "many">>;
|
|
356
|
+
}, z.core.$strip>>>;
|
|
677
357
|
maxIterations: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
678
|
-
},
|
|
679
|
-
slug: string;
|
|
680
|
-
commitSha: string;
|
|
681
|
-
templateDir: string;
|
|
682
|
-
orderedUnits: {
|
|
683
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
684
|
-
id: string;
|
|
685
|
-
file: string;
|
|
686
|
-
}[];
|
|
687
|
-
copiedFiles: {
|
|
688
|
-
source: string;
|
|
689
|
-
destination: string;
|
|
690
|
-
unit: {
|
|
691
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
692
|
-
id: string;
|
|
693
|
-
};
|
|
694
|
-
}[];
|
|
695
|
-
maxIterations: number;
|
|
696
|
-
targetPath?: string | undefined;
|
|
697
|
-
conflictsResolved?: {
|
|
698
|
-
unit: {
|
|
699
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
700
|
-
id: string;
|
|
701
|
-
};
|
|
702
|
-
issue: string;
|
|
703
|
-
resolution: string;
|
|
704
|
-
}[] | undefined;
|
|
705
|
-
}, {
|
|
706
|
-
slug: string;
|
|
707
|
-
commitSha: string;
|
|
708
|
-
templateDir: string;
|
|
709
|
-
orderedUnits: {
|
|
710
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
711
|
-
id: string;
|
|
712
|
-
file: string;
|
|
713
|
-
}[];
|
|
714
|
-
copiedFiles: {
|
|
715
|
-
source: string;
|
|
716
|
-
destination: string;
|
|
717
|
-
unit: {
|
|
718
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
719
|
-
id: string;
|
|
720
|
-
};
|
|
721
|
-
}[];
|
|
722
|
-
targetPath?: string | undefined;
|
|
723
|
-
conflictsResolved?: {
|
|
724
|
-
unit: {
|
|
725
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
726
|
-
id: string;
|
|
727
|
-
};
|
|
728
|
-
issue: string;
|
|
729
|
-
resolution: string;
|
|
730
|
-
}[] | undefined;
|
|
731
|
-
maxIterations?: number | undefined;
|
|
732
|
-
}>;
|
|
358
|
+
}, z.core.$strip>;
|
|
733
359
|
export declare const ValidationFixResultSchema: z.ZodObject<{
|
|
734
360
|
success: z.ZodBoolean;
|
|
735
361
|
applied: z.ZodBoolean;
|
|
@@ -738,42 +364,10 @@ export declare const ValidationFixResultSchema: z.ZodObject<{
|
|
|
738
364
|
valid: z.ZodBoolean;
|
|
739
365
|
errorsFixed: z.ZodNumber;
|
|
740
366
|
remainingErrors: z.ZodNumber;
|
|
741
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
742
|
-
},
|
|
743
|
-
valid: boolean;
|
|
744
|
-
errorsFixed: number;
|
|
745
|
-
remainingErrors: number;
|
|
746
|
-
errors?: any[] | undefined;
|
|
747
|
-
}, {
|
|
748
|
-
valid: boolean;
|
|
749
|
-
errorsFixed: number;
|
|
750
|
-
remainingErrors: number;
|
|
751
|
-
errors?: any[] | undefined;
|
|
752
|
-
}>;
|
|
367
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
368
|
+
}, z.core.$strip>;
|
|
753
369
|
error: z.ZodOptional<z.ZodString>;
|
|
754
|
-
},
|
|
755
|
-
message: string;
|
|
756
|
-
success: boolean;
|
|
757
|
-
applied: boolean;
|
|
758
|
-
validationResults: {
|
|
759
|
-
valid: boolean;
|
|
760
|
-
errorsFixed: number;
|
|
761
|
-
remainingErrors: number;
|
|
762
|
-
errors?: any[] | undefined;
|
|
763
|
-
};
|
|
764
|
-
error?: string | undefined;
|
|
765
|
-
}, {
|
|
766
|
-
message: string;
|
|
767
|
-
success: boolean;
|
|
768
|
-
applied: boolean;
|
|
769
|
-
validationResults: {
|
|
770
|
-
valid: boolean;
|
|
771
|
-
errorsFixed: number;
|
|
772
|
-
remainingErrors: number;
|
|
773
|
-
errors?: any[] | undefined;
|
|
774
|
-
};
|
|
775
|
-
error?: string | undefined;
|
|
776
|
-
}>;
|
|
370
|
+
}, z.core.$strip>;
|
|
777
371
|
export declare const ApplyResultSchema: z.ZodObject<{
|
|
778
372
|
success: z.ZodBoolean;
|
|
779
373
|
applied: z.ZodBoolean;
|
|
@@ -783,20 +377,10 @@ export declare const ApplyResultSchema: z.ZodObject<{
|
|
|
783
377
|
valid: z.ZodBoolean;
|
|
784
378
|
errorsFixed: z.ZodNumber;
|
|
785
379
|
remainingErrors: z.ZodNumber;
|
|
786
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
787
|
-
},
|
|
788
|
-
valid: boolean;
|
|
789
|
-
errorsFixed: number;
|
|
790
|
-
remainingErrors: number;
|
|
791
|
-
errors?: any[] | undefined;
|
|
792
|
-
}, {
|
|
793
|
-
valid: boolean;
|
|
794
|
-
errorsFixed: number;
|
|
795
|
-
remainingErrors: number;
|
|
796
|
-
errors?: any[] | undefined;
|
|
797
|
-
}>>;
|
|
380
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
381
|
+
}, z.core.$strip>>;
|
|
798
382
|
error: z.ZodOptional<z.ZodString>;
|
|
799
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodString
|
|
383
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
800
384
|
stepResults: z.ZodOptional<z.ZodObject<{
|
|
801
385
|
cloneSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
802
386
|
analyzeSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -811,92 +395,8 @@ export declare const ApplyResultSchema: z.ZodObject<{
|
|
|
811
395
|
filesCopied: z.ZodNumber;
|
|
812
396
|
conflictsSkipped: z.ZodNumber;
|
|
813
397
|
conflictsResolved: z.ZodNumber;
|
|
814
|
-
},
|
|
815
|
-
|
|
816
|
-
filesCopied: number;
|
|
817
|
-
conflictsSkipped: number;
|
|
818
|
-
cloneSuccess?: boolean | undefined;
|
|
819
|
-
analyzeSuccess?: boolean | undefined;
|
|
820
|
-
discoverSuccess?: boolean | undefined;
|
|
821
|
-
orderSuccess?: boolean | undefined;
|
|
822
|
-
prepareBranchSuccess?: boolean | undefined;
|
|
823
|
-
packageMergeSuccess?: boolean | undefined;
|
|
824
|
-
installSuccess?: boolean | undefined;
|
|
825
|
-
copySuccess?: boolean | undefined;
|
|
826
|
-
mergeSuccess?: boolean | undefined;
|
|
827
|
-
validationSuccess?: boolean | undefined;
|
|
828
|
-
}, {
|
|
829
|
-
conflictsResolved: number;
|
|
830
|
-
filesCopied: number;
|
|
831
|
-
conflictsSkipped: number;
|
|
832
|
-
cloneSuccess?: boolean | undefined;
|
|
833
|
-
analyzeSuccess?: boolean | undefined;
|
|
834
|
-
discoverSuccess?: boolean | undefined;
|
|
835
|
-
orderSuccess?: boolean | undefined;
|
|
836
|
-
prepareBranchSuccess?: boolean | undefined;
|
|
837
|
-
packageMergeSuccess?: boolean | undefined;
|
|
838
|
-
installSuccess?: boolean | undefined;
|
|
839
|
-
copySuccess?: boolean | undefined;
|
|
840
|
-
mergeSuccess?: boolean | undefined;
|
|
841
|
-
validationSuccess?: boolean | undefined;
|
|
842
|
-
}>>;
|
|
843
|
-
}, "strip", z.ZodTypeAny, {
|
|
844
|
-
message: string;
|
|
845
|
-
success: boolean;
|
|
846
|
-
applied: boolean;
|
|
847
|
-
error?: string | undefined;
|
|
848
|
-
branchName?: string | undefined;
|
|
849
|
-
errors?: string[] | undefined;
|
|
850
|
-
validationResults?: {
|
|
851
|
-
valid: boolean;
|
|
852
|
-
errorsFixed: number;
|
|
853
|
-
remainingErrors: number;
|
|
854
|
-
errors?: any[] | undefined;
|
|
855
|
-
} | undefined;
|
|
856
|
-
stepResults?: {
|
|
857
|
-
conflictsResolved: number;
|
|
858
|
-
filesCopied: number;
|
|
859
|
-
conflictsSkipped: number;
|
|
860
|
-
cloneSuccess?: boolean | undefined;
|
|
861
|
-
analyzeSuccess?: boolean | undefined;
|
|
862
|
-
discoverSuccess?: boolean | undefined;
|
|
863
|
-
orderSuccess?: boolean | undefined;
|
|
864
|
-
prepareBranchSuccess?: boolean | undefined;
|
|
865
|
-
packageMergeSuccess?: boolean | undefined;
|
|
866
|
-
installSuccess?: boolean | undefined;
|
|
867
|
-
copySuccess?: boolean | undefined;
|
|
868
|
-
mergeSuccess?: boolean | undefined;
|
|
869
|
-
validationSuccess?: boolean | undefined;
|
|
870
|
-
} | undefined;
|
|
871
|
-
}, {
|
|
872
|
-
message: string;
|
|
873
|
-
success: boolean;
|
|
874
|
-
applied: boolean;
|
|
875
|
-
error?: string | undefined;
|
|
876
|
-
branchName?: string | undefined;
|
|
877
|
-
errors?: string[] | undefined;
|
|
878
|
-
validationResults?: {
|
|
879
|
-
valid: boolean;
|
|
880
|
-
errorsFixed: number;
|
|
881
|
-
remainingErrors: number;
|
|
882
|
-
errors?: any[] | undefined;
|
|
883
|
-
} | undefined;
|
|
884
|
-
stepResults?: {
|
|
885
|
-
conflictsResolved: number;
|
|
886
|
-
filesCopied: number;
|
|
887
|
-
conflictsSkipped: number;
|
|
888
|
-
cloneSuccess?: boolean | undefined;
|
|
889
|
-
analyzeSuccess?: boolean | undefined;
|
|
890
|
-
discoverSuccess?: boolean | undefined;
|
|
891
|
-
orderSuccess?: boolean | undefined;
|
|
892
|
-
prepareBranchSuccess?: boolean | undefined;
|
|
893
|
-
packageMergeSuccess?: boolean | undefined;
|
|
894
|
-
installSuccess?: boolean | undefined;
|
|
895
|
-
copySuccess?: boolean | undefined;
|
|
896
|
-
mergeSuccess?: boolean | undefined;
|
|
897
|
-
validationSuccess?: boolean | undefined;
|
|
898
|
-
} | undefined;
|
|
899
|
-
}>;
|
|
398
|
+
}, z.core.$strip>>;
|
|
399
|
+
}, z.core.$strip>;
|
|
900
400
|
export declare const CloneTemplateResultSchema: z.ZodObject<{
|
|
901
401
|
templateDir: z.ZodString;
|
|
902
402
|
commitSha: z.ZodString;
|
|
@@ -904,21 +404,7 @@ export declare const CloneTemplateResultSchema: z.ZodObject<{
|
|
|
904
404
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
905
405
|
error: z.ZodOptional<z.ZodString>;
|
|
906
406
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
907
|
-
},
|
|
908
|
-
slug: string;
|
|
909
|
-
commitSha: string;
|
|
910
|
-
templateDir: string;
|
|
911
|
-
targetPath?: string | undefined;
|
|
912
|
-
success?: boolean | undefined;
|
|
913
|
-
error?: string | undefined;
|
|
914
|
-
}, {
|
|
915
|
-
slug: string;
|
|
916
|
-
commitSha: string;
|
|
917
|
-
templateDir: string;
|
|
918
|
-
targetPath?: string | undefined;
|
|
919
|
-
success?: boolean | undefined;
|
|
920
|
-
error?: string | undefined;
|
|
921
|
-
}>;
|
|
407
|
+
}, z.core.$strip>;
|
|
922
408
|
export declare const PackageAnalysisSchema: z.ZodObject<{
|
|
923
409
|
name: z.ZodOptional<z.ZodString>;
|
|
924
410
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -929,93 +415,41 @@ export declare const PackageAnalysisSchema: z.ZodObject<{
|
|
|
929
415
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
930
416
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
931
417
|
error: z.ZodOptional<z.ZodString>;
|
|
932
|
-
},
|
|
933
|
-
description?: string | undefined;
|
|
934
|
-
success?: boolean | undefined;
|
|
935
|
-
error?: string | undefined;
|
|
936
|
-
name?: string | undefined;
|
|
937
|
-
version?: string | undefined;
|
|
938
|
-
dependencies?: Record<string, string> | undefined;
|
|
939
|
-
devDependencies?: Record<string, string> | undefined;
|
|
940
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
941
|
-
scripts?: Record<string, string> | undefined;
|
|
942
|
-
}, {
|
|
943
|
-
description?: string | undefined;
|
|
944
|
-
success?: boolean | undefined;
|
|
945
|
-
error?: string | undefined;
|
|
946
|
-
name?: string | undefined;
|
|
947
|
-
version?: string | undefined;
|
|
948
|
-
dependencies?: Record<string, string> | undefined;
|
|
949
|
-
devDependencies?: Record<string, string> | undefined;
|
|
950
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
951
|
-
scripts?: Record<string, string> | undefined;
|
|
952
|
-
}>;
|
|
418
|
+
}, z.core.$strip>;
|
|
953
419
|
export declare const DiscoveryResultSchema: z.ZodObject<{
|
|
954
420
|
units: z.ZodArray<z.ZodObject<{
|
|
955
|
-
kind: z.ZodEnum<
|
|
421
|
+
kind: z.ZodEnum<{
|
|
422
|
+
integration: "integration";
|
|
423
|
+
"mcp-server": "mcp-server";
|
|
424
|
+
tool: "tool";
|
|
425
|
+
workflow: "workflow";
|
|
426
|
+
agent: "agent";
|
|
427
|
+
network: "network";
|
|
428
|
+
other: "other";
|
|
429
|
+
}>;
|
|
956
430
|
id: z.ZodString;
|
|
957
431
|
file: z.ZodString;
|
|
958
|
-
},
|
|
959
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
960
|
-
id: string;
|
|
961
|
-
file: string;
|
|
962
|
-
}, {
|
|
963
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
964
|
-
id: string;
|
|
965
|
-
file: string;
|
|
966
|
-
}>, "many">;
|
|
432
|
+
}, z.core.$strip>>;
|
|
967
433
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
968
434
|
error: z.ZodOptional<z.ZodString>;
|
|
969
|
-
},
|
|
970
|
-
units: {
|
|
971
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
972
|
-
id: string;
|
|
973
|
-
file: string;
|
|
974
|
-
}[];
|
|
975
|
-
success?: boolean | undefined;
|
|
976
|
-
error?: string | undefined;
|
|
977
|
-
}, {
|
|
978
|
-
units: {
|
|
979
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
980
|
-
id: string;
|
|
981
|
-
file: string;
|
|
982
|
-
}[];
|
|
983
|
-
success?: boolean | undefined;
|
|
984
|
-
error?: string | undefined;
|
|
985
|
-
}>;
|
|
435
|
+
}, z.core.$strip>;
|
|
986
436
|
export declare const OrderedUnitsSchema: z.ZodObject<{
|
|
987
437
|
orderedUnits: z.ZodArray<z.ZodObject<{
|
|
988
|
-
kind: z.ZodEnum<
|
|
438
|
+
kind: z.ZodEnum<{
|
|
439
|
+
integration: "integration";
|
|
440
|
+
"mcp-server": "mcp-server";
|
|
441
|
+
tool: "tool";
|
|
442
|
+
workflow: "workflow";
|
|
443
|
+
agent: "agent";
|
|
444
|
+
network: "network";
|
|
445
|
+
other: "other";
|
|
446
|
+
}>;
|
|
989
447
|
id: z.ZodString;
|
|
990
448
|
file: z.ZodString;
|
|
991
|
-
},
|
|
992
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
993
|
-
id: string;
|
|
994
|
-
file: string;
|
|
995
|
-
}, {
|
|
996
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
997
|
-
id: string;
|
|
998
|
-
file: string;
|
|
999
|
-
}>, "many">;
|
|
449
|
+
}, z.core.$strip>>;
|
|
1000
450
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
1001
451
|
error: z.ZodOptional<z.ZodString>;
|
|
1002
|
-
},
|
|
1003
|
-
orderedUnits: {
|
|
1004
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
1005
|
-
id: string;
|
|
1006
|
-
file: string;
|
|
1007
|
-
}[];
|
|
1008
|
-
success?: boolean | undefined;
|
|
1009
|
-
error?: string | undefined;
|
|
1010
|
-
}, {
|
|
1011
|
-
orderedUnits: {
|
|
1012
|
-
kind: "integration" | "mcp-server" | "tool" | "workflow" | "agent" | "network" | "other";
|
|
1013
|
-
id: string;
|
|
1014
|
-
file: string;
|
|
1015
|
-
}[];
|
|
1016
|
-
success?: boolean | undefined;
|
|
1017
|
-
error?: string | undefined;
|
|
1018
|
-
}>;
|
|
452
|
+
}, z.core.$strip>;
|
|
1019
453
|
export declare const PackageMergeInputSchema: z.ZodObject<{
|
|
1020
454
|
commitSha: z.ZodString;
|
|
1021
455
|
slug: z.ZodString;
|
|
@@ -1030,115 +464,29 @@ export declare const PackageMergeInputSchema: z.ZodObject<{
|
|
|
1030
464
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1031
465
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
1032
466
|
error: z.ZodOptional<z.ZodString>;
|
|
1033
|
-
},
|
|
1034
|
-
|
|
1035
|
-
success?: boolean | undefined;
|
|
1036
|
-
error?: string | undefined;
|
|
1037
|
-
name?: string | undefined;
|
|
1038
|
-
version?: string | undefined;
|
|
1039
|
-
dependencies?: Record<string, string> | undefined;
|
|
1040
|
-
devDependencies?: Record<string, string> | undefined;
|
|
1041
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
1042
|
-
scripts?: Record<string, string> | undefined;
|
|
1043
|
-
}, {
|
|
1044
|
-
description?: string | undefined;
|
|
1045
|
-
success?: boolean | undefined;
|
|
1046
|
-
error?: string | undefined;
|
|
1047
|
-
name?: string | undefined;
|
|
1048
|
-
version?: string | undefined;
|
|
1049
|
-
dependencies?: Record<string, string> | undefined;
|
|
1050
|
-
devDependencies?: Record<string, string> | undefined;
|
|
1051
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
1052
|
-
scripts?: Record<string, string> | undefined;
|
|
1053
|
-
}>;
|
|
1054
|
-
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
slug: string;
|
|
1056
|
-
commitSha: string;
|
|
1057
|
-
packageInfo: {
|
|
1058
|
-
description?: string | undefined;
|
|
1059
|
-
success?: boolean | undefined;
|
|
1060
|
-
error?: string | undefined;
|
|
1061
|
-
name?: string | undefined;
|
|
1062
|
-
version?: string | undefined;
|
|
1063
|
-
dependencies?: Record<string, string> | undefined;
|
|
1064
|
-
devDependencies?: Record<string, string> | undefined;
|
|
1065
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
1066
|
-
scripts?: Record<string, string> | undefined;
|
|
1067
|
-
};
|
|
1068
|
-
targetPath?: string | undefined;
|
|
1069
|
-
}, {
|
|
1070
|
-
slug: string;
|
|
1071
|
-
commitSha: string;
|
|
1072
|
-
packageInfo: {
|
|
1073
|
-
description?: string | undefined;
|
|
1074
|
-
success?: boolean | undefined;
|
|
1075
|
-
error?: string | undefined;
|
|
1076
|
-
name?: string | undefined;
|
|
1077
|
-
version?: string | undefined;
|
|
1078
|
-
dependencies?: Record<string, string> | undefined;
|
|
1079
|
-
devDependencies?: Record<string, string> | undefined;
|
|
1080
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
1081
|
-
scripts?: Record<string, string> | undefined;
|
|
1082
|
-
};
|
|
1083
|
-
targetPath?: string | undefined;
|
|
1084
|
-
}>;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
}, z.core.$strip>;
|
|
1085
469
|
export declare const PackageMergeResultSchema: z.ZodObject<{
|
|
1086
470
|
success: z.ZodBoolean;
|
|
1087
471
|
applied: z.ZodBoolean;
|
|
1088
472
|
message: z.ZodString;
|
|
1089
473
|
error: z.ZodOptional<z.ZodString>;
|
|
1090
|
-
},
|
|
1091
|
-
message: string;
|
|
1092
|
-
success: boolean;
|
|
1093
|
-
applied: boolean;
|
|
1094
|
-
error?: string | undefined;
|
|
1095
|
-
}, {
|
|
1096
|
-
message: string;
|
|
1097
|
-
success: boolean;
|
|
1098
|
-
applied: boolean;
|
|
1099
|
-
error?: string | undefined;
|
|
1100
|
-
}>;
|
|
474
|
+
}, z.core.$strip>;
|
|
1101
475
|
export declare const InstallInputSchema: z.ZodObject<{
|
|
1102
476
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
},
|
|
1104
|
-
targetPath?: string | undefined;
|
|
1105
|
-
}, {
|
|
1106
|
-
targetPath?: string | undefined;
|
|
1107
|
-
}>;
|
|
477
|
+
}, z.core.$strip>;
|
|
1108
478
|
export declare const InstallResultSchema: z.ZodObject<{
|
|
1109
479
|
success: z.ZodBoolean;
|
|
1110
480
|
error: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
},
|
|
1112
|
-
success: boolean;
|
|
1113
|
-
error?: string | undefined;
|
|
1114
|
-
}, {
|
|
1115
|
-
success: boolean;
|
|
1116
|
-
error?: string | undefined;
|
|
1117
|
-
}>;
|
|
481
|
+
}, z.core.$strip>;
|
|
1118
482
|
export declare const PrepareBranchInputSchema: z.ZodObject<{
|
|
1119
483
|
slug: z.ZodString;
|
|
1120
484
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
1121
485
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
1122
|
-
},
|
|
1123
|
-
slug: string;
|
|
1124
|
-
targetPath?: string | undefined;
|
|
1125
|
-
commitSha?: string | undefined;
|
|
1126
|
-
}, {
|
|
1127
|
-
slug: string;
|
|
1128
|
-
targetPath?: string | undefined;
|
|
1129
|
-
commitSha?: string | undefined;
|
|
1130
|
-
}>;
|
|
486
|
+
}, z.core.$strip>;
|
|
1131
487
|
export declare const PrepareBranchResultSchema: z.ZodObject<{
|
|
1132
488
|
branchName: z.ZodString;
|
|
1133
489
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
1134
490
|
error: z.ZodOptional<z.ZodString>;
|
|
1135
|
-
},
|
|
1136
|
-
branchName: string;
|
|
1137
|
-
success?: boolean | undefined;
|
|
1138
|
-
error?: string | undefined;
|
|
1139
|
-
}, {
|
|
1140
|
-
branchName: string;
|
|
1141
|
-
success?: boolean | undefined;
|
|
1142
|
-
error?: string | undefined;
|
|
1143
|
-
}>;
|
|
491
|
+
}, z.core.$strip>;
|
|
1144
492
|
//# sourceMappingURL=types.d.ts.map
|