@auto-engineer/app-implementer 1.12.1
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 +12 -0
- package/LICENSE +10 -0
- package/dist/src/app-generator.d.ts +42 -0
- package/dist/src/app-generator.d.ts.map +1 -0
- package/dist/src/app-generator.js +189 -0
- package/dist/src/app-generator.js.map +1 -0
- package/dist/src/app-writer.d.ts +12 -0
- package/dist/src/app-writer.d.ts.map +1 -0
- package/dist/src/app-writer.js +17 -0
- package/dist/src/app-writer.js.map +1 -0
- package/dist/src/commands/implement-react-app.d.ts +23 -0
- package/dist/src/commands/implement-react-app.d.ts.map +1 -0
- package/dist/src/commands/implement-react-app.js +134 -0
- package/dist/src/commands/implement-react-app.js.map +1 -0
- package/dist/src/component-discovery.d.ts +17 -0
- package/dist/src/component-discovery.d.ts.map +1 -0
- package/dist/src/component-discovery.js +29 -0
- package/dist/src/component-discovery.js.map +1 -0
- package/dist/src/file-tree.d.ts +8 -0
- package/dist/src/file-tree.d.ts.map +1 -0
- package/dist/src/file-tree.js +13 -0
- package/dist/src/file-tree.js.map +1 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/journey-analyzer.d.ts +38 -0
- package/dist/src/journey-analyzer.d.ts.map +1 -0
- package/dist/src/journey-analyzer.js +67 -0
- package/dist/src/journey-analyzer.js.map +1 -0
- package/dist/src/mcp-client.d.ts +10 -0
- package/dist/src/mcp-client.d.ts.map +1 -0
- package/dist/src/mcp-client.js +43 -0
- package/dist/src/mcp-client.js.map +1 -0
- package/dist/src/type-checker.d.ts +6 -0
- package/dist/src/type-checker.d.ts.map +1 -0
- package/dist/src/type-checker.js +34 -0
- package/dist/src/type-checker.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +35 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @auto-engineer/app-implementer
|
|
2
|
+
|
|
3
|
+
## 1.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6557224`](https://github.com/BeOnAuto/auto-engineer/commit/6557224ec6f51c704855e5058931e81ab1de1544) Thanks [@osamanar](https://github.com/osamanar)! - - Updated project dependency lock file to ensure consistent package installations
|
|
8
|
+
|
|
9
|
+
- [`cd5f56b`](https://github.com/BeOnAuto/auto-engineer/commit/cd5f56b01951cd27392c51a384706a8c2a7401c5) Thanks [@osamanar](https://github.com/osamanar)! - - Removed unused packages to keep the project lean and reduce maintenance overhead
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`6557224`](https://github.com/BeOnAuto/auto-engineer/commit/6557224ec6f51c704855e5058931e81ab1de1544), [`cd5f56b`](https://github.com/BeOnAuto/auto-engineer/commit/cd5f56b01951cd27392c51a384706a8c2a7401c5)]:
|
|
12
|
+
- @auto-engineer/message-bus@1.12.1
|
package/LICENSE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright 2024 Sam Hatoum
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are licensed under the Elastic License 2.0 (the "License"). You may not use this file except in compliance with the License.
|
|
6
|
+
|
|
7
|
+
You may obtain a copy of the License at:
|
|
8
|
+
https://www.elastic.co/licensing/elastic-license
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { LanguageModel } from 'ai';
|
|
2
|
+
import type { ComponentCatalog } from './component-discovery.js';
|
|
3
|
+
import type { UserJourney } from './journey-analyzer.js';
|
|
4
|
+
export interface GeneratedFile {
|
|
5
|
+
path: string;
|
|
6
|
+
content: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GeneratedApp {
|
|
9
|
+
files: GeneratedFile[];
|
|
10
|
+
}
|
|
11
|
+
export interface AppGenerationContext {
|
|
12
|
+
journey: UserJourney;
|
|
13
|
+
catalog: ComponentCatalog;
|
|
14
|
+
fileTree: string;
|
|
15
|
+
}
|
|
16
|
+
export interface Message {
|
|
17
|
+
role: 'user' | 'assistant';
|
|
18
|
+
content: string;
|
|
19
|
+
}
|
|
20
|
+
export interface RefinementHistory {
|
|
21
|
+
messages: Message[];
|
|
22
|
+
}
|
|
23
|
+
export interface TokenUsage {
|
|
24
|
+
inputTokens: number;
|
|
25
|
+
outputTokens: number;
|
|
26
|
+
totalTokens: number;
|
|
27
|
+
}
|
|
28
|
+
export declare function buildAppSystemPrompt(catalog: ComponentCatalog, fileTree: string): string;
|
|
29
|
+
export declare function buildAppUserPrompt(context: AppGenerationContext): string;
|
|
30
|
+
export declare function parseGeneratedFiles(text: string): GeneratedFile[];
|
|
31
|
+
export declare function extractErroredFiles(errors: string[], allFiles: GeneratedFile[]): GeneratedFile[];
|
|
32
|
+
export declare function generateApp(context: AppGenerationContext, model: LanguageModel): Promise<{
|
|
33
|
+
app: GeneratedApp;
|
|
34
|
+
history: RefinementHistory;
|
|
35
|
+
usage: TokenUsage;
|
|
36
|
+
}>;
|
|
37
|
+
export declare function refineApp(app: GeneratedApp, errors: string[], catalog: ComponentCatalog, fileTree: string, history: RefinementHistory, model: LanguageModel): Promise<{
|
|
38
|
+
app: GeneratedApp;
|
|
39
|
+
history: RefinementHistory;
|
|
40
|
+
usage: TokenUsage;
|
|
41
|
+
}>;
|
|
42
|
+
//# sourceMappingURL=app-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-generator.d.ts","sourceRoot":"","sources":["../../src/app-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAExC,OAA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wBAAsB,SAAS,CAC7B,GAAG,EAAE,YAAY,EACjB,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC;IAAE,GAAG,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC,CA8B/E"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { generateText } from 'ai';
|
|
2
|
+
export function buildAppSystemPrompt(catalog, fileTree) {
|
|
3
|
+
const lines = [
|
|
4
|
+
'You are a React app generator. Given a user journey and component catalog from Storybook,',
|
|
5
|
+
'generate the complete app source files.',
|
|
6
|
+
'',
|
|
7
|
+
'Generate these files:',
|
|
8
|
+
'- App.tsx: React Router routes for each page, wrapped in BrowserRouter + QueryClientProvider (already in starter)',
|
|
9
|
+
'- pages/*.tsx: One page component per page, composing available components',
|
|
10
|
+
'- layouts/*.tsx: Layout components for shared page structure',
|
|
11
|
+
'',
|
|
12
|
+
'Conventions:',
|
|
13
|
+
'- Import components from "@/components/ui/{kebab-name}" (e.g. import { Button } from "@/components/ui/button")',
|
|
14
|
+
'- Use React Router for navigation: import { Link, useNavigate } from "react-router-dom"',
|
|
15
|
+
'- Use @tanstack/react-query for data fetching (QueryClient already provided in App.tsx)',
|
|
16
|
+
'- Follow the navigation edges from the journey to wire up links/buttons between pages',
|
|
17
|
+
'- Use Tailwind CSS for styling',
|
|
18
|
+
'- Export page components as default exports',
|
|
19
|
+
'- Export layout components as named exports',
|
|
20
|
+
'',
|
|
21
|
+
'UI Building Instructions:',
|
|
22
|
+
catalog.instructions,
|
|
23
|
+
'',
|
|
24
|
+
'Available Components:',
|
|
25
|
+
catalog.overview,
|
|
26
|
+
'',
|
|
27
|
+
'Component Documentation:',
|
|
28
|
+
...catalog.componentDocs.map((doc) => `[${doc.id}]: ${doc.documentation}`),
|
|
29
|
+
'',
|
|
30
|
+
'File Tree:',
|
|
31
|
+
fileTree,
|
|
32
|
+
'Use these exact file paths when constructing import statements. Do not guess or invent file paths.',
|
|
33
|
+
'',
|
|
34
|
+
'Layout Architecture Patterns:',
|
|
35
|
+
'- Full-height layout: <div className="h-screen flex flex-col"><header className="flex-shrink-0">...</header><main className="flex-1 overflow-auto">...</main></div>',
|
|
36
|
+
'- Sidebar + main: <div className="h-full flex"><aside className="w-64 flex-shrink-0 border-r">...</aside><main className="flex-1 overflow-auto">...</main></div>',
|
|
37
|
+
'- Centered content: max-w-7xl mx-auto px-4 sm:px-6 lg:px-8',
|
|
38
|
+
'- Grid layouts: grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6',
|
|
39
|
+
'',
|
|
40
|
+
'Error Prevention Rules:',
|
|
41
|
+
'- Zustand selectors: NEVER use object-literal selectors like useStore(s => ({ a: s.a, b: s.b })). Select primitives individually',
|
|
42
|
+
'- Render loops: NEVER call setState during render. Use useEffect for side effects with stable dependency arrays',
|
|
43
|
+
'- Import validation: Verify named vs default exports. import { Link } from "react-router-dom" (named), not import Link from "react-router-dom"',
|
|
44
|
+
'- Only import packages available in the starter project: react, react-dom, react-router-dom, @tanstack/react-query, graphql-request',
|
|
45
|
+
'',
|
|
46
|
+
'Visual Quality:',
|
|
47
|
+
'- The application must appear visually stunning, professionally crafted, and polished',
|
|
48
|
+
'- Use proper spacing: space-y-16 between sections, space-y-6 between content blocks, space-y-3 between elements',
|
|
49
|
+
'- Use responsive design: mobile-first with sm:, md:, lg: breakpoints',
|
|
50
|
+
'- Include hover states, transitions (transition-all duration-200), and proper focus rings',
|
|
51
|
+
'',
|
|
52
|
+
'Implementation Mindset:',
|
|
53
|
+
'- Generate complete, production-ready code in a single pass',
|
|
54
|
+
'- Every page must render correctly without placeholder or TODO comments',
|
|
55
|
+
'- Handle loading states (skeleton/spinner) and error states (user-friendly messages) for every data-fetching page',
|
|
56
|
+
'',
|
|
57
|
+
'Output format: For each file, output a header line followed by a tsx code block:',
|
|
58
|
+
'<!-- file: path/to/File.tsx -->',
|
|
59
|
+
'```tsx',
|
|
60
|
+
'// file content',
|
|
61
|
+
'```',
|
|
62
|
+
];
|
|
63
|
+
return lines.join('\n');
|
|
64
|
+
}
|
|
65
|
+
export function buildAppUserPrompt(context) {
|
|
66
|
+
const lines = [
|
|
67
|
+
'User Journey:',
|
|
68
|
+
` Entry page: ${context.journey.entryPageId}`,
|
|
69
|
+
'',
|
|
70
|
+
' Pages:',
|
|
71
|
+
...context.journey.pages.map((p) => ` - ${p.pageId}: "${p.name}" (${p.routePath}) — ${p.description}`),
|
|
72
|
+
'',
|
|
73
|
+
' Navigation:',
|
|
74
|
+
...context.journey.navigationEdges.map((e) => ` - ${e.fromPageId} → ${e.toPageId}: ${e.trigger}`),
|
|
75
|
+
'',
|
|
76
|
+
' Data Dependencies:',
|
|
77
|
+
...context.journey.dataDependencies.map((d) => ` - ${d.pageId} needs "${d.requiredData}"${d.sourceRequest ? ` from ${d.sourceRequest}` : ''}`),
|
|
78
|
+
'',
|
|
79
|
+
'Available Components (from Storybook):',
|
|
80
|
+
context.catalog.overview,
|
|
81
|
+
];
|
|
82
|
+
return lines.join('\n');
|
|
83
|
+
}
|
|
84
|
+
export function parseGeneratedFiles(text) {
|
|
85
|
+
const files = [];
|
|
86
|
+
const fileRegex = /<!--\s*file:\s*(.+?)\s*-->\s*```tsx\n([\s\S]*?)```/g;
|
|
87
|
+
let match = fileRegex.exec(text);
|
|
88
|
+
while (match) {
|
|
89
|
+
files.push({ path: match[1].trim(), content: match[2].trim() });
|
|
90
|
+
match = fileRegex.exec(text);
|
|
91
|
+
}
|
|
92
|
+
if (files.length === 0) {
|
|
93
|
+
throw new Error('No generated files found in response');
|
|
94
|
+
}
|
|
95
|
+
return files;
|
|
96
|
+
}
|
|
97
|
+
export function extractErroredFiles(errors, allFiles) {
|
|
98
|
+
const erroredPaths = new Set();
|
|
99
|
+
for (const error of errors) {
|
|
100
|
+
const match = error.match(/^(.+?)\(\d+,\d+\)/);
|
|
101
|
+
if (match) {
|
|
102
|
+
erroredPaths.add(match[1]);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (erroredPaths.size === 0) {
|
|
106
|
+
return allFiles;
|
|
107
|
+
}
|
|
108
|
+
return allFiles.filter((f) => erroredPaths.has(f.path));
|
|
109
|
+
}
|
|
110
|
+
function buildRefinementPrompt(erroredFiles, allFileNames, errors) {
|
|
111
|
+
const lines = [
|
|
112
|
+
'The previous code had type errors. Here are the files with errors and the errors found.',
|
|
113
|
+
'',
|
|
114
|
+
'All files in the app:',
|
|
115
|
+
...allFileNames.map((name) => ` - ${name}`),
|
|
116
|
+
'',
|
|
117
|
+
'Files with errors:',
|
|
118
|
+
'',
|
|
119
|
+
];
|
|
120
|
+
for (const file of erroredFiles) {
|
|
121
|
+
lines.push(`<!-- file: ${file.path} -->`);
|
|
122
|
+
lines.push('```tsx');
|
|
123
|
+
lines.push(file.content);
|
|
124
|
+
lines.push('```');
|
|
125
|
+
lines.push('');
|
|
126
|
+
}
|
|
127
|
+
lines.push('Type errors:');
|
|
128
|
+
lines.push(...errors.map((e) => ` - ${e}`));
|
|
129
|
+
lines.push('');
|
|
130
|
+
lines.push('Fix all the type errors. Output all files again using the same format.');
|
|
131
|
+
return lines.join('\n');
|
|
132
|
+
}
|
|
133
|
+
export async function generateApp(context, model) {
|
|
134
|
+
const system = buildAppSystemPrompt(context.catalog, context.fileTree);
|
|
135
|
+
const prompt = buildAppUserPrompt(context);
|
|
136
|
+
const { text, usage } = await generateText({
|
|
137
|
+
model,
|
|
138
|
+
messages: [
|
|
139
|
+
{
|
|
140
|
+
role: 'system',
|
|
141
|
+
content: system,
|
|
142
|
+
providerOptions: { anthropic: { cacheControl: { type: 'ephemeral' } } },
|
|
143
|
+
},
|
|
144
|
+
{ role: 'user', content: prompt },
|
|
145
|
+
],
|
|
146
|
+
});
|
|
147
|
+
const files = parseGeneratedFiles(text);
|
|
148
|
+
const history = {
|
|
149
|
+
messages: [
|
|
150
|
+
{ role: 'user', content: prompt },
|
|
151
|
+
{ role: 'assistant', content: text },
|
|
152
|
+
],
|
|
153
|
+
};
|
|
154
|
+
const tokenUsage = {
|
|
155
|
+
inputTokens: usage?.promptTokens ?? 0,
|
|
156
|
+
outputTokens: usage?.completionTokens ?? 0,
|
|
157
|
+
totalTokens: (usage?.promptTokens ?? 0) + (usage?.completionTokens ?? 0),
|
|
158
|
+
};
|
|
159
|
+
return { app: { files }, history, usage: tokenUsage };
|
|
160
|
+
}
|
|
161
|
+
export async function refineApp(app, errors, catalog, fileTree, history, model) {
|
|
162
|
+
const system = buildAppSystemPrompt(catalog, fileTree);
|
|
163
|
+
const erroredFiles = extractErroredFiles(errors, app.files);
|
|
164
|
+
const allFileNames = app.files.map((f) => f.path);
|
|
165
|
+
const refinementPrompt = buildRefinementPrompt(erroredFiles, allFileNames, errors);
|
|
166
|
+
const { text, usage } = await generateText({
|
|
167
|
+
model,
|
|
168
|
+
messages: [
|
|
169
|
+
{
|
|
170
|
+
role: 'system',
|
|
171
|
+
content: system,
|
|
172
|
+
providerOptions: { anthropic: { cacheControl: { type: 'ephemeral' } } },
|
|
173
|
+
},
|
|
174
|
+
...history.messages,
|
|
175
|
+
{ role: 'user', content: refinementPrompt },
|
|
176
|
+
],
|
|
177
|
+
});
|
|
178
|
+
const files = parseGeneratedFiles(text);
|
|
179
|
+
const newHistory = {
|
|
180
|
+
messages: [...history.messages, { role: 'user', content: refinementPrompt }, { role: 'assistant', content: text }],
|
|
181
|
+
};
|
|
182
|
+
const tokenUsage = {
|
|
183
|
+
inputTokens: usage?.promptTokens ?? 0,
|
|
184
|
+
outputTokens: usage?.completionTokens ?? 0,
|
|
185
|
+
totalTokens: (usage?.promptTokens ?? 0) + (usage?.completionTokens ?? 0),
|
|
186
|
+
};
|
|
187
|
+
return { app: { files }, history: newHistory, usage: tokenUsage };
|
|
188
|
+
}
|
|
189
|
+
//# sourceMappingURL=app-generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-generator.js","sourceRoot":"","sources":["../../src/app-generator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAkClC,MAAM,UAAU,oBAAoB,CAAC,OAAyB,EAAE,QAAgB;IAC9E,MAAM,KAAK,GAAa;QACtB,2FAA2F;QAC3F,yCAAyC;QACzC,EAAE;QACF,uBAAuB;QACvB,mHAAmH;QACnH,4EAA4E;QAC5E,8DAA8D;QAC9D,EAAE;QACF,cAAc;QACd,gHAAgH;QAChH,yFAAyF;QACzF,yFAAyF;QACzF,uFAAuF;QACvF,gCAAgC;QAChC,6CAA6C;QAC7C,6CAA6C;QAC7C,EAAE;QACF,2BAA2B;QAC3B,OAAO,CAAC,YAAY;QACpB,EAAE;QACF,uBAAuB;QACvB,OAAO,CAAC,QAAQ;QAChB,EAAE;QACF,0BAA0B;QAC1B,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,aAAa,EAAE,CAAC;QAC1E,EAAE;QACF,YAAY;QACZ,QAAQ;QACR,oGAAoG;QACpG,EAAE;QACF,+BAA+B;QAC/B,qKAAqK;QACrK,kKAAkK;QAClK,4DAA4D;QAC5D,sEAAsE;QACtE,EAAE;QACF,yBAAyB;QACzB,kIAAkI;QAClI,iHAAiH;QACjH,gJAAgJ;QAChJ,qIAAqI;QACrI,EAAE;QACF,iBAAiB;QACjB,uFAAuF;QACvF,iHAAiH;QACjH,sEAAsE;QACtE,2FAA2F;QAC3F,EAAE;QACF,yBAAyB;QACzB,6DAA6D;QAC7D,yEAAyE;QACzE,mHAAmH;QACnH,EAAE;QACF,kFAAkF;QAClF,iCAAiC;QACjC,QAAQ;QACR,iBAAiB;QACjB,KAAK;KACN,CAAC;IAEF,OAAO,KAAK,CAAC,I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EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE;aACxE;YACD,GAAG,OAAO,CAAC,QAAQ;YACnB,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE;SAC5C;KACF,CAAC,CAAC;IAEH,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,UAAU,GAAsB;QACpC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KACnH,CAAC;IACF,MAAM,UAAU,GAAe;QAC7B,WAAW,EAAE,KAAK,EAAE,YAAY,IAAI,CAAC;QACrC,YAAY,EAAE,KAAK,EAAE,gBAAgB,IAAI,CAAC;QAC1C,WAAW,EAAE,CAAC,KAAK,EAAE,YAAY,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,gBAAgB,IAAI,CAAC,CAAC;KACzE,CAAC;IAEF,OAAO,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACpE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface GeneratedFile {
|
|
2
|
+
path: string;
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
5
|
+
export interface WriteResult {
|
|
6
|
+
filesWritten: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function writeGeneratedFile(file: GeneratedFile, outputDir: string): Promise<string>;
|
|
9
|
+
export declare function writeApp(app: {
|
|
10
|
+
files: GeneratedFile[];
|
|
11
|
+
}, outputDir: string): Promise<WriteResult>;
|
|
12
|
+
//# sourceMappingURL=app-writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-writer.d.ts","sourceRoot":"","sources":["../../src/app-writer.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKhG;AAED,wBAAsB,QAAQ,CAAC,GAAG,EAAE;IAAE,KAAK,EAAE,aAAa,EAAE,CAAA;CAAE,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAOvG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { mkdir, writeFile } from 'node:fs/promises';
|
|
2
|
+
import { dirname, join } from 'node:path';
|
|
3
|
+
export async function writeGeneratedFile(file, outputDir) {
|
|
4
|
+
const fullPath = join(outputDir, 'src', file.path);
|
|
5
|
+
await mkdir(dirname(fullPath), { recursive: true });
|
|
6
|
+
await writeFile(fullPath, file.content);
|
|
7
|
+
return fullPath;
|
|
8
|
+
}
|
|
9
|
+
export async function writeApp(app, outputDir) {
|
|
10
|
+
const filesWritten = [];
|
|
11
|
+
for (const file of app.files) {
|
|
12
|
+
const written = await writeGeneratedFile(file, outputDir);
|
|
13
|
+
filesWritten.push(written);
|
|
14
|
+
}
|
|
15
|
+
return { filesWritten };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=app-writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-writer.js","sourceRoot":"","sources":["../../src/app-writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAW1C,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,IAAmB,EAAE,SAAiB;IAC7E,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,MAAM,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,MAAM,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,GAA+B,EAAE,SAAiB;IAC/E,MAAM,YAAY,GAAa,EAAE,CAAC;IAClC,KAAK,MAAM,IAAI,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,MAAM,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC1D,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO,EAAE,YAAY,EAAE,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Command, type Event } from '@auto-engineer/message-bus';
|
|
2
|
+
export type ImplementReactAppCommand = Command<'ImplementReactApp', {
|
|
3
|
+
clientDir: string;
|
|
4
|
+
modelPath: string;
|
|
5
|
+
}>;
|
|
6
|
+
export type ReactAppImplementedEvent = Event<'ReactAppImplemented', {
|
|
7
|
+
filesWritten: string[];
|
|
8
|
+
journeyPages: number;
|
|
9
|
+
refinements: number;
|
|
10
|
+
}>;
|
|
11
|
+
export type ReactAppImplementationFailedEvent = Event<'ReactAppImplementationFailed', {
|
|
12
|
+
error: string;
|
|
13
|
+
}>;
|
|
14
|
+
export type ImplementReactAppEvents = ReactAppImplementedEvent | ReactAppImplementationFailedEvent;
|
|
15
|
+
export declare const commandHandler: import("@auto-engineer/message-bus").UnifiedCommandHandler<Readonly<{
|
|
16
|
+
type: string;
|
|
17
|
+
data: Readonly<Record<string, unknown>>;
|
|
18
|
+
timestamp?: Date;
|
|
19
|
+
requestId?: string;
|
|
20
|
+
correlationId?: string;
|
|
21
|
+
}>>;
|
|
22
|
+
export default commandHandler;
|
|
23
|
+
//# sourceMappingURL=implement-react-app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implement-react-app.d.ts","sourceRoot":"","sources":["../../../src/commands/implement-react-app.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAwB,KAAK,KAAK,EAAE,MAAM,4BAA4B,CAAC;AA4B5F,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,mBAAmB,EACnB;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CACF,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAC1C,qBAAqB,EACrB;IACE,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB,CACF,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,KAAK,CACnD,8BAA8B,EAC9B;IACE,KAAK,EAAE,MAAM,CAAC;CACf,CACF,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,GAAG,iCAAiC,CAAC;AAEnG,eAAO,MAAM,cAAc;;;;;;GAyHzB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { readdir, readFile } from 'node:fs/promises';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { createAnthropic } from '@ai-sdk/anthropic';
|
|
4
|
+
import { defineCommandHandler } from '@auto-engineer/message-bus';
|
|
5
|
+
import createDebug from 'debug';
|
|
6
|
+
import { generateApp, refineApp } from '../app-generator.js';
|
|
7
|
+
import { writeApp } from '../app-writer.js';
|
|
8
|
+
import { discoverComponents } from '../component-discovery.js';
|
|
9
|
+
import { scanFileTree } from '../file-tree.js';
|
|
10
|
+
import { analyzeJourney } from '../journey-analyzer.js';
|
|
11
|
+
import { connectMcpClient } from '../mcp-client.js';
|
|
12
|
+
import { checkTypes } from '../type-checker.js';
|
|
13
|
+
const debug = createDebug('auto:app-implementer:command');
|
|
14
|
+
const PORT = 6006;
|
|
15
|
+
const MAX_REFINEMENTS = 3;
|
|
16
|
+
async function checkStorybookRunning() {
|
|
17
|
+
try {
|
|
18
|
+
const response = await fetch(`http://localhost:${PORT}`);
|
|
19
|
+
if (!response.ok) {
|
|
20
|
+
throw new Error('Storybook responded with non-OK status');
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
throw new Error(`Storybook is not running on port ${PORT}. Start it with \`pnpm storybook\` in the client directory before running this command.`);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export const commandHandler = defineCommandHandler({
|
|
28
|
+
name: 'ImplementReactApp',
|
|
29
|
+
displayName: 'Implement React App',
|
|
30
|
+
alias: 'implement:react-app',
|
|
31
|
+
description: 'Generate a complete React application from a narrative model and Storybook component catalog, with type-check refinement',
|
|
32
|
+
category: 'implement',
|
|
33
|
+
icon: 'app',
|
|
34
|
+
fields: {
|
|
35
|
+
clientDir: {
|
|
36
|
+
description: 'The existing client directory (already has components in Storybook)',
|
|
37
|
+
required: true,
|
|
38
|
+
},
|
|
39
|
+
modelPath: {
|
|
40
|
+
description: 'Path to narrative model.json (used for journey analysis)',
|
|
41
|
+
required: true,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
examples: ['$ auto implement:react-app --client-dir=./client --model-path=./.context/model.json'],
|
|
45
|
+
events: [
|
|
46
|
+
{ name: 'ReactAppImplemented', displayName: 'React App Implemented' },
|
|
47
|
+
{ name: 'ReactAppImplementationFailed', displayName: 'React App Implementation Failed' },
|
|
48
|
+
],
|
|
49
|
+
handle: async (command) => {
|
|
50
|
+
const { clientDir, modelPath } = command.data;
|
|
51
|
+
debug('Implementing React app: clientDir=%s, modelPath=%s', clientDir, modelPath);
|
|
52
|
+
let mcpClient;
|
|
53
|
+
try {
|
|
54
|
+
// 1. Read narrative model
|
|
55
|
+
debug('Reading narrative model from %s', modelPath);
|
|
56
|
+
const rawModel = await readFile(modelPath, 'utf-8');
|
|
57
|
+
const narrative = JSON.parse(rawModel);
|
|
58
|
+
// 2. Check Storybook running
|
|
59
|
+
debug('Checking Storybook on port %d...', PORT);
|
|
60
|
+
await checkStorybookRunning();
|
|
61
|
+
// 3. Connect MCP and discover components
|
|
62
|
+
debug('Connecting MCP client...');
|
|
63
|
+
mcpClient = await connectMcpClient({ baseUrl: `http://localhost:${PORT}` });
|
|
64
|
+
debug('Discovering components from Storybook...');
|
|
65
|
+
const resolvedClientDir = path.resolve(clientDir);
|
|
66
|
+
const componentsDir = path.resolve(resolvedClientDir, 'src', 'components', 'ui');
|
|
67
|
+
const [catalog, fileTree] = await Promise.all([
|
|
68
|
+
discoverComponents(mcpClient),
|
|
69
|
+
scanFileTree(componentsDir, { readdir }),
|
|
70
|
+
]);
|
|
71
|
+
debug('Found %d component docs', catalog.componentDocs.length);
|
|
72
|
+
// 4. Journey analysis
|
|
73
|
+
const modelName = process.env.DEFAULT_AI_MODEL ?? 'claude-sonnet-4-20250514';
|
|
74
|
+
debug('Using AI model: %s', modelName);
|
|
75
|
+
const model = createAnthropic()(modelName);
|
|
76
|
+
debug('Analyzing user journey...');
|
|
77
|
+
const { journey } = await analyzeJourney(narrative, catalog, model);
|
|
78
|
+
debug('Journey: %d pages, %d edges', journey.pages.length, journey.navigationEdges.length);
|
|
79
|
+
// 5. Generate app
|
|
80
|
+
debug('Generating app...');
|
|
81
|
+
let { app, history } = await generateApp({ journey, catalog, fileTree }, model);
|
|
82
|
+
debug('Generated %d files', app.files.length);
|
|
83
|
+
// 6. Write files
|
|
84
|
+
debug('Writing files to %s', resolvedClientDir);
|
|
85
|
+
let { filesWritten } = await writeApp(app, resolvedClientDir);
|
|
86
|
+
// 7. Type-check + refinement loop
|
|
87
|
+
let refinements = 0;
|
|
88
|
+
for (let i = 0; i < MAX_REFINEMENTS; i++) {
|
|
89
|
+
debug('Type-checking (attempt %d/%d)...', i + 1, MAX_REFINEMENTS);
|
|
90
|
+
const result = checkTypes(filesWritten, resolvedClientDir);
|
|
91
|
+
if (result.passed) {
|
|
92
|
+
debug('Type check passed');
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
debug('Type errors found: %d, refining...', result.errors.length);
|
|
96
|
+
refinements++;
|
|
97
|
+
const refined = await refineApp(app, result.errors, catalog, fileTree, history, model);
|
|
98
|
+
app = refined.app;
|
|
99
|
+
history = refined.history;
|
|
100
|
+
const writeResult = await writeApp(app, resolvedClientDir);
|
|
101
|
+
filesWritten = writeResult.filesWritten;
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
type: 'ReactAppImplemented',
|
|
105
|
+
data: {
|
|
106
|
+
filesWritten,
|
|
107
|
+
journeyPages: journey.pages.length,
|
|
108
|
+
refinements,
|
|
109
|
+
},
|
|
110
|
+
timestamp: new Date(),
|
|
111
|
+
requestId: command.requestId,
|
|
112
|
+
correlationId: command.correlationId,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
catch (error) {
|
|
116
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
117
|
+
debug('Implementation failed: %s', errorMessage);
|
|
118
|
+
return {
|
|
119
|
+
type: 'ReactAppImplementationFailed',
|
|
120
|
+
data: { error: errorMessage },
|
|
121
|
+
timestamp: new Date(),
|
|
122
|
+
requestId: command.requestId,
|
|
123
|
+
correlationId: command.correlationId,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
finally {
|
|
127
|
+
if (mcpClient) {
|
|
128
|
+
await mcpClient.close();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
export default commandHandler;
|
|
134
|
+
//# sourceMappingURL=implement-react-app.js.map
|
|
@@ -0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QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5E,KAAK,CAAC,2BAA2B,EAAE,YAAY,CAAC,CAAC;YAEjD,OAAO;gBACL,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC7B,SAAS,EAAE,IAAI,IAAI,EAAE;gBACrB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,aAAa,EAAE,OAAO,CAAC,aAAa;aACrC,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,IAAI,SAAS,EAAE,CAAC;gBACd,MAAM,SAAS,CAAC,KAAK,EAAE,CAAC;YAC1B,CAAC;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface McpClient {
|
|
2
|
+
listComponents(): Promise<string>;
|
|
3
|
+
getDocumentation(id: string): Promise<string>;
|
|
4
|
+
getUiBuildingInstructions(): Promise<string>;
|
|
5
|
+
}
|
|
6
|
+
export interface ComponentDoc {
|
|
7
|
+
id: string;
|
|
8
|
+
documentation: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ComponentCatalog {
|
|
11
|
+
overview: string;
|
|
12
|
+
instructions: string;
|
|
13
|
+
componentDocs: ComponentDoc[];
|
|
14
|
+
}
|
|
15
|
+
export declare function extractDesignSystemIds(overview: string): string[];
|
|
16
|
+
export declare function discoverComponents(mcpClient: McpClient): Promise<ComponentCatalog>;
|
|
17
|
+
//# sourceMappingURL=component-discovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-discovery.d.ts","sourceRoot":"","sources":["../../src/component-discovery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC9C,yBAAyB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CASjE;AAED,wBAAsB,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAmBxF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export function extractDesignSystemIds(overview) {
|
|
2
|
+
const ids = [];
|
|
3
|
+
const regex = /\((design-system-[^)]+)\)/g;
|
|
4
|
+
let match = regex.exec(overview);
|
|
5
|
+
while (match) {
|
|
6
|
+
ids.push(match[1]);
|
|
7
|
+
match = regex.exec(overview);
|
|
8
|
+
}
|
|
9
|
+
return ids;
|
|
10
|
+
}
|
|
11
|
+
export async function discoverComponents(mcpClient) {
|
|
12
|
+
const [overview, instructions] = await Promise.all([
|
|
13
|
+
mcpClient.listComponents(),
|
|
14
|
+
mcpClient.getUiBuildingInstructions(),
|
|
15
|
+
]);
|
|
16
|
+
const designSystemIds = extractDesignSystemIds(overview);
|
|
17
|
+
const componentDocs = [];
|
|
18
|
+
for (const id of designSystemIds) {
|
|
19
|
+
try {
|
|
20
|
+
const documentation = await mcpClient.getDocumentation(id);
|
|
21
|
+
componentDocs.push({ id, documentation });
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
// Skip docs that can't be fetched
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return { overview, instructions, componentDocs };
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=component-discovery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-discovery.js","sourceRoot":"","sources":["../../src/component-discovery.ts"],"names":[],"mappings":"AAiBA,MAAM,UAAU,sBAAsB,CAAC,QAAgB;IACrD,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,MAAM,KAAK,GAAG,4BAA4B,CAAC;IAC3C,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjC,OAAO,KAAK,EAAE,CAAC;QACb,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACnB,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,SAAoB;IAC3D,MAAM,CAAC,QAAQ,EAAE,YAAY,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACjD,SAAS,CAAC,cAAc,EAAE;QAC1B,SAAS,CAAC,yBAAyB,EAAE;KACtC,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IAEzD,MAAM,aAAa,GAAmB,EAAE,CAAC;IACzC,KAAK,MAAM,EAAE,IAAI,eAAe,EAAE,CAAC;QACjC,IAAI,CAAC;YACH,MAAM,aAAa,GAAG,MAAM,SAAS,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;YAC3D,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;QAC5C,CAAC;QAAC,MAAM,CAAC;YACP,kCAAkC;QACpC,CAAC;IACH,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AACnD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Dirent } from 'node:fs';
|
|
2
|
+
export interface FileTreeDeps {
|
|
3
|
+
readdir: (path: string, options: {
|
|
4
|
+
withFileTypes: true;
|
|
5
|
+
}) => Promise<Dirent[]>;
|
|
6
|
+
}
|
|
7
|
+
export declare function scanFileTree(dirPath: string, deps: FileTreeDeps): Promise<string>;
|
|
8
|
+
//# sourceMappingURL=file-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-tree.d.ts","sourceRoot":"","sources":["../../src/file-tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,aAAa,EAAE,IAAI,CAAA;KAAE,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CAChF;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAUvF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export async function scanFileTree(dirPath, deps) {
|
|
2
|
+
const entries = await deps.readdir(dirPath, { withFileTypes: true });
|
|
3
|
+
const names = entries
|
|
4
|
+
.filter((e) => {
|
|
5
|
+
if (e.isFile() && e.name.endsWith('.stories.tsx'))
|
|
6
|
+
return false;
|
|
7
|
+
return true;
|
|
8
|
+
})
|
|
9
|
+
.map((e) => (e.isDirectory() ? `${e.name}/` : e.name))
|
|
10
|
+
.sort();
|
|
11
|
+
return names.join('\n');
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=file-tree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-tree.js","sourceRoot":"","sources":["../../src/file-tree.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAAe,EAAE,IAAkB;IACpE,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IACrE,MAAM,KAAK,GAAG,OAAO;SAClB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE;QACZ,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;YAAE,OAAO,KAAK,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;SACrD,IAAI,EAAE,CAAC;IACV,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { ImplementReactAppCommand, ImplementReactAppEvents, } from './commands/implement-react-app.js';
|
|
2
|
+
export { commandHandler as implementReactAppCommandHandler } from './commands/implement-react-app.js';
|
|
3
|
+
export declare const COMMANDS: import("@auto-engineer/message-bus").UnifiedCommandHandler<Readonly<{
|
|
4
|
+
type: string;
|
|
5
|
+
data: Readonly<Record<string, unknown>>;
|
|
6
|
+
timestamp?: Date;
|
|
7
|
+
requestId?: string;
|
|
8
|
+
correlationId?: string;
|
|
9
|
+
}>>[];
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,cAAc,IAAI,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAGtG,eAAO,MAAM,QAAQ;;;;;;KAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEtG,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { LanguageModel } from 'ai';
|
|
2
|
+
import type { ComponentCatalog } from './component-discovery.js';
|
|
3
|
+
export interface NavigationEdge {
|
|
4
|
+
fromPageId: string;
|
|
5
|
+
toPageId: string;
|
|
6
|
+
trigger: string;
|
|
7
|
+
triggerComponentId?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DataDependency {
|
|
10
|
+
pageId: string;
|
|
11
|
+
requiredData: string;
|
|
12
|
+
sourcePageId?: string;
|
|
13
|
+
sourceRequest?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UserJourney {
|
|
16
|
+
entryPageId: string;
|
|
17
|
+
pages: Array<{
|
|
18
|
+
pageId: string;
|
|
19
|
+
routePath: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
}>;
|
|
23
|
+
navigationEdges: NavigationEdge[];
|
|
24
|
+
dataDependencies: DataDependency[];
|
|
25
|
+
}
|
|
26
|
+
export interface TokenUsage {
|
|
27
|
+
inputTokens: number;
|
|
28
|
+
outputTokens: number;
|
|
29
|
+
totalTokens: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function buildJourneySystemPrompt(): string;
|
|
32
|
+
export declare function buildJourneyUserPrompt(narrative: unknown, catalog: ComponentCatalog): string;
|
|
33
|
+
export declare function parseJourneyResponse(text: string): UserJourney;
|
|
34
|
+
export declare function analyzeJourney(narrative: unknown, catalog: ComponentCatalog, model: LanguageModel): Promise<{
|
|
35
|
+
journey: UserJourney;
|
|
36
|
+
usage: TokenUsage;
|
|
37
|
+
}>;
|
|
38
|
+
//# sourceMappingURL=journey-analyzer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journey-analyzer.d.ts","sourceRoot":"","sources":["../../src/journey-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAExC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvF,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,gBAAgB,EAAE,cAAc,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,wBAAwB,IAAI,MAAM,CA2BjD;AAED,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAU5F;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAO9D;AAED,wBAAsB,cAAc,CAClC,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,gBAAgB,EACzB,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC,CAkBtD"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { generateText } from 'ai';
|
|
2
|
+
export function buildJourneySystemPrompt() {
|
|
3
|
+
return [
|
|
4
|
+
'You are a UX journey analyzer. Given a narrative model and the available component catalog from Storybook,',
|
|
5
|
+
'determine the user journey through the application.',
|
|
6
|
+
'',
|
|
7
|
+
'The narrative model describes user stories, features, and flows. The component catalog shows what pages,',
|
|
8
|
+
'templates, and UI components are available in Storybook. Use both to determine:',
|
|
9
|
+
'',
|
|
10
|
+
'Analyze:',
|
|
11
|
+
'- Which pages should exist based on the narrative and available page/template components',
|
|
12
|
+
'- Routes for each page',
|
|
13
|
+
'- How users navigate between pages (buttons, links, form submissions)',
|
|
14
|
+
'- Which components trigger navigation',
|
|
15
|
+
'- What data each page needs and where it comes from',
|
|
16
|
+
'- Which page is the entry point (typically "/" or the main landing page)',
|
|
17
|
+
'- Primary vs secondary navigation (main nav bar vs contextual links within pages)',
|
|
18
|
+
'- State management considerations: what data persists across pages (e.g. cart items, user session, search filters)',
|
|
19
|
+
'- Loading and error state planning: for each page, what loading states are needed and how errors should be handled',
|
|
20
|
+
'',
|
|
21
|
+
'Respond with a single JSON object (no markdown fences) matching this schema:',
|
|
22
|
+
'{',
|
|
23
|
+
' "entryPageId": "string",',
|
|
24
|
+
' "pages": [{ "pageId": "string", "routePath": "string", "name": "string", "description": "string" }],',
|
|
25
|
+
' "navigationEdges": [{ "fromPageId": "string", "toPageId": "string", "trigger": "string", "triggerComponentId": "string (optional)" }],',
|
|
26
|
+
' "dataDependencies": [{ "pageId": "string", "requiredData": "string", "sourcePageId": "string (optional)", "sourceRequest": "string (optional)" }]',
|
|
27
|
+
'}',
|
|
28
|
+
].join('\n');
|
|
29
|
+
}
|
|
30
|
+
export function buildJourneyUserPrompt(narrative, catalog) {
|
|
31
|
+
const lines = [
|
|
32
|
+
'Narrative Model:',
|
|
33
|
+
JSON.stringify(narrative, null, 2),
|
|
34
|
+
'',
|
|
35
|
+
'Available Components (from Storybook):',
|
|
36
|
+
catalog.overview,
|
|
37
|
+
];
|
|
38
|
+
return lines.join('\n');
|
|
39
|
+
}
|
|
40
|
+
export function parseJourneyResponse(text) {
|
|
41
|
+
const jsonMatch = text.match(/\{[\s\S]*\}/);
|
|
42
|
+
if (!jsonMatch) {
|
|
43
|
+
throw new Error('No JSON object found in journey response');
|
|
44
|
+
}
|
|
45
|
+
const parsed = JSON.parse(jsonMatch[0]);
|
|
46
|
+
return parsed;
|
|
47
|
+
}
|
|
48
|
+
export async function analyzeJourney(narrative, catalog, model) {
|
|
49
|
+
const { text, usage } = await generateText({
|
|
50
|
+
model,
|
|
51
|
+
messages: [
|
|
52
|
+
{
|
|
53
|
+
role: 'system',
|
|
54
|
+
content: buildJourneySystemPrompt(),
|
|
55
|
+
providerOptions: { anthropic: { cacheControl: { type: 'ephemeral' } } },
|
|
56
|
+
},
|
|
57
|
+
{ role: 'user', content: buildJourneyUserPrompt(narrative, catalog) },
|
|
58
|
+
],
|
|
59
|
+
});
|
|
60
|
+
const tokenUsage = {
|
|
61
|
+
inputTokens: usage?.promptTokens ?? 0,
|
|
62
|
+
outputTokens: usage?.completionTokens ?? 0,
|
|
63
|
+
totalTokens: (usage?.promptTokens ?? 0) + (usage?.completionTokens ?? 0),
|
|
64
|
+
};
|
|
65
|
+
return { journey: parseJourneyResponse(text), usage: tokenUsage };
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=journey-analyzer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journey-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,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,YAAY,CAAC;QACzC,KAAK;QACL,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wBAAwB,EAAE;gBACnC,eAAe,EAAE,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE;aACxE;YACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,sBAAsB,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE;SACtE;KACF,CAAC,CAAC;IACH,MAAM,UAAU,GAAe;QAC7B,WAAW,EAAE,KAAK,EAAE,YAAY,IAAI,CAAC;QACrC,YAAY,EAAE,KAAK,EAAE,gBAAgB,IAAI,CAAC;QAC1C,WAAW,EAAE,CAAC,KAAK,EAAE,YAAY,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,gBAAgB,IAAI,CAAC,CAAC;KACzE,CAAC;IACF,OAAO,EAAE,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACpE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function connectMcpClient(config: {
|
|
2
|
+
baseUrl: string;
|
|
3
|
+
}): Promise<{
|
|
4
|
+
listComponents(): Promise<string>;
|
|
5
|
+
getStoryUrl(exportName: string, absoluteStoryPath: string): Promise<string>;
|
|
6
|
+
getUiBuildingInstructions(): Promise<string>;
|
|
7
|
+
getDocumentation(id: string): Promise<string>;
|
|
8
|
+
close: () => Promise<void>;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=mcp-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-client.d.ts","sourceRoot":"","sources":["../../src/mcp-client.ts"],"names":[],"mappings":"AA6BA,wBAAsB,gBAAgB,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;sBAItC,OAAO,CAAC,MAAM,CAAC;4BAGT,MAAM,qBAAqB,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;iCAK9C,OAAO,CAAC,MAAM,CAAC;yBAGvB,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;iBArB1C,OAAO,CAAC,IAAI,CAAC;GA0BzB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
|
|
2
|
+
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
3
|
+
async function connectToMcp(baseUrl) {
|
|
4
|
+
const url = new URL(`${baseUrl}/mcp`);
|
|
5
|
+
const transport = new StreamableHTTPClientTransport(url);
|
|
6
|
+
const client = new Client({ name: 'app-implementer', version: '1.0.0' });
|
|
7
|
+
await client.connect(transport);
|
|
8
|
+
return {
|
|
9
|
+
async callTool(name, args) {
|
|
10
|
+
const result = await client.callTool({ name, arguments: args });
|
|
11
|
+
const castResult = result;
|
|
12
|
+
const textContent = castResult.content.find((c) => c.type === 'text');
|
|
13
|
+
if (!textContent || typeof textContent.text !== 'string') {
|
|
14
|
+
throw new Error(`No text content in response for tool: ${name}`);
|
|
15
|
+
}
|
|
16
|
+
return textContent.text;
|
|
17
|
+
},
|
|
18
|
+
close() {
|
|
19
|
+
return client.close();
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export async function connectMcpClient(config) {
|
|
24
|
+
const connection = await connectToMcp(config.baseUrl);
|
|
25
|
+
return {
|
|
26
|
+
async listComponents() {
|
|
27
|
+
return connection.callTool('list-all-documentation', {});
|
|
28
|
+
},
|
|
29
|
+
async getStoryUrl(exportName, absoluteStoryPath) {
|
|
30
|
+
return connection.callTool('preview-stories', {
|
|
31
|
+
stories: [{ exportName, absoluteStoryPath }],
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
async getUiBuildingInstructions() {
|
|
35
|
+
return connection.callTool('get-storybook-story-instructions', {});
|
|
36
|
+
},
|
|
37
|
+
async getDocumentation(id) {
|
|
38
|
+
return connection.callTool('get-documentation', { id });
|
|
39
|
+
},
|
|
40
|
+
close: connection.close.bind(connection),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=mcp-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-client.js","sourceRoot":"","sources":["../../src/mcp-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oDAAoD,CAAC;AAMnG,KAAK,UAAU,YAAY,CAAC,OAAe;IACzC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;IACtC,MAAM,SAAS,GAAG,IAAI,6BAA6B,CAAC,GAAG,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IACzE,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAEhC,OAAO;QACL,KAAK,CAAC,QAAQ,CAAC,IAAY,EAAE,IAA6B;YACxD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAChE,MAAM,UAAU,GAAG,MAAwB,CAAC;YAC5C,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC;YACtE,IAAI,CAAC,WAAW,IAAI,OAAO,WAAW,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;gBACzD,MAAM,IAAI,KAAK,CAAC,yCAAyC,IAAI,EAAE,CAAC,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@ -0,0 +1,34 @@
|
|
|
1
|
+
import { execSync } from 'node:child_process';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
function getExecOutput(error) {
|
|
4
|
+
if (typeof error !== 'object' || error === null) {
|
|
5
|
+
return { stdout: '', stderr: '' };
|
|
6
|
+
}
|
|
7
|
+
const stdout = 'stdout' in error && typeof error.stdout === 'string' ? error.stdout : '';
|
|
8
|
+
const stderr = 'stderr' in error && typeof error.stderr === 'string' ? error.stderr : '';
|
|
9
|
+
return { stdout, stderr };
|
|
10
|
+
}
|
|
11
|
+
export function checkTypes(filePaths, cwd) {
|
|
12
|
+
let stdout = '';
|
|
13
|
+
let stderr = '';
|
|
14
|
+
try {
|
|
15
|
+
stdout = execSync('pnpm type-check', { encoding: 'utf-8', cwd });
|
|
16
|
+
}
|
|
17
|
+
catch (error) {
|
|
18
|
+
const output = getExecOutput(error);
|
|
19
|
+
stdout = output.stdout;
|
|
20
|
+
stderr = output.stderr;
|
|
21
|
+
}
|
|
22
|
+
const combined = [stdout, stderr].join('\n');
|
|
23
|
+
const lines = combined.split('\n');
|
|
24
|
+
const relativePaths = filePaths.map((fp) => path.relative(cwd, fp));
|
|
25
|
+
const errors = lines.filter((line) => relativePaths.some((rp) => line.includes(rp)));
|
|
26
|
+
console.log('Relative paths checked for type errors:', relativePaths);
|
|
27
|
+
console.log('Type check output lines:', lines);
|
|
28
|
+
console.log('Filtered type errors:', errors);
|
|
29
|
+
if (errors.length === 0) {
|
|
30
|
+
return { passed: true, errors: [] };
|
|
31
|
+
}
|
|
32
|
+
return { passed: false, errors };
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=type-checker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-checker.js","sourceRoot":"","sources":["../../src/type-checker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,IAAI,MAAM,WAAW,CAAC;AAO7B,SAAS,a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AC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC;IAEpE,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAErF,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,aAAa,CAAC,CAAC;IACtE,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;IAE7C,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;IACtC,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../node_modules/.pnpm/@ai-sdk+provider@1.1.3/node_modules/@ai-sdk/provider/dist/index.d.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../../../node_modules/.pnpm/@ai-sdk+provider-utils@2.2.8_zod@3.25.76/node_modules/@ai-sdk/provider-utils/dist/index.d.ts","../../../node_modules/.pnpm/@ai-sdk+ui-utils@1.2.11_zod@3.25.76/node_modules/@ai-sdk/ui-utils/dist/index.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/baggage/types.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/common/Exception.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/common/Time.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/common/Attributes.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/context/types.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/context/context.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/api/context.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/diag/types.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/api/diag.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics/Metric.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics/Meter.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/api/metrics.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/api/propagation.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/link.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/status.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/span.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/tracer_options.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/Sampler.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/internal/utils.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/api/trace.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/context-api.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/diag-api.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/metrics-api.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/propagation-api.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/trace-api.d.ts","../../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/src/index.d.ts","../../../node_modules/.pnpm/ai@4.3.19_react@19.2.4_zod@3.25.76/node_modules/ai/dist/index.d.ts","../src/component-discovery.ts","../src/journey-analyzer.ts","../src/app-generator.ts","../src/app-writer.ts","../src/file-tree.ts","../../../node_modules/.pnpm/@ai-sdk+anthropic@1.2.12_zod@3.25.76/node_modules/@ai-sdk/anthropic/dist/index.d.ts","../../message-bus/dist/src/types.d.ts","../../message-bus/dist/src/define-command.d.ts","../../message-bus/dist/src/message-bus.d.ts","../../message-bus/dist/src/index.d.ts","../../../node_modules/.pnpm/@types+ms@2.1.0/node_modules/@types/ms/index.d.ts","../../../node_modules/.pnpm/@types+debug@4.1.12/node_modules/@types/debug/index.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.17.4/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts","../src/mcp-client.ts","../src/type-checker.ts","../src/commands/implement-react-app.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/index.d.ts"],"fileIdsList":[[48,62,63,144,187],[48,62,144,187],[47,144,187],[47,48,62,63,144,187],[128,131,132,144,187],[62,127,128,129,144,187],[127,128,133,144,187],[131,144,187],[144,187],[62,144,187],[62,126,127,128,144,187],[127,144,187],[62,126,144,187],[71,144,187],[74,144,187],[79,81,144,187],[67,71,83,84,144,187],[94,97,103,105,144,187],[66,71,144,187],[65,144,187],[66,144,187],[73,144,187],[76,144,187],[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,144,187],[82,144,187],[78,144,187],[79,144,187],[70,71,77,144,187],[78,79,144,187],[85,144,187],[106,144,187],[71,91,93,94,95,144,187],[94,95,97,144,187],[71,86,89,92,99,144,187],[86,87,144,187],[69,86,89,92,144,187],[70,144,187],[71,88,91,144,187],[87,144,187],[88,144,187],[86,88,144,187],[68,69,86,88,89,90,144,187],[88,91,144,187],[71,91,93,144,187],[94,95,144,187],[124,144,187],[144,184,187],[144,186,187],[187],[144,187,192,221],[144,187,188,193,199,207,218,229],[144,187,188,189,199,207],[139,140,141,144,187],[144,187,190,230],[144,187,191,192,200,208],[144,187,192,218,226],[144,187,193,195,199,207],[144,186,187,194],[144,187,195,196],[144,187,197,199],[144,186,187,199],[144,187,199,200,201,218,229],[144,187,199,200,201,214,218,221],[144,182,187],[144,187,195,199,202,207,218,229],[144,187,199,200,202,203,207,218,226,229],[144,187,202,204,218,226,229],[142,143,144,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235],[144,187,199,205],[144,187,206,229,234],[144,187,195,199,207,218],[144,187,208],[144,187,209],[144,186,187,210],[144,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235],[144,187,212],[144,187,213],[144,187,199,214,215],[144,187,214,216,230,232],[144,187,199,218,219,221],[144,187,220,221],[144,187,218,219],[144,187,221],[144,187,222],[144,184,187,218,223],[144,187,199,224,225],[144,187,224,225],[144,187,192,207,218,226],[144,187,227],[144,187,207,228],[144,187,202,213,229],[144,187,192,230],[144,187,218,231],[144,187,206,232],[144,187,233],[144,187,199,201,210,218,221,229,232,234],[144,187,218,235],[48,62,63,64,112,144,187,202],[144,154,158,187,229],[144,154,187,218,229],[144,149,187],[144,151,154,187,226,229],[144,187,207,226],[144,187,236],[144,149,187,236],[144,151,154,187,207,229],[144,146,147,150,153,187,199,218,229],[144,154,161,187],[144,146,152,187],[144,154,175,176,187],[144,150,154,187,221,229,236],[144,175,187,236],[144,148,149,187,236],[144,154,187],[144,148,149,150,151,152,153,154,155,156,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,187],[144,154,169,187],[144,154,161,162,187],[144,152,154,162,163,187],[144,153,187],[144,146,149,154,187],[144,154,158,162,163,187],[144,158,187],[144,152,154,157,187,229],[144,146,151,154,161,187],[144,187,218],[144,149,154,175,187,234,236],[61,144,187],[49,50,51,144,187],[52,53,144,187],[49,50,52,54,55,60,144,187],[50,52,144,187],[60,144,187],[52,144,187],[49,50,52,55,56,57,58,59,144,187],[113,114,115,144,187],[144,187,201,209],[114,115,116,117,118,119,123,125,135,136,144,187,201,209],[144,187,200],[137,144,187],[113,114,144,187],[130,134,144,187],[144,187,188,209],[120,144,187],[120,121,122,144,187]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a93daf9245e2e7a8db7055312db5d9aae6d2ac69c20e433a521f69c16c04c5ae","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"e91013ea9bf651a1671f143cc1cfb805afc80e954e18168f7ca1f1f38703e187","impliedFormat":1},{"version":"25947a3f4ce1016a8f967ccaf83a2f2229e15844bc78d4b63a4f7df9e98ecb05","impliedFormat":1},{"version":"a4e9e0d92dcad2cb387a5f1bdffe621569052f2d80186e11973aa7080260d296","impliedFormat":1},{"version":"f6380cc36fc3efc70084d288d0a05d0a2e09da012ee3853f9d62431e7216f129","impliedFormat":1},{"version":"497c3e541b4acf6c5d5ba75b03569cfe5fe25c8a87e6c87f1af98da6a3e7b918","impliedFormat":1},{"version":"d9429b81edf2fb2abf1e81e9c2e92615f596ed3166673d9b69b84c369b15fdc0","impliedFormat":1},{"version":"7e22943ae4e474854ca0695ab750a8026f55bb94278331fda02a4fb42efce063","impliedFormat":1},{"version":"7da9ff3d9a7e62ddca6393a23e67296ab88f2fcb94ee5f7fb977fa8e478852ac","impliedFormat":1},{"version":"e1b45cc21ea200308cbc8abae2fb0cfd014cb5b0e1d1643bcc50afa5959b6d83","impliedFormat":1},{"version":"c9740b0ce7533ce6ba21a7d424e38d2736acdddeab2b1a814c00396e62cc2f10","impliedFormat":1},{"version":"b3c1f6a3fdbb04c6b244de6d5772ffdd9e962a2faea1440e410049c13e874b87","impliedFormat":1},{"version":"dcaa872d9b52b9409979170734bdfd38f846c32114d05b70640fd05140b171bb","impliedFormat":1},{"version":"6c434d20da381fcd2e8b924a3ec9b8653cf8bed8e0da648e91f4c984bd2a5a91","impliedFormat":1},{"version":"992419d044caf6b14946fa7b9463819ab2eeb7af7c04919cc2087ce354c92266","impliedFormat":1},{"version":"fa9815e9ce1330289a5c0192e2e91eb6178c0caa83c19fe0c6a9f67013fe795c","impliedFormat":1},{"version":"06384a1a73fcf4524952ecd0d6b63171c5d41dd23573907a91ef0a687ddb4a8c","impliedFormat":1},{"version":"34b1594ecf1c84bcc7a04d9f583afa6345a6fea27a52cf2685f802629219de45","impliedFormat":1},{"version":"d82c9ca830d7b94b7530a2c5819064d8255b93dfeddc5b2ebb8a09316f002c89","impliedFormat":1},{"version":"7e046b9634add57e512412a7881efbc14d44d1c65eadd35432412aa564537975","impliedFormat":1},{"version":"aac9079b9e2b5180036f27ab37cb3cf4fd19955be48ccc82eab3f092ee3d4026","impliedFormat":1},{"version":"3d9c38933bc69e0a885da20f019de441a3b5433ce041ba5b9d3a541db4b568cb","impliedFormat":1},{"version":"606aa2b74372221b0f79ca8ae3568629f444cc454aa59b032e4cb602308dec94","impliedFormat":1},{"version":"50474eaea72bfda85cc37ae6cd29f0556965c0849495d96c8c04c940ef3d2f44","impliedFormat":1},{"version":"b4874382f863cf7dc82b3d15aed1e1372ac3fede462065d5bfc8510c0d8f7b19","impliedFormat":1},{"version":"df10b4f781871afb72b2d648d497671190b16b679bf7533b744cc10b3c6bf7ea","impliedFormat":1},{"version":"1fdc28754c77e852c92087c789a1461aa6eed19c335dc92ce6b16a188e7ba305","impliedFormat":1},{"version":"a656dab1d502d4ddc845b66d8735c484bfebbf0b1eda5fb29729222675759884","impliedFormat":1},{"version":"465a79505258d251068dc0047a67a3605dd26e6b15e9ad2cec297442cbb58820","impliedFormat":1},{"version":"ddae22d9329db28ce3d80a2a53f99eaed66959c1c9cd719c9b744e5470579d2f","impliedFormat":1},{"version":"d0e25feadef054c6fc6a7f55ccc3b27b7216142106b9ff50f5e7b19d85c62ca7","impliedFormat":1},{"version":"111214009193320cacbae104e8281f6cb37788b52a6a84d259f9822c8c71f6ca","impliedFormat":1},{"version":"01c8e2c8984c96b9b48be20ee396bd3689a3a3e6add8d50fe8229a7d4e62ff45","impliedFormat":1},{"version":"a4a0800b592e533897b4967b00fb00f7cd48af9714d300767cc231271aa100af","impliedFormat":1},{"version":"20aa818c3e16e40586f2fa26327ea17242c8873fe3412a69ec68846017219314","impliedFormat":1},{"version":"f498532f53d54f831851990cb4bcd96063d73e302906fa07e2df24aa5935c7d1","impliedFormat":1},{"version":"5fd19dfde8de7a0b91df6a9bbdc44b648fd1f245cae9e8b8cf210d83ee06f106","impliedFormat":1},{"version":"3b8d6638c32e63ea0679eb26d1eb78534f4cc02c27b80f1c0a19f348774f5571","impliedFormat":1},{"version":"ce0da52e69bc3d82a7b5bc40da6baad08d3790de13ad35e89148a88055b46809","impliedFormat":1},{"version":"9e01233da81bfed887f8d9a70d1a26bf11b8ddff165806cc586c84980bf8fc24","impliedFormat":1},{"version":"214a6afbab8b285fc97eb3cece36cae65ea2fca3cbd0c017a96159b14050d202","impliedFormat":1},{"version":"14beeca2944b75b229c0549e0996dc4b7863e07257e0d359d63a7be49a6b86a4","impliedFormat":1},{"version":"f7bb9adb1daa749208b47d1313a46837e4d27687f85a3af7777fc1c9b3dc06b1","impliedFormat":1},{"version":"c549fe2f52101ffe47f58107c702af7cdcd42da8c80afd79f707d1c5d77d4b6e","impliedFormat":1},{"version":"3966ea9e1c1a5f6e636606785999734988e135541b79adc6b5d00abdc0f4bf05","impliedFormat":1},{"version":"0b60b69c957adb27f990fbc27ea4ac1064249400262d7c4c1b0a1687506b3406","impliedFormat":1},{"version":"12c26e5d1befc0ded725cee4c2316f276013e6f2eb545966562ae9a0c1931357","impliedFormat":1},{"version":"27b247363f1376c12310f73ebac6debcde009c0b95b65a8207e4fa90e132b30a","impliedFormat":1},{"version":"05bd302e2249da923048c09dc684d1d74cb205551a87f22fb8badc09ec532a08","impliedFormat":1},{"version":"fe930ec064571ab3b698b13bddf60a29abf9d2f36d51ab1ca0083b087b061f3a","impliedFormat":1},{"version":"6b85c4198e4b62b0056d55135ad95909adf1b95c9a86cdbed2c0f4cc1a902d53","impliedFormat":1},{"version":"5b405d7e5d368669bd8c6efff0c42f884998948c5c8824fdab5f25baf4551069","impliedFormat":1},{"version":"7a45a52fecaf26ec68170dcd36cc9472d3ce1e03e2b96860a9c9f4b0aa9360ab","signature":"6025b3f6fbaed82d90dc209f1ec800f98765619588cf0d0b5430cf07764f6dd5"},{"version":"0d8723b0c4dc62ec1421a5afdd4a189469ebf927a6ccd8f974e80e3ac01c261d","signature":"385fa8e71ed869a4093ee9db0d6e84489585a2d06a21dfd9a40027d3ab211f14"},{"version":"4262b5e413962451a76d969abf69e4298466a19c30b9075dd5b4280e2faa73cb","signature":"fbd4fc1685c8c4299e938d2d392a22b5b81c59712d39b351ff13e37d46a1ce30"},{"version":"a9059108cd71829c042eea978c8350ad6d1311007e2381e51ac6349b7a667932","signature":"5bd77c306f7d49e3bf934a0f7f05f1a0f583440a9b0f78fb29633d0b3f705d56"},{"version":"bef9dfe7febf8a4b52bcabd1a3daf5eb0898dbe6d7e40c823a4c48f5f17ee7bb","signature":"cb33413901e76e09549cea15ed7204c86f93efb118dab5f2c1f4a6048c42f26e"},{"version":"e1238fde73b8a8bbf56160c6ccf96e5e60c36774e5c04f8ffd6f3760ba908432","impliedFormat":1},"ee2a6621965f784580813424013a2fcfcee165361920acda122c5c084bba5ec2","1225151c6679a3e80788339ee13306dcba3ebc8de2eb2eb3d01516f83310d20e","d798f4170a3fd8aa409ba66be78695eaae8b0b17bd3e30bf3f71aecd384d77c8","7acddd763df340ad296f37eff89424e00e52a1d3b50e3165772313605d1a8ffc",{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"4749a5d10b6e3b0bd6c8d90f9ba68a91a97aa0c2c9a340dd83306b2f349d6d34","impliedFormat":99},{"version":"dd1729e568bbd92727b6703f2340096d07476d29085b3ee2f49e78e6f2029d20","impliedFormat":99},{"version":"efdb6c1c0e195ea378a0b7cd0e808f65176bea14396dc8bdccda80551e66d73f","impliedFormat":99},{"version":"de328e8fd327cf362e090965057fbbf14f2085c78b70eb31b61ceeca8d6da01c","impliedFormat":99},{"version":"b9e0783285db8fca77f8c20df30b66b201f914bacbfe472b86dcacdba555f360","impliedFormat":99},{"version":"3e5f642ae0a95f3d1f69a086d3b7f3380f71d07c98a64a2eb4cf5cf237de53c1","impliedFormat":99},{"version":"7eda3321ba012ab61f565cce7627f0241e4f34fefcb50f3d8c1692287a8dd106","impliedFormat":99},{"version":"b5a263f298c34058a311a61008af8e9e6cd74db1e2d763fb2a5128bb5b4d44da","impliedFormat":99},{"version":"cd2208a59f674f506f6cc64d6cc28418ef6f0717f964b446ecbbc7d809638fb7","impliedFormat":99},{"version":"d5339c1bc873204faeb78d3f99d2918a87a366e92f16b51e0eee2db707403a50","signature":"3d870ac1fa76ec1e472a7a3bcf281cb30646cd252058b081a4115516f90fc061"},{"version":"faea1f0d4a3db37d74844c248284db7516a9a826aec484c3743e22a4d48698ac","signature":"195d994aa1b0865641906b6b473b71a77f0857de00a5519f8ab12e9875aca59f"},{"version":"32278b05fb2e163ab08ae4596705cfe9f428cf464eadbc0f8c2b5c3351d8b107","signature":"d3cfcd7575a3460d200ba55c5b093a478ef270c399c6e054107768064bd3bce1"},{"version":"7e69081a8ecf1ba322e87b8c1195be23ef954304f199acd36d3bf51b133cd00c","signature":"969056b53bd4c71d1e9e11ff64499fbaded58c0d2979f1c3118fd1fe457b112b"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"49a5a44f2e68241a1d2bd9ec894535797998841c09729e506a7cbfcaa40f2180","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"1ca84b44ad1d8e4576f24904d8b95dd23b94ea67e1575f89614ac90062fc67f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d586db0a09a9495ebb5dece28f54df9684bfbd6e1f568426ca153126dac4a40","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"567b7f607f400873151d7bc63a049514b53c3c00f5f56e9e95695d93b66a138e","affectsGlobalScope":true,"impliedFormat":1},{"version":"823f9c08700a30e2920a063891df4e357c64333fdba6889522acc5b7ae13fc08","impliedFormat":1},{"version":"84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"2bf469abae4cc9c0f340d4e05d9d26e37f936f9c8ca8f007a6534f109dcc77e4","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","impliedFormat":1},{"version":"b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","impliedFormat":1},{"version":"54c4f21f578864961efc94e8f42bc893a53509e886370ec7dd602e0151b9266c","impliedFormat":1},{"version":"de735eca2c51dd8b860254e9fdb6d9ec19fe402dfe597c23090841ce3937cfc5","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"5155da3047ef977944d791a2188ff6e6c225f6975cc1910ab7bb6838ab84cede","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5","impliedFormat":1},{"version":"e16d218a30f6a6810b57f7e968124eaa08c7bb366133ea34bbf01e7cd6b8c0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb8692dea24c27821f77e397272d9ed2eda0b95e4a75beb0fdda31081d15a8ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"5b6844ad931dcc1d3aca53268f4bd671428421464b1286746027aede398094f2","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"0225ecb9ed86bdb7a2c7fd01f1556906902929377b44483dc4b83e03b3ef227d","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"461e54289e6287e8494a0178ba18182acce51a02bca8dea219149bf2cf96f105","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"e31e51c55800014d926e3f74208af49cb7352803619855c89296074d1ecbb524","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"dfb96ba5177b68003deec9e773c47257da5c4c8a74053d8956389d832df72002","affectsGlobalScope":true,"impliedFormat":1},{"version":"92d3070580cf72b4bb80959b7f16ede9a3f39e6f4ef2ac87cfa4561844fdc69f","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","impliedFormat":1},{"version":"613deebaec53731ff6b74fe1a89f094b708033db6396b601df3e6d5ab0ec0a47","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"e56eb632f0281c9f8210eb8c86cc4839a427a4ffffcfd2a5e40b956050b3e042","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"cac793cc47c29e26e4ac3601dcb00b4435ebed26203485790e44f2ad8b6ad847","impliedFormat":1}],"root":[[114,118],[135,138]],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSources":false,"module":99,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":7},"referencedMap":[[119,1],[63,2],[48,3],[64,4],[133,5],[130,6],[134,7],[132,8],[126,9],[131,10],[129,11],[128,12],[127,13],[73,14],[76,15],[82,16],[85,17],[106,18],[84,19],[65,9],[66,20],[67,21],[70,9],[68,9],[69,9],[107,22],[72,14],[71,9],[108,23],[75,15],[74,9],[112,24],[109,25],[79,26],[81,27],[78,28],[80,29],[77,26],[110,30],[83,14],[111,31],[96,32],[98,33],[100,34],[99,35],[93,36],[86,37],[105,38],[102,39],[104,40],[89,41],[91,42],[88,39],[92,9],[103,43],[90,9],[101,9],[87,9],[94,44],[95,9],[97,45],[125,46],[47,9],[124,9],[184,47],[185,47],[186,48],[144,49],[187,50],[188,51],[189,52],[139,9],[142,53],[140,9],[141,9],[190,54],[191,55],[192,56],[193,57],[194,58],[195,59],[196,59],[198,9],[197,60],[199,61],[200,62],[201,63],[183,64],[143,9],[202,65],[203,66],[204,67],[236,68],[205,69],[206,70],[207,71],[208,72],[209,73],[210,74],[211,75],[212,76],[213,77],[214,78],[215,78],[216,79],[217,9],[218,80],[220,81],[219,82],[221,83],[222,84],[223,85],[224,86],[225,87],[226,88],[227,89],[228,90],[229,91],[230,92],[231,93],[232,94],[233,95],[234,96],[235,97],[113,98],[145,9],[45,9],[46,9],[8,9],[10,9],[9,9],[2,9],[11,9],[12,9],[13,9],[14,9],[15,9],[16,9],[17,9],[18,9],[3,9],[19,9],[20,9],[4,9],[21,9],[25,9],[22,9],[23,9],[24,9],[26,9],[27,9],[28,9],[5,9],[29,9],[30,9],[31,9],[32,9],[6,9],[36,9],[33,9],[34,9],[35,9],[37,9],[7,9],[38,9],[43,9],[44,9],[39,9],[40,9],[41,9],[42,9],[1,9],[161,99],[171,100],[160,99],[181,101],[152,102],[151,103],[180,104],[174,105],[179,106],[154,107],[168,108],[153,109],[177,110],[149,111],[148,104],[178,112],[150,113],[155,114],[156,9],[159,114],[146,9],[182,115],[172,116],[163,117],[164,118],[166,119],[162,120],[165,121],[175,104],[157,122],[158,123],[167,124],[147,125],[170,116],[169,114],[173,9],[176,126],[62,127],[52,128],[54,129],[61,130],[56,9],[57,9],[55,131],[58,132],[49,9],[50,9],[51,127],[53,133],[59,9],[60,134],[116,135],[117,136],[137,137],[114,9],[118,138],[138,139],[115,140],[135,141],[136,142],[121,143],[123,144],[122,143],[120,9]],"latestChangedDtsFile":"./src/index.d.ts","version":"5.8.3"}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@auto-engineer/app-implementer",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"main": "./dist/src/index.js",
|
|
5
|
+
"types": "./dist/src/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/src/index.d.ts",
|
|
9
|
+
"import": "./dist/src/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md",
|
|
15
|
+
"CHANGELOG.md"
|
|
16
|
+
],
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@ai-sdk/anthropic": "^1.2.12",
|
|
22
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
23
|
+
"ai": "^4.3.16",
|
|
24
|
+
"debug": "^4.4.1",
|
|
25
|
+
"@auto-engineer/message-bus": "1.12.1"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/debug": "^4.1.12"
|
|
29
|
+
},
|
|
30
|
+
"version": "1.12.1",
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
|
|
33
|
+
"type-check": "tsc --noEmit"
|
|
34
|
+
}
|
|
35
|
+
}
|