mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
UI Changes: - Add "Create Spec with AI" button in empty kanban when project has no spec - Button opens SpecCreationChat to guide users through spec creation - Shows in Pending column when has_spec=false and no features exist Windows Fixes: - Fix asyncio subprocess NotImplementedError on Windows - Set WindowsProactorEventLoopPolicy in server/__init__.py - Remove --reload from uvicorn (incompatible with Windows subprocess) - Add process cleanup on startup in start_ui.bat Spec Chat Improvements: - Enable full tool access (remove allowed_tools restriction) - Add "user" to setting_sources for global skills access - Use bypassPermissions mode for auto-approval - Add WebFetch/WebSearch auto-approve hook Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.0 KiB
Batchfile
44 lines
1.0 KiB
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
REM AutoCoder UI Launcher for Windows
|
|
REM This script launches the web UI for the autonomous coding agent.
|
|
|
|
echo.
|
|
echo ====================================
|
|
echo AutoCoder UI
|
|
echo ====================================
|
|
echo.
|
|
|
|
REM Kill any existing processes on port 8888
|
|
echo Cleaning up old processes...
|
|
for /f "tokens=5" %%a in ('netstat -aon ^| findstr ":8888" ^| findstr "LISTENING"') do (
|
|
taskkill /F /PID %%a >nul 2>&1
|
|
)
|
|
|
|
REM Check if Python is available
|
|
where python >nul 2>&1
|
|
if %ERRORLEVEL% neq 0 (
|
|
echo ERROR: Python not found in PATH
|
|
echo Please install Python from https://python.org
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Check if venv exists with correct activation script
|
|
if not exist "venv\Scripts\activate.bat" (
|
|
echo Creating virtual environment...
|
|
python -m venv venv
|
|
)
|
|
|
|
REM Activate the virtual environment
|
|
call venv\Scripts\activate.bat
|
|
|
|
REM Install dependencies
|
|
echo Installing dependencies...
|
|
pip install -r requirements.txt --quiet
|
|
|
|
REM Run the Python launcher
|
|
python "%~dp0start_ui.py" %*
|
|
|
|
pause
|