@auto-engineer/app-implementer 1.79.0 → 1.81.0
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 +38 -0
- package/dist/src/app-generator.d.ts +7 -4
- package/dist/src/app-generator.d.ts.map +1 -1
- package/dist/src/app-generator.js +26 -169
- package/dist/src/app-generator.js.map +1 -1
- package/dist/src/app-generator.specs.js +135 -122
- package/dist/src/app-generator.specs.js.map +1 -1
- package/dist/src/journey-analyzer.d.ts.map +1 -1
- package/dist/src/journey-analyzer.js +9 -8
- package/dist/src/journey-analyzer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,123 +1,136 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
});
|
|
1
|
+
// import type { LanguageModel } from 'ai';
|
|
2
|
+
// import { generateText } from 'ai';
|
|
3
|
+
// import { beforeEach, describe, expect, it, vi } from 'vitest';
|
|
4
|
+
// import type { AppGenerationContext, RefinementHistory } from './app-generator.js';
|
|
5
|
+
// import { buildImportMap, extractErroredFiles, generateApp, parseGeneratedFiles, refineApp } from './app-generator.js';
|
|
6
|
+
export {};
|
|
7
|
+
// vi.mock('ai', () => ({
|
|
8
|
+
// generateText: vi.fn(),
|
|
9
|
+
// }));
|
|
10
|
+
// const generateTextMock = vi.mocked(generateText);
|
|
11
|
+
// beforeEach(() => {
|
|
12
|
+
// vi.clearAllMocks();
|
|
13
|
+
// });
|
|
14
|
+
// function stubModel(): LanguageModel {
|
|
15
|
+
// return { modelId: 'test-model' } as LanguageModel;
|
|
16
|
+
// }
|
|
17
|
+
// function stubContext(): AppGenerationContext {
|
|
18
|
+
// return {
|
|
19
|
+
// journey: {
|
|
20
|
+
// entryPageId: 'home',
|
|
21
|
+
// pages: [{ pageId: 'home', name: 'Home', routePath: '/', description: 'Home page' }],
|
|
22
|
+
// navigationEdges: [],
|
|
23
|
+
// dataDependencies: [],
|
|
24
|
+
// },
|
|
25
|
+
// catalog: {
|
|
26
|
+
// instructions: 'instructions',
|
|
27
|
+
// overview: 'overview',
|
|
28
|
+
// componentDocs: [],
|
|
29
|
+
// },
|
|
30
|
+
// fileTree: 'tree',
|
|
31
|
+
// };
|
|
32
|
+
// }
|
|
33
|
+
// const sampleLlmResponse = ['<!-- file: App.tsx -->', '```tsx', 'export function App() { return <div/>; }', '```'].join(
|
|
34
|
+
// '\n',
|
|
35
|
+
// );
|
|
36
|
+
// describe('parseGeneratedFiles', () => {
|
|
37
|
+
// it('extracts files from LLM response', () => {
|
|
38
|
+
// expect(parseGeneratedFiles(sampleLlmResponse)).toEqual([
|
|
39
|
+
// { path: 'App.tsx', content: 'export function App() { return <div/>; }' },
|
|
40
|
+
// ]);
|
|
41
|
+
// });
|
|
42
|
+
// it('throws when no files found', () => {
|
|
43
|
+
// expect(() => parseGeneratedFiles('no code blocks here')).toThrow('No generated files found');
|
|
44
|
+
// });
|
|
45
|
+
// });
|
|
46
|
+
// describe('extractErroredFiles', () => {
|
|
47
|
+
// it('returns only files with matching error paths', () => {
|
|
48
|
+
// const files = [
|
|
49
|
+
// { path: 'App.tsx', content: 'app' },
|
|
50
|
+
// { path: 'pages/Home.tsx', content: 'home' },
|
|
51
|
+
// ];
|
|
52
|
+
// expect(extractErroredFiles(['pages/Home.tsx(1,5): error TS123'], files)).toEqual([
|
|
53
|
+
// { path: 'pages/Home.tsx', content: 'home' },
|
|
54
|
+
// ]);
|
|
55
|
+
// });
|
|
56
|
+
// it('returns all files when no error paths match', () => {
|
|
57
|
+
// const files = [{ path: 'App.tsx', content: 'app' }];
|
|
58
|
+
// expect(extractErroredFiles(['some general error'], files)).toEqual(files);
|
|
59
|
+
// });
|
|
60
|
+
// });
|
|
61
|
+
// describe('buildImportMap', () => {
|
|
62
|
+
// it('groups components by path', () => {
|
|
63
|
+
// const result = buildImportMap([
|
|
64
|
+
// { name: 'Button', componentPath: './src/components/ui/Button.tsx' },
|
|
65
|
+
// { name: 'Input', componentPath: './src/components/ui/Input.tsx' },
|
|
66
|
+
// ]);
|
|
67
|
+
// expect(result).toBe(
|
|
68
|
+
// [
|
|
69
|
+
// '# Component Import Map',
|
|
70
|
+
// '',
|
|
71
|
+
// 'import { Button } from "@/components/ui/Button";',
|
|
72
|
+
// 'import { Input } from "@/components/ui/Input";',
|
|
73
|
+
// ].join('\n'),
|
|
74
|
+
// );
|
|
75
|
+
// });
|
|
76
|
+
// it('returns empty string for entries without paths', () => {
|
|
77
|
+
// expect(buildImportMap([{ name: 'Foo' }])).toBe('');
|
|
78
|
+
// });
|
|
79
|
+
// });
|
|
80
|
+
// describe('generateApp', () => {
|
|
81
|
+
// it('returns history as ChatTurn with prompt and response', async () => {
|
|
82
|
+
// generateTextMock.mockResolvedValueOnce({
|
|
83
|
+
// text: sampleLlmResponse,
|
|
84
|
+
// usage: { inputTokens: 100, outputTokens: 200 },
|
|
85
|
+
// } as ReturnType<typeof generateText> extends Promise<infer R> ? R : never);
|
|
86
|
+
// const { history } = await generateApp(stubContext(), stubModel());
|
|
87
|
+
// expect(history).toEqual({
|
|
88
|
+
// prompt: { role: 'user', content: expect.any(String) },
|
|
89
|
+
// response: { role: 'assistant', content: sampleLlmResponse },
|
|
90
|
+
// });
|
|
91
|
+
// });
|
|
92
|
+
// });
|
|
93
|
+
// describe('refineApp', () => {
|
|
94
|
+
// it('passes correct message sequence to generateText', async () => {
|
|
95
|
+
// const history: RefinementHistory = {
|
|
96
|
+
// prompt: { role: 'user', content: 'original prompt' },
|
|
97
|
+
// response: { role: 'assistant', content: sampleLlmResponse },
|
|
98
|
+
// };
|
|
99
|
+
// const app = { files: [{ path: 'App.tsx', content: 'app' }] };
|
|
100
|
+
// generateTextMock.mockResolvedValueOnce({
|
|
101
|
+
// text: sampleLlmResponse,
|
|
102
|
+
// usage: { inputTokens: 100, outputTokens: 200 },
|
|
103
|
+
// } as ReturnType<typeof generateText> extends Promise<infer R> ? R : never);
|
|
104
|
+
// await refineApp(app, ['App.tsx(1,1): error TS123'], stubContext(), history, stubModel());
|
|
105
|
+
// const call = generateTextMock.mock.calls[0][0];
|
|
106
|
+
// expect(call.messages).toEqual([
|
|
107
|
+
// { role: 'system', content: expect.any(String) },
|
|
108
|
+
// { role: 'user', content: 'original prompt' },
|
|
109
|
+
// { role: 'assistant', content: sampleLlmResponse },
|
|
110
|
+
// { role: 'user', content: expect.any(String) },
|
|
111
|
+
// ]);
|
|
112
|
+
// });
|
|
113
|
+
// it('preserves original prompt and replaces only response', async () => {
|
|
114
|
+
// const history: RefinementHistory = {
|
|
115
|
+
// prompt: { role: 'user', content: 'original prompt' },
|
|
116
|
+
// response: { role: 'assistant', content: 'old response' },
|
|
117
|
+
// };
|
|
118
|
+
// const app = { files: [{ path: 'App.tsx', content: 'app' }] };
|
|
119
|
+
// generateTextMock.mockResolvedValueOnce({
|
|
120
|
+
// text: sampleLlmResponse,
|
|
121
|
+
// usage: { inputTokens: 100, outputTokens: 200 },
|
|
122
|
+
// } as ReturnType<typeof generateText> extends Promise<infer R> ? R : never);
|
|
123
|
+
// const { history: newHistory } = await refineApp(
|
|
124
|
+
// app,
|
|
125
|
+
// ['App.tsx(1,1): error TS123'],
|
|
126
|
+
// stubContext(),
|
|
127
|
+
// history,
|
|
128
|
+
// stubModel(),
|
|
129
|
+
// );
|
|
130
|
+
// expect(newHistory).toEqual({
|
|
131
|
+
// prompt: { role: 'user', content: 'original prompt' },
|
|
132
|
+
// response: { role: 'assistant', content: sampleLlmResponse },
|
|
133
|
+
// });
|
|
134
|
+
// });
|
|
135
|
+
// });
|
|
123
136
|
//# sourceMappingURL=app-generator.specs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-generator.specs.js","sourceRoot":"","sources":["../../src/app-generator.specs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-generator.specs.js","sourceRoot":"","sources":["../../src/app-generator.specs.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,qCAAqC;AACrC,iEAAiE;AACjE,qFAAqF;AACrF,yHAAyH;;AAEzH,yBAAyB;AACzB,2BAA2B;AAC3B,OAAO;AAEP,oDAAoD;AAEpD,qBAAqB;AACrB,wBAAwB;AACxB,MAAM;AAEN,wCAAwC;AACxC,uDAAuD;AACvD,IAAI;AAEJ,iDAAiD;AACjD,aAAa;AACb,iBAAiB;AACjB,6BAA6B;AAC7B,6FAA6F;AAC7F,6BAA6B;AAC7B,8BAA8B;AAC9B,SAAS;AACT,iBAAiB;AACjB,sCAAsC;AACtC,8BAA8B;AAC9B,2BAA2B;AAC3B,SAAS;AACT,wBAAwB;AACxB,OAAO;AACP,IAAI;AAEJ,0HAA0H;AAC1H,UAAU;AACV,KAAK;AAEL,0CAA0C;AAC1C,mDAAmD;AACnD,+DAA+D;AAC/D,kFAAkF;AAClF,UAAU;AACV,QAAQ;AAER,6CAA6C;AAC7C,oGAAoG;AACpG,QAAQ;AACR,MAAM;AAEN,0CAA0C;AAC1C,+DAA+D;AAC/D,sBAAsB;AACtB,6CAA6C;AAC7C,qDAAqD;AACrD,SAAS;AAET,yFAAyF;AACzF,qDAAqD;AACrD,UAAU;AACV,QAAQ;AAER,8DAA8D;AAC9D,2DAA2D;AAE3D,iFAAiF;AACjF,QAAQ;AACR,MAAM;AAEN,qCAAqC;AACrC,4CAA4C;AAC5C,sCAAsC;AACtC,6EAA6E;AAC7E,2EAA2E;AAC3E,UAAU;AAEV,2BAA2B;AAC3B,UAAU;AACV,oCAAoC;AACpC,cAAc;AACd,8DAA8D;AAC9D,4DAA4D;AAC5D,sBAAsB;AACtB,SAAS;AACT,QAAQ;AAER,iEAAiE;AACjE,0DAA0D;AAC1D,QAAQ;AACR,MAAM;AAEN,kCAAkC;AAClC,6EAA6E;AAC7E,+CAA+C;AAC/C,iCAAiC;AACjC,wDAAwD;AACxD,kFAAkF;AAElF,yEAAyE;AAEzE,gCAAgC;AAChC,+DAA+D;AAC/D,qEAAqE;AACrE,UAAU;AACV,QAAQ;AACR,MAAM;AAEN,gCAAgC;AAChC,wEAAwE;AACxE,2CAA2C;AAC3C,8DAA8D;AAC9D,qEAAqE;AACrE,SAAS;AACT,oEAAoE;AAEpE,+CAA+C;AAC/C,iCAAiC;AACjC,wDAAwD;AACxD,kFAAkF;AAElF,gGAAgG;AAEhG,sDAAsD;AACtD,sCAAsC;AACtC,yDAAyD;AACzD,sDAAsD;AACtD,2DAA2D;AAC3D,uDAAuD;AACvD,UAAU;AACV,QAAQ;AAER,6EAA6E;AAC7E,2CAA2C;AAC3C,8DAA8D;AAC9D,kEAAkE;AAClE,SAAS;AACT,oEAAoE;AAEpE,+CAA+C;AAC/C,iCAAiC;AACjC,wDAAwD;AACxD,kFAAkF;AAElF,uDAAuD;AACvD,aAAa;AACb,uCAAuC;AACvC,uBAAuB;AACvB,iBAAiB;AACjB,qBAAqB;AACrB,SAAS;AAET,mCAAmC;AACnC,8DAA8D;AAC9D,qEAAqE;AACrE,UAAU;AACV,QAAQ;AACR,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-analyzer.d.ts","sourceRoot":"","sources":["../../src/journey-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"journey-analyzer.d.ts","sourceRoot":"","sources":["../../src/journey-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,IAAI,CAAC;AAGtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,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;QACX,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC,CAAC;IACH,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,CA4CtD"}
|
|
@@ -53,17 +53,18 @@ export async function analyzeJourney(narrative, catalog, model) {
|
|
|
53
53
|
const userPrompt = buildJourneyUserPrompt(narrative, catalog);
|
|
54
54
|
debug(' System prompt length:', systemPrompt.length, 'chars');
|
|
55
55
|
debug(' User prompt length:', userPrompt.length, 'chars');
|
|
56
|
-
|
|
56
|
+
const buildJourneysMessages = [
|
|
57
|
+
{
|
|
58
|
+
role: 'system',
|
|
59
|
+
content: systemPrompt,
|
|
60
|
+
},
|
|
61
|
+
{ role: 'user', content: userPrompt },
|
|
62
|
+
];
|
|
63
|
+
debug(' Calling LLM with model: %s', typeof model === 'string' ? model : model.modelId, 'with messages', JSON.stringify(buildJourneysMessages, null, 2));
|
|
57
64
|
const llmStart = Date.now();
|
|
58
65
|
const { text, usage } = await generateText({
|
|
59
66
|
model,
|
|
60
|
-
messages:
|
|
61
|
-
{
|
|
62
|
-
role: 'system',
|
|
63
|
-
content: systemPrompt,
|
|
64
|
-
},
|
|
65
|
-
{ role: 'user', content: userPrompt },
|
|
66
|
-
],
|
|
67
|
+
messages: buildJourneysMessages,
|
|
67
68
|
});
|
|
68
69
|
debug(` LLM responded in ${Date.now() - llmStart}ms (${text.length} chars)`);
|
|
69
70
|
debug(' Parsing response...');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-analyzer.js","sourceRoot":"","sources":["../../src/journey-analyzer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,WAAW,MAAM,OAAO,CAAC;AAGhC,MAAM,KAAK,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"journey-analyzer.js","sourceRoot":"","sources":["../../src/journey-analyzer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,WAAW,MAAM,OAAO,CAAC;AAGhC,MAAM,KAAK,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC;AAkC1D,MAAM,UAAU,wBAAwB;IACtC,OAAO;QACL,4GAA4G;QAC5G,qDAAqD;QACrD,EAAE;QACF,0GAA0G;QAC1G,iFAAiF;QACjF,EAAE;QACF,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