@mastra/agent-builder 0.0.1-alpha.1 → 0.0.1-alpha.2

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