mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-02-05 08:23:08 +00:00
Complete project rebrand from AutoCoder to AutoForge, touching 62 files across Python backend, FastAPI server, React UI, documentation, config, and CI/CD. Key changes: - Rename autocoder_paths.py -> autoforge_paths.py with backward-compat migration from .autocoder/ -> .autoforge/ directories - Update registry.py to migrate ~/.autocoder/ -> ~/.autoforge/ global config directory with fallback support - Update security.py with fallback reads from legacy .autocoder/ paths - Rename .claude/commands and skills from gsd-to-autocoder-spec to gsd-to-autoforge-spec - Update all Python modules: client, prompts, progress, agent, orchestrator, server routers and services - Update React UI: package.json name, index.html title, localStorage keys, all documentation sections, component references - Update start scripts (bat/sh/py), examples, and .env.example - Update CLAUDE.md and README.md with new branding and paths - Update test files for new .autoforge/ directory structure - Transfer git remote from leonvanzyl/autocoder to AutoForgeAI/autoforge Backward compatibility preserved: legacy .autocoder/ directories are auto-detected and migrated on next agent start. Config fallback chain checks both new and old paths. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
59 lines
1.4 KiB
Batchfile
59 lines
1.4 KiB
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
|
|
echo.
|
|
echo ========================================
|
|
echo AutoForge - Autonomous Coding Agent
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM Check if Claude CLI is installed
|
|
where claude >nul 2>nul
|
|
if %errorlevel% neq 0 (
|
|
echo [ERROR] Claude CLI not found
|
|
echo.
|
|
echo Please install Claude CLI first:
|
|
echo https://claude.ai/download
|
|
echo.
|
|
echo Then run this script again.
|
|
echo.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [OK] Claude CLI found
|
|
|
|
REM Note: Claude CLI no longer stores credentials in ~/.claude/.credentials.json
|
|
REM We can't reliably check auth status without making an API call, so we just
|
|
REM verify the CLI is installed and remind the user to login if needed
|
|
set "CLAUDE_DIR=%USERPROFILE%\.claude"
|
|
if exist "%CLAUDE_DIR%\" (
|
|
echo [OK] Claude CLI directory found
|
|
echo ^(If you're not logged in, run: claude login^)
|
|
) else (
|
|
echo [!] Claude CLI not configured
|
|
echo.
|
|
echo Please run 'claude login' to authenticate before continuing.
|
|
echo.
|
|
pause
|
|
)
|
|
|
|
:setup_venv
|
|
echo.
|
|
|
|
REM Check if venv exists, create if not
|
|
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 app
|
|
python start.py
|