Files
Jarvis/start.bat
T
jaredrhod ab176ba161 Fix Windows hands launch and clarify face-wiring troubleshooting
start.bat: the py-vs-python check used a percent-style errorlevel inside a
parenthesized block, which expands at parse time and tests a stale value.
Machines without the py launcher got a flash-and-close hands window. Now
uses the runtime if-errorlevel idiom.

TROUBLESHOOTING: the idle-face entry now names both sides of the wire
(bus_dir here, or signals_dir on the backtalk side) and states that config
edits only take effect on restart.
2026-08-18 04:32:40 -04:00

50 lines
1.8 KiB
Batchfile

@echo off
rem fullstack-agent: give your AI a full stack — memory, voice, face, hands.
rem Copyright (C) 2026 Jared Rhodenizer
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Affero General Public License as published
rem by the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Affero General Public License for more details.
rem
rem You should have received a copy of the GNU Affero General Public License
rem along with this program. If not, see <https://www.gnu.org/licenses/>.
rem
rem SPDX-License-Identifier: AGPL-3.0-or-later
rem Starts the agent's pieces. Each server gets its own window;
rem close the windows (or this one for the voice) to stop.
rem start.bat everything installed
rem start.bat voice the voice and the face (no hands)
rem start.bat hands the voice and the hands board (no face)
cd /d "%~dp0.."
if exist "ai-visualizer\" if not "%1"=="hands" (
echo face: starting
start "agent face" cmd /c "cd ai-visualizer && run.bat"
)
if exist "barehands\" if not "%1"=="voice" (
echo hands: starting
rem if errorlevel reads the where result at run time. A percent-style
rem check here would expand when this block is parsed and test a stale value.
where py >nul 2>nul
if errorlevel 1 (
start "agent hands" cmd /c "cd barehands && python server.py"
) else (
start "agent hands" cmd /c "cd barehands && py server.py"
)
)
if exist "backtalk\" (
echo voice: starting in this window. Close it to hang up.
cd backtalk
uv run python -m backtalk.main
)