Merge pull request #421 from AutoMaker-Org/refactor/extract-enhance-with-ai-shared-components

refactor: extract Enhance with AI into shared components
This commit is contained in:
Shirone
2026-01-11 16:22:18 +00:00
committed by GitHub
17 changed files with 589 additions and 361 deletions

View File

@@ -1480,7 +1480,8 @@ export class HttpApiClient implements ElectronAPI {
featureId: string,
updates: Partial<Feature>,
descriptionHistorySource?: 'enhance' | 'edit',
enhancementMode?: 'improve' | 'technical' | 'simplify' | 'acceptance' | 'ux-reviewer'
enhancementMode?: 'improve' | 'technical' | 'simplify' | 'acceptance' | 'ux-reviewer',
preEnhancementDescription?: string
) =>
this.post('/api/features/update', {
projectPath,
@@ -1488,6 +1489,7 @@ export class HttpApiClient implements ElectronAPI {
updates,
descriptionHistorySource,
enhancementMode,
preEnhancementDescription,
}),
delete: (projectPath: string, featureId: string) =>
this.post('/api/features/delete', { projectPath, featureId }),