feat: implement spec synchronization feature for improved project management

- Added a new `/sync` endpoint to synchronize the project specification with the current codebase and feature state.
- Introduced `syncSpec` function to handle the synchronization logic, updating technology stack, implemented features, and roadmap phases.
- Enhanced the running state management to track synchronization tasks alongside existing generation tasks.
- Updated UI components to support synchronization actions, including loading indicators and status updates.
- Improved logging and error handling for better visibility during sync operations.

These changes enhance project management capabilities by ensuring that the specification remains up-to-date with the latest code and feature developments.
This commit is contained in:
webdevcody
2026-01-17 01:45:45 -05:00
parent 616e2ef75f
commit aa35eb3d3a
20 changed files with 940 additions and 98 deletions

View File

@@ -685,6 +685,12 @@ Format as JSON:
Generate features that build on each other logically.
CRITICAL RULES:
- If an "EXISTING FEATURES" section is provided above, you MUST NOT generate any features that duplicate or overlap with those existing features
- Check each feature you generate against the existing features list - if it already exists, DO NOT include it
- Only generate truly NEW features that add value beyond what already exists
- Generate unique IDs that don't conflict with existing feature IDs
IMPORTANT: Do not ask for clarification. The specification is provided above. Generate the JSON immediately.`;
/**