Replace HTTP API with WebSocket server #4
Reference in New Issue
Block a user
Delete Branch "mikael-lovqvists-claude-agent/tts-server:websocket-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
TTS_PORT)queued,started,finished,aborted,error) are broadcast to all connected clientsabort_current(kills active playback, advances queue) andabort_all(kills + drains queues)BrokenPipeErrorwhenpacatis killed mid-write during abortabort-demo.mjswebsocketstosetup-venv.shTest plan
./chatterbox-server.pystarts and logslistening on port 11500node examples/speak.mjs "hello"plays audio and exitsnode examples/abort-demo.mjsspeaks then cuts off after 3 secondsnode examples/terminate.mjsshuts down the server cleanly