Files
sproutclaw/sproutclaw.bat
shumengya ad62015fe3
Some checks failed
CI / build-check-test (push) Has been cancelled
chore: commit pending workspace updates
2026-06-14 20:36:01 +08:00

16 lines
391 B
Batchfile

@echo off
setlocal
set "SCRIPT_DIR=%~dp0"
if "%SCRIPT_DIR:~-1%"=="\" set "SCRIPT_DIR=%SCRIPT_DIR:~0,-1%"
set "PI_CODING_AGENT_DIR=%SCRIPT_DIR%\.pi\agent"
set "PI_CLI_DIST=%SCRIPT_DIR%\packages\coding-agent\dist\cli.js"
if not exist "%PI_CLI_DIST%" (
echo Build output not found: %PI_CLI_DIST% >&2
echo Run from repo root: npm run build >&2
exit /b 1
)
node "%PI_CLI_DIST%" %*