@auto-engineer/component-implementer 0.10.5
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 +458 -0
- package/DEBUG.md +184 -0
- package/LICENSE +10 -0
- package/README.md +358 -0
- package/dist/src/agent-cli.d.ts +3 -0
- package/dist/src/agent-cli.d.ts.map +1 -0
- package/dist/src/agent-cli.js +12 -0
- package/dist/src/agent-cli.js.map +1 -0
- package/dist/src/agent.d.ts +54 -0
- package/dist/src/agent.d.ts.map +1 -0
- package/dist/src/agent.js +747 -0
- package/dist/src/agent.js.map +1 -0
- package/dist/src/commands/implement-component.d.ts +24 -0
- package/dist/src/commands/implement-component.d.ts.map +1 -0
- package/dist/src/commands/implement-component.js +150 -0
- package/dist/src/commands/implement-component.js.map +1 -0
- package/dist/src/index.d.ts +3 -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/tsconfig.tsbuildinfo +1 -0
- package/package.json +43 -0
- package/src/agent-cli.ts +14 -0
- package/src/agent.ts +880 -0
- package/src/commands/implement-component.ts +216 -0
- package/src/index.ts +10 -0
- package/tsconfig.json +10 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
# @auto-engineer/frontend-implementer
|
|
2
|
+
|
|
3
|
+
## 0.10.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @auto-engineer/ai-gateway@0.10.5
|
|
9
|
+
- @auto-engineer/message-bus@0.10.5
|
|
10
|
+
|
|
11
|
+
## 0.10.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies []:
|
|
16
|
+
- @auto-engineer/ai-gateway@0.10.4
|
|
17
|
+
- @auto-engineer/message-bus@0.10.4
|
|
18
|
+
|
|
19
|
+
## 0.10.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @auto-engineer/ai-gateway@0.10.3
|
|
25
|
+
- @auto-engineer/message-bus@0.10.3
|
|
26
|
+
|
|
27
|
+
## 0.10.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies []:
|
|
32
|
+
- @auto-engineer/ai-gateway@0.10.2
|
|
33
|
+
- @auto-engineer/message-bus@0.10.2
|
|
34
|
+
|
|
35
|
+
## 0.10.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies []:
|
|
40
|
+
- @auto-engineer/ai-gateway@0.10.1
|
|
41
|
+
- @auto-engineer/message-bus@0.10.1
|
|
42
|
+
|
|
43
|
+
## 0.10.0
|
|
44
|
+
|
|
45
|
+
### Minor Changes
|
|
46
|
+
|
|
47
|
+
- New templates and bug fixes
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies []:
|
|
52
|
+
- @auto-engineer/ai-gateway@0.10.0
|
|
53
|
+
- @auto-engineer/message-bus@0.10.0
|
|
54
|
+
|
|
55
|
+
## 0.9.13
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Updated dependencies []:
|
|
60
|
+
- @auto-engineer/ai-gateway@0.9.13
|
|
61
|
+
- @auto-engineer/message-bus@0.9.13
|
|
62
|
+
|
|
63
|
+
## 0.9.12
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies []:
|
|
68
|
+
- @auto-engineer/ai-gateway@0.9.12
|
|
69
|
+
- @auto-engineer/message-bus@0.9.12
|
|
70
|
+
|
|
71
|
+
## 0.9.11
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies []:
|
|
76
|
+
- @auto-engineer/ai-gateway@0.9.11
|
|
77
|
+
- @auto-engineer/message-bus@0.9.11
|
|
78
|
+
|
|
79
|
+
## 0.9.10
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Updated dependencies []:
|
|
84
|
+
- @auto-engineer/ai-gateway@0.9.10
|
|
85
|
+
- @auto-engineer/message-bus@0.9.10
|
|
86
|
+
|
|
87
|
+
## 0.9.9
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- Updated dependencies []:
|
|
92
|
+
- @auto-engineer/ai-gateway@0.9.9
|
|
93
|
+
- @auto-engineer/message-bus@0.9.9
|
|
94
|
+
|
|
95
|
+
## 0.9.8
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies []:
|
|
100
|
+
- @auto-engineer/ai-gateway@0.9.8
|
|
101
|
+
- @auto-engineer/message-bus@0.9.8
|
|
102
|
+
|
|
103
|
+
## 0.9.7
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies []:
|
|
108
|
+
- @auto-engineer/ai-gateway@0.9.7
|
|
109
|
+
- @auto-engineer/message-bus@0.9.7
|
|
110
|
+
|
|
111
|
+
## 0.9.6
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- Updated dependencies []:
|
|
116
|
+
- @auto-engineer/ai-gateway@0.9.6
|
|
117
|
+
- @auto-engineer/message-bus@0.9.6
|
|
118
|
+
|
|
119
|
+
## 0.9.5
|
|
120
|
+
|
|
121
|
+
### Patch Changes
|
|
122
|
+
|
|
123
|
+
- Updated dependencies []:
|
|
124
|
+
- @auto-engineer/ai-gateway@0.9.5
|
|
125
|
+
- @auto-engineer/message-bus@0.9.5
|
|
126
|
+
|
|
127
|
+
## 0.9.4
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- Updated dependencies []:
|
|
132
|
+
- @auto-engineer/ai-gateway@0.9.4
|
|
133
|
+
- @auto-engineer/message-bus@0.9.4
|
|
134
|
+
|
|
135
|
+
## 0.9.3
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies []:
|
|
140
|
+
- @auto-engineer/ai-gateway@0.9.3
|
|
141
|
+
- @auto-engineer/message-bus@0.9.3
|
|
142
|
+
|
|
143
|
+
## 0.9.2
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- Updated dependencies []:
|
|
148
|
+
- @auto-engineer/ai-gateway@0.9.2
|
|
149
|
+
- @auto-engineer/message-bus@0.9.2
|
|
150
|
+
|
|
151
|
+
## 0.9.1
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- Updated dependencies []:
|
|
156
|
+
- @auto-engineer/ai-gateway@0.9.1
|
|
157
|
+
- @auto-engineer/message-bus@0.9.1
|
|
158
|
+
|
|
159
|
+
## 0.9.0
|
|
160
|
+
|
|
161
|
+
### Minor Changes
|
|
162
|
+
|
|
163
|
+
- add a new experience slice type
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- Updated dependencies
|
|
168
|
+
- @auto-engineer/ai-gateway@0.9.0
|
|
169
|
+
- @auto-engineer/message-bus@0.9.0
|
|
170
|
+
|
|
171
|
+
## 0.8.14
|
|
172
|
+
|
|
173
|
+
### Patch Changes
|
|
174
|
+
|
|
175
|
+
- Update flow to not require slice
|
|
176
|
+
- Updated dependencies
|
|
177
|
+
- @auto-engineer/ai-gateway@0.8.14
|
|
178
|
+
- @auto-engineer/message-bus@0.8.14
|
|
179
|
+
|
|
180
|
+
## 0.8.13
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- @auto-engineer/ai-gateway@0.8.13
|
|
185
|
+
- @auto-engineer/message-bus@0.8.13
|
|
186
|
+
|
|
187
|
+
## 0.8.12
|
|
188
|
+
|
|
189
|
+
### Patch Changes
|
|
190
|
+
|
|
191
|
+
- @auto-engineer/ai-gateway@0.8.12
|
|
192
|
+
- @auto-engineer/message-bus@0.8.12
|
|
193
|
+
|
|
194
|
+
## 0.8.11
|
|
195
|
+
|
|
196
|
+
### Patch Changes
|
|
197
|
+
|
|
198
|
+
- @auto-engineer/ai-gateway@0.8.11
|
|
199
|
+
- @auto-engineer/message-bus@0.8.11
|
|
200
|
+
|
|
201
|
+
## 0.8.10
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- @auto-engineer/ai-gateway@0.8.10
|
|
206
|
+
- @auto-engineer/message-bus@0.8.10
|
|
207
|
+
|
|
208
|
+
## 0.8.9
|
|
209
|
+
|
|
210
|
+
### Patch Changes
|
|
211
|
+
|
|
212
|
+
- @auto-engineer/ai-gateway@0.8.9
|
|
213
|
+
- @auto-engineer/message-bus@0.8.9
|
|
214
|
+
|
|
215
|
+
## 0.8.8
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- @auto-engineer/ai-gateway@0.8.8
|
|
220
|
+
- @auto-engineer/message-bus@0.8.8
|
|
221
|
+
|
|
222
|
+
## 0.8.7
|
|
223
|
+
|
|
224
|
+
### Patch Changes
|
|
225
|
+
|
|
226
|
+
- @auto-engineer/ai-gateway@0.8.7
|
|
227
|
+
- @auto-engineer/message-bus@0.8.7
|
|
228
|
+
|
|
229
|
+
## 0.8.6
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- @auto-engineer/ai-gateway@0.8.6
|
|
234
|
+
- @auto-engineer/message-bus@0.8.6
|
|
235
|
+
|
|
236
|
+
## 0.8.5
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- @auto-engineer/ai-gateway@0.8.5
|
|
241
|
+
- @auto-engineer/message-bus@0.8.5
|
|
242
|
+
|
|
243
|
+
## 0.8.4
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- Updated dependencies
|
|
248
|
+
- @auto-engineer/ai-gateway@0.8.4
|
|
249
|
+
- @auto-engineer/message-bus@0.8.4
|
|
250
|
+
|
|
251
|
+
## 0.8.3
|
|
252
|
+
|
|
253
|
+
### Patch Changes
|
|
254
|
+
|
|
255
|
+
- Updated dependencies [3aff24e]
|
|
256
|
+
- Updated dependencies
|
|
257
|
+
- @auto-engineer/message-bus@0.8.3
|
|
258
|
+
- @auto-engineer/ai-gateway@0.8.3
|
|
259
|
+
|
|
260
|
+
## 0.8.2
|
|
261
|
+
|
|
262
|
+
### Patch Changes
|
|
263
|
+
|
|
264
|
+
- @auto-engineer/ai-gateway@0.8.2
|
|
265
|
+
- @auto-engineer/message-bus@0.8.2
|
|
266
|
+
|
|
267
|
+
## 0.2.0
|
|
268
|
+
|
|
269
|
+
### Minor Changes
|
|
270
|
+
|
|
271
|
+
- add command details in dashboard
|
|
272
|
+
|
|
273
|
+
### Patch Changes
|
|
274
|
+
|
|
275
|
+
- Updated dependencies
|
|
276
|
+
- @auto-engineer/ai-gateway@0.7.0
|
|
277
|
+
- @auto-engineer/message-bus@0.6.0
|
|
278
|
+
|
|
279
|
+
## 0.1.4
|
|
280
|
+
|
|
281
|
+
### Patch Changes
|
|
282
|
+
|
|
283
|
+
- Bump versions
|
|
284
|
+
- Updated dependencies
|
|
285
|
+
- @auto-engineer/ai-gateway@0.6.3
|
|
286
|
+
- @auto-engineer/message-bus@0.5.5
|
|
287
|
+
|
|
288
|
+
## 0.1.3
|
|
289
|
+
|
|
290
|
+
### Patch Changes
|
|
291
|
+
|
|
292
|
+
- version test
|
|
293
|
+
- Updated dependencies
|
|
294
|
+
- @auto-engineer/message-bus@0.5.4
|
|
295
|
+
|
|
296
|
+
## 0.1.2
|
|
297
|
+
|
|
298
|
+
### Patch Changes
|
|
299
|
+
|
|
300
|
+
- fix version report
|
|
301
|
+
- Updated dependencies
|
|
302
|
+
- @auto-engineer/message-bus@0.5.3
|
|
303
|
+
|
|
304
|
+
## 0.1.1
|
|
305
|
+
|
|
306
|
+
### Patch Changes
|
|
307
|
+
|
|
308
|
+
- renamed packages
|
|
309
|
+
- Updated dependencies
|
|
310
|
+
- @auto-engineer/message-bus@0.5.2
|
|
311
|
+
- @auto-engineer/ai-gateway@0.6.2
|
|
312
|
+
|
|
313
|
+
## 0.6.1
|
|
314
|
+
|
|
315
|
+
### Patch Changes
|
|
316
|
+
|
|
317
|
+
- version bump for testihng
|
|
318
|
+
- Updated dependencies
|
|
319
|
+
- @auto-engineer/ai-gateway@0.6.1
|
|
320
|
+
- @auto-engineer/message-bus@0.5.1
|
|
321
|
+
|
|
322
|
+
## 0.6.0
|
|
323
|
+
|
|
324
|
+
### Minor Changes
|
|
325
|
+
|
|
326
|
+
- Major overhaul of the plugin system
|
|
327
|
+
|
|
328
|
+
### Patch Changes
|
|
329
|
+
|
|
330
|
+
- Updated dependencies
|
|
331
|
+
- @auto-engineer/ai-gateway@0.6.0
|
|
332
|
+
- @auto-engineer/message-bus@0.5.0
|
|
333
|
+
|
|
334
|
+
## 0.5.0
|
|
335
|
+
|
|
336
|
+
### Minor Changes
|
|
337
|
+
|
|
338
|
+
- • All cli commands now use commands and emit events on the bus
|
|
339
|
+
|
|
340
|
+
### Patch Changes
|
|
341
|
+
|
|
342
|
+
- Updated dependencies
|
|
343
|
+
- @auto-engineer/ai-gateway@0.5.0
|
|
344
|
+
- @auto-engineer/message-bus@0.4.0
|
|
345
|
+
|
|
346
|
+
## 0.4.10
|
|
347
|
+
|
|
348
|
+
### Patch Changes
|
|
349
|
+
|
|
350
|
+
- Version bump
|
|
351
|
+
|
|
352
|
+
## 0.4.7
|
|
353
|
+
|
|
354
|
+
### Patch Changes
|
|
355
|
+
|
|
356
|
+
- Add debug logging throughout packages for better debugging and issue tracking. Fix MCP server hanging issue in frontend-implementer by ensuring it only starts when run directly, not when imported as a module. The debug logs can be enabled by setting DEBUG environment variable (e.g., DEBUG=frontend-checks:_,frontend-impl:_)
|
|
357
|
+
- Updated dependencies
|
|
358
|
+
- @auto-engineer/frontend-checks@0.4.6
|
|
359
|
+
|
|
360
|
+
## 0.4.6
|
|
361
|
+
|
|
362
|
+
### Patch Changes
|
|
363
|
+
|
|
364
|
+
- Update frontend-checks dependency to 0.4.5 to get automatic Playwright browser installation
|
|
365
|
+
|
|
366
|
+
## 0.4.3
|
|
367
|
+
|
|
368
|
+
### Patch Changes
|
|
369
|
+
|
|
370
|
+
- version testing
|
|
371
|
+
- Updated dependencies
|
|
372
|
+
- @auto-engineer/ai-gateway@0.4.3
|
|
373
|
+
- @auto-engineer/frontend-checks@0.4.3
|
|
374
|
+
- @auto-engineer/message-bus@0.3.3
|
|
375
|
+
|
|
376
|
+
## 0.4.2
|
|
377
|
+
|
|
378
|
+
### Patch Changes
|
|
379
|
+
|
|
380
|
+
- Bump versions
|
|
381
|
+
- Updated dependencies
|
|
382
|
+
- @auto-engineer/ai-gateway@0.4.2
|
|
383
|
+
- @auto-engineer/frontend-checks@0.4.2
|
|
384
|
+
- @auto-engineer/message-bus@0.3.2
|
|
385
|
+
|
|
386
|
+
## 0.4.1
|
|
387
|
+
|
|
388
|
+
### Patch Changes
|
|
389
|
+
|
|
390
|
+
- Version bump to trigger builds
|
|
391
|
+
- Updated dependencies
|
|
392
|
+
- @auto-engineer/ai-gateway@0.4.1
|
|
393
|
+
- @auto-engineer/frontend-checks@0.4.1
|
|
394
|
+
- @auto-engineer/message-bus@0.3.1
|
|
395
|
+
|
|
396
|
+
## 0.4.0
|
|
397
|
+
|
|
398
|
+
### Minor Changes
|
|
399
|
+
|
|
400
|
+
- [#22](https://github.com/SamHatoum/auto-engineer/pull/22) [`927b39a`](https://github.com/SamHatoum/auto-engineer/commit/927b39a2c08c0baa1942b2955a8e8015e09364d9) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Some major refactorings of the directory structure
|
|
401
|
+
|
|
402
|
+
### Patch Changes
|
|
403
|
+
|
|
404
|
+
- [`f3e97e5`](https://github.com/SamHatoum/auto-engineer/commit/f3e97e563b79ca8328e802dd502e65285ec58ce9) Thanks [@SamHatoum](https://github.com/SamHatoum)! - global version bump to test release process
|
|
405
|
+
|
|
406
|
+
- Updated dependencies [[`f3e97e5`](https://github.com/SamHatoum/auto-engineer/commit/f3e97e563b79ca8328e802dd502e65285ec58ce9), [`927b39a`](https://github.com/SamHatoum/auto-engineer/commit/927b39a2c08c0baa1942b2955a8e8015e09364d9)]:
|
|
407
|
+
- @auto-engineer/ai-gateway@0.4.0
|
|
408
|
+
- @auto-engineer/frontend-checks@0.4.0
|
|
409
|
+
- @auto-engineer/message-bus@0.3.0
|
|
410
|
+
|
|
411
|
+
## 0.3.0
|
|
412
|
+
|
|
413
|
+
### Minor Changes
|
|
414
|
+
|
|
415
|
+
- [`330afa5`](https://github.com/SamHatoum/auto-engineer/commit/330afa565079e3b528d0f448d64919a8dc78d684) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Fix multiple dependency issues
|
|
416
|
+
|
|
417
|
+
### Patch Changes
|
|
418
|
+
|
|
419
|
+
- Updated dependencies [[`330afa5`](https://github.com/SamHatoum/auto-engineer/commit/330afa565079e3b528d0f448d64919a8dc78d684)]:
|
|
420
|
+
- @auto-engineer/ai-gateway@0.3.0
|
|
421
|
+
- @auto-engineer/frontend-checks@0.3.0
|
|
422
|
+
- @auto-engineer/message-bus@0.2.0
|
|
423
|
+
|
|
424
|
+
## 0.2.0
|
|
425
|
+
|
|
426
|
+
### Minor Changes
|
|
427
|
+
|
|
428
|
+
- [#24](https://github.com/SamHatoum/auto-engineer/pull/24) [`d4dcacd`](https://github.com/SamHatoum/auto-engineer/commit/d4dcacd18cf2217d3ac9f4354f79ab7ff2ba39a0) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Making commands independent and CLI based
|
|
429
|
+
|
|
430
|
+
- [#22](https://github.com/SamHatoum/auto-engineer/pull/22) [`e39acf3`](https://github.com/SamHatoum/auto-engineer/commit/e39acf31e9051652084d0de99cf8c89b40e6531c) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Some major refactorings of the directory structure
|
|
431
|
+
|
|
432
|
+
### Patch Changes
|
|
433
|
+
|
|
434
|
+
- Updated dependencies [[`d4dcacd`](https://github.com/SamHatoum/auto-engineer/commit/d4dcacd18cf2217d3ac9f4354f79ab7ff2ba39a0), [`e39acf3`](https://github.com/SamHatoum/auto-engineer/commit/e39acf31e9051652084d0de99cf8c89b40e6531c)]:
|
|
435
|
+
- @auto-engineer/frontend-checks@0.2.0
|
|
436
|
+
- @auto-engineer/ai-gateway@0.2.0
|
|
437
|
+
- @auto-engineer/message-bus@0.1.0
|
|
438
|
+
|
|
439
|
+
## 0.1.2
|
|
440
|
+
|
|
441
|
+
### Patch Changes
|
|
442
|
+
|
|
443
|
+
- Fix workspace:\* dependencies to use actual version numbers for npm publishing
|
|
444
|
+
|
|
445
|
+
- Updated dependencies []:
|
|
446
|
+
- @auto-engineer/ai-gateway@0.1.2
|
|
447
|
+
- @auto-engineer/message-bus@0.0.3
|
|
448
|
+
|
|
449
|
+
## 0.1.1
|
|
450
|
+
|
|
451
|
+
### Patch Changes
|
|
452
|
+
|
|
453
|
+
- Bump versions to fix npm publish conflicts
|
|
454
|
+
|
|
455
|
+
- Updated dependencies []:
|
|
456
|
+
- @auto-engineer/ai-gateway@0.1.1
|
|
457
|
+
- @auto-engineer/frontend-checks@0.1.1
|
|
458
|
+
- @auto-engineer/message-bus@0.0.2
|
package/DEBUG.md
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# Debug Logging - Frontend Implementer
|
|
2
|
+
|
|
3
|
+
This package uses the [debug](https://www.npmjs.com/package/debug) library for conditional logging.
|
|
4
|
+
|
|
5
|
+
## Available Debug Namespaces
|
|
6
|
+
|
|
7
|
+
- `frontend-impl:agent` - Main agent operations
|
|
8
|
+
- `frontend-impl:agent:context` - Context loading (IA scheme, GraphQL, design system)
|
|
9
|
+
- `frontend-impl:agent:plan` - Implementation planning
|
|
10
|
+
- `frontend-impl:agent:fix` - Fix application
|
|
11
|
+
- `frontend-impl:agent:test` - Test execution
|
|
12
|
+
- `frontend-impl:agent:ai` - AI provider calls
|
|
13
|
+
- `frontend-impl:agent:files` - File operations
|
|
14
|
+
- `frontend-impl:agent:prompt` - Prompt generation
|
|
15
|
+
- `frontend-impl:agent:result` - Result handling
|
|
16
|
+
|
|
17
|
+
## Enabling Debug Output
|
|
18
|
+
|
|
19
|
+
Set the `DEBUG` environment variable to enable logging:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Enable all frontend-implementer logging
|
|
23
|
+
DEBUG=frontend-impl:* pnpm implement:client
|
|
24
|
+
|
|
25
|
+
# Enable specific namespace
|
|
26
|
+
DEBUG=frontend-impl:agent:plan pnpm implement:client
|
|
27
|
+
|
|
28
|
+
# Enable multiple namespaces
|
|
29
|
+
DEBUG=frontend-impl:agent:context,frontend-impl:agent:ai pnpm implement:client
|
|
30
|
+
|
|
31
|
+
# Enable all logging
|
|
32
|
+
DEBUG=* pnpm implement:client
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Examples
|
|
36
|
+
|
|
37
|
+
### Debug Context Loading
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
DEBUG=frontend-impl:agent:context pnpm implement:client
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Output example:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
frontend-impl:agent:context Loading IA scheme from: ./.context
|
|
47
|
+
frontend-impl:agent:context IA scheme loaded successfully
|
|
48
|
+
frontend-impl:agent:context Scheme has 5 pages, 12 organisms, 24 molecules, 36 atoms
|
|
49
|
+
frontend-impl:agent:context Found 8 GraphQL files
|
|
50
|
+
frontend-impl:agent:context Reading GraphQL file: src/graphql/CreateOrder.ts
|
|
51
|
+
frontend-impl:agent:context Loaded GraphQL operations from CreateOrder
|
|
52
|
+
frontend-impl:agent:context Loading design system from: ./design-system.md
|
|
53
|
+
frontend-impl:agent:context Design system loaded, size: 15234 bytes
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Debug Planning Operations
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
DEBUG=frontend-impl:agent:plan pnpm implement:client
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Output example:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
frontend-impl:agent:plan Creating implementation plan
|
|
66
|
+
frontend-impl:agent:plan Analyzing 5 pages, 12 organisms, 24 molecules
|
|
67
|
+
frontend-impl:agent:plan Generating plan with AI
|
|
68
|
+
frontend-impl:agent:plan AI returned plan with 15 changes
|
|
69
|
+
frontend-impl:agent:plan Plan includes:
|
|
70
|
+
frontend-impl:agent:plan Updates: 8
|
|
71
|
+
frontend-impl:agent:plan Creates: 7
|
|
72
|
+
frontend-impl:agent:plan Applying plan changes
|
|
73
|
+
frontend-impl:agent:plan Processing change 1/15: update src/components/Button.tsx
|
|
74
|
+
frontend-impl:agent:plan Read existing file src/components/Button.tsx, size: 1234 bytes
|
|
75
|
+
frontend-impl:agent:plan Generated code for src/components/Button.tsx, size: 1456 bytes
|
|
76
|
+
frontend-impl:agent:plan Successfully wrote file: src/components/Button.tsx
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Debug AI Calls
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
DEBUG=frontend-impl:agent:ai pnpm implement:client
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Output example:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
frontend-impl:agent:ai Calling AI with prompt length: 4567 characters
|
|
89
|
+
frontend-impl:agent:ai Using model: claude-3-5-sonnet-20241022
|
|
90
|
+
frontend-impl:agent:ai AI call initiated
|
|
91
|
+
frontend-impl:agent:ai AI response received, length: 2345 characters
|
|
92
|
+
frontend-impl:agent:ai AI call completed successfully
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Debug Test Execution
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
DEBUG=frontend-impl:agent:test pnpm implement:client
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Output example:
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
frontend-impl:agent:test Running tests in: ./client
|
|
105
|
+
frontend-impl:agent:test Executing: pnpm test
|
|
106
|
+
frontend-impl:agent:test Test output: All tests passed (15/15)
|
|
107
|
+
frontend-impl:agent:test Tests passed successfully
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Debug File Operations
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
DEBUG=frontend-impl:agent:files pnpm implement:client
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Output example:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
frontend-impl:agent:files Reading file: src/components/Button.tsx
|
|
120
|
+
frontend-impl:agent:files File read successfully, size: 1234 bytes
|
|
121
|
+
frontend-impl:agent:files Writing file: src/components/Button.tsx
|
|
122
|
+
frontend-impl:agent:files File written successfully, size: 1456 bytes
|
|
123
|
+
frontend-impl:agent:files Creating directory: src/components/molecules
|
|
124
|
+
frontend-impl:agent:files Directory created successfully
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Debug Prompt Generation
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
DEBUG=frontend-impl:agent:prompt pnpm implement:client
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Output example:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
frontend-impl:agent:prompt Building base prompt with context
|
|
137
|
+
frontend-impl:agent:prompt IA scheme: present (5 pages)
|
|
138
|
+
frontend-impl:agent:prompt Design system: present (15234 bytes)
|
|
139
|
+
frontend-impl:agent:prompt GraphQL operations: 8
|
|
140
|
+
frontend-impl:agent:prompt User preferences: responsive, accessible
|
|
141
|
+
frontend-impl:agent:prompt Base prompt length: 8765 characters
|
|
142
|
+
frontend-impl:agent:prompt Creating plan prompt
|
|
143
|
+
frontend-impl:agent:prompt Plan prompt length: 9876 characters
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Common Use Cases
|
|
147
|
+
|
|
148
|
+
### Debug Full Implementation
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
DEBUG=frontend-impl:* pnpm implement:client
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Debug Planning and Application
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
DEBUG=frontend-impl:agent:plan,frontend-impl:agent:fix pnpm implement:client
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Debug with AI Details
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
DEBUG=frontend-impl:agent:ai,frontend-impl:agent:prompt pnpm implement:client
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Debug Context and Files
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
DEBUG=frontend-impl:agent:context,frontend-impl:agent:files pnpm implement:client
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Save Debug Output
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
DEBUG=frontend-impl:* pnpm implement:client 2> frontend-debug.log
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Tips
|
|
179
|
+
|
|
180
|
+
- Start broad with `DEBUG=frontend-impl:*` then narrow down
|
|
181
|
+
- Use `DEBUG=frontend-impl:agent:ai` to monitor AI usage
|
|
182
|
+
- Combine with AI gateway: `DEBUG=frontend-impl:*,ai-gateway:*`
|
|
183
|
+
- Filter by operation: `DEBUG=*:context` for all context operations
|
|
184
|
+
- Exclude verbose: `DEBUG=frontend-impl:*,-frontend-impl:agent:files`
|
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.
|