Launchers: Added Smart Repair option to Windows and Linux/Mac menus

This commit is contained in:
Gemini AI
2025-12-14 13:27:47 +04:00
Unverified
parent 02b11d5397
commit e26aa43ef9
2 changed files with 16 additions and 5 deletions

View File

@@ -36,9 +36,10 @@ echo [5] ★ NEXT-GEN TUI (Gen 5) - Recommended!
echo [6] Agent Manager echo [6] Agent Manager
echo [7] Web Assist Dashboard echo [7] Web Assist Dashboard
echo [8] Web IDE (Alpha) echo [8] Web IDE (Alpha)
echo [9] Exit echo [9] 🔧 Smart Repair (Fix TUI crashes)
echo [0] Exit
echo. echo.
set /p choice="Enter choice (1-9): " set /p choice="Enter choice (0-9): "
if "%choice%"=="1" goto webgui if "%choice%"=="1" goto webgui
if "%choice%"=="2" goto qwentui if "%choice%"=="2" goto qwentui
@@ -48,7 +49,8 @@ if "%choice%"=="5" goto inktui
if "%choice%"=="6" goto agentmgr if "%choice%"=="6" goto agentmgr
if "%choice%"=="7" goto webassist if "%choice%"=="7" goto webassist
if "%choice%"=="8" goto webide if "%choice%"=="8" goto webide
if "%choice%"=="9" goto exitapp if "%choice%"=="9" goto smartrepair
if "%choice%"=="0" goto exitapp
goto menu goto menu
:webgui :webgui
@@ -110,6 +112,13 @@ goto menu
start "" "http://127.0.0.1:15044/" start "" "http://127.0.0.1:15044/"
goto menu goto menu
:smartrepair
echo.
echo Starting Smart Repair Agent...
echo.
node bin\smart-repair.mjs
goto menu
:exitapp :exitapp
echo Goodbye! echo Goodbye!
exit /b 0 exit /b 0

View File

@@ -66,7 +66,8 @@ while true; do
echo " [4] TUI Classic (Gen 4)" echo " [4] TUI Classic (Gen 4)"
echo " [5] ★ NEXT-GEN TUI (Gen 5) - Recommended!" echo " [5] ★ NEXT-GEN TUI (Gen 5) - Recommended!"
echo " [6] Agent Manager" echo " [6] Agent Manager"
echo " [7] Exit" echo " [7] 🔧 Smart Repair (Fix TUI crashes)"
echo " [8] Exit"
echo "" echo ""
read -p "Enter choice: " choice read -p "Enter choice: " choice
@@ -77,7 +78,8 @@ while true; do
4) start_nodetui ;; 4) start_nodetui ;;
5) start_inktui ;; 5) start_inktui ;;
6) echo "Use Windows version for Agent Manager (or edit files manually)"; pause ;; 6) echo "Use Windows version for Agent Manager (or edit files manually)"; pause ;;
7) exit 0 ;; 7) echo "Starting Smart Repair..."; node bin/smart-repair.mjs ;;
8) exit 0 ;;
*) echo "Invalid choice"; pause ;; *) echo "Invalid choice"; pause ;;
esac esac
done done