feat: 完成env重新设计

This commit is contained in:
2025-12-14 05:52:59 +08:00
parent e68eeb7e46
commit ca1a5836e1
23 changed files with 1316 additions and 743 deletions

16
aide-program/bin/aide.bat Normal file
View File

@@ -0,0 +1,16 @@
@echo off
setlocal
set SCRIPT_DIR=%~dp0
set PROJECT_ROOT=%SCRIPT_DIR%..
set VENV_PY=%PROJECT_ROOT%\.venv\Scripts\python.exe
set PYTHONPATH=%PROJECT_ROOT%\aide-program;%PYTHONPATH%
if not exist "%VENV_PY%" (
echo ✗ 未找到虚拟环境请先运行uv venv .venv ^&^& uv pip install -r requirements.txt
exit /b 1
)
pushd "%PROJECT_ROOT%"
"%VENV_PY%" -m aide %*
popd