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.
This commit is contained in:
1 parent
4b09e09f8a
commit
ab176ba161
2 files changed
+8
-6
No files matched your search
+3
-3
@@ -18,10 +18,10 @@ Then the download step failed before Claude Code started, and the error is in yo
|
||||
|
||||
## The face sits at idle while the voice talks
|
||||
|
||||
The wiring between them is two lines of config. Check both:
|
||||
The wiring is one config line, plus a restart. Check both:
|
||||
|
||||
1. `ai-visualizer/ai-visualizer.json` should have `"bus_dir"` pointing at your backtalk folder.
|
||||
2. Restart the visualizer server after any config change (Ctrl-C the stack, run start.sh again).
|
||||
1. `ai-visualizer/ai-visualizer.json` should have `"bus_dir"` pointing at your backtalk folder. (The same wire can run from the other side instead: `"signals_dir"` in `backtalk/backtalk.json` pointing at the visualizer folder. One direction, not both.)
|
||||
2. Restart the visualizer server after any config change (Ctrl-C the stack, run start.sh again). Config edits only take effect on restart.
|
||||
|
||||
While the agent speaks, the backtalk folder should contain fresh `.voice_state` and `.voice_waveform` files. If they are not appearing, the problem is on the voice side; work backtalk's own guide.
|
||||
|
||||
|
||||
@@ -32,11 +32,13 @@ if exist "ai-visualizer\" if not "%1"=="hands" (
|
||||
|
||||
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%==0 (
|
||||
start "agent hands" cmd /c "cd barehands && py server.py"
|
||||
) else (
|
||||
if errorlevel 1 (
|
||||
start "agent hands" cmd /c "cd barehands && python server.py"
|
||||
) else (
|
||||
start "agent hands" cmd /c "cd barehands && py server.py"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user