@mastra/agent-builder 0.0.0-experimental-agent-builder-20250815195917 → 0.0.0-message-file-url-handling-fix-20250904234524

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