mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 09:13:08 +00:00
feat: Enhance auto mode service with summary extraction and saving
- Added functionality to extract and save the final summary from multi-task or single-agent execution in the auto mode service. - Updated event types in the query invalidation hook to include 'auto_mode_task_started' and 'auto_mode_task_complete' for better event handling.
This commit is contained in:
@@ -4808,6 +4808,13 @@ After generating the revised spec, output:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Extract and save final summary from multi-task or single-agent execution
|
||||||
|
// Note: saveFeatureSummary already emits auto_mode_summary event
|
||||||
|
const summary = extractSummary(responseText);
|
||||||
|
if (summary) {
|
||||||
|
await this.saveFeatureSummary(projectPath, featureId, summary);
|
||||||
|
}
|
||||||
|
|
||||||
logger.info(`Implementation completed for feature ${featureId}`);
|
logger.info(`Implementation completed for feature ${featureId}`);
|
||||||
// Exit the original stream loop since continuation is done
|
// Exit the original stream loop since continuation is done
|
||||||
break streamLoop;
|
break streamLoop;
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ const SINGLE_FEATURE_INVALIDATION_EVENTS: AutoModeEvent['type'][] = [
|
|||||||
'auto_mode_phase',
|
'auto_mode_phase',
|
||||||
'auto_mode_phase_complete',
|
'auto_mode_phase_complete',
|
||||||
'auto_mode_task_status',
|
'auto_mode_task_status',
|
||||||
|
'auto_mode_task_started',
|
||||||
|
'auto_mode_task_complete',
|
||||||
'auto_mode_summary',
|
'auto_mode_summary',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user