mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 08:33:36 +00:00
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:
@@ -1049,9 +1049,9 @@ fi
|
||||
case $MODE in
|
||||
web)
|
||||
export TEST_PORT="$WEB_PORT"
|
||||
export VITE_SERVER_URL="http://localhost:$SERVER_PORT"
|
||||
export VITE_SERVER_URL="http://$HOSTNAME:$SERVER_PORT"
|
||||
export PORT="$SERVER_PORT"
|
||||
export CORS_ORIGIN="http://localhost:$WEB_PORT,http://127.0.0.1:$WEB_PORT"
|
||||
export CORS_ORIGIN="http://$HOSTNAME:$WEB_PORT,http://127.0.0.1:$WEB_PORT"
|
||||
export VITE_APP_MODE="1"
|
||||
|
||||
if [ "$PRODUCTION_MODE" = true ]; then
|
||||
@@ -1067,7 +1067,7 @@ case $MODE in
|
||||
max_retries=30
|
||||
server_ready=false
|
||||
for ((i=0; i<max_retries; i++)); do
|
||||
if curl -s "http://localhost:$SERVER_PORT/api/health" > /dev/null 2>&1; then
|
||||
if curl -s "http://$HOSTNAME:$SERVER_PORT/api/health" > /dev/null 2>&1; then
|
||||
server_ready=true
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user