Repository navigation
feat: modular refactor, display word-wrap, and cancel command - #1
Open
tanevanwifferen wants to merge 12 commits into
Open
tanevanwifferen wants to merge 12 commits into
tanevanwifferen wants to merge 12 commits into
Conversation
Split monolithic index.ts into separate modules (bridge, config, display, filter, openclaw, push-server, etc.). Add proper word-wrapping (40 chars/line, 4 lines/page) for G1 display and voice cancel/clear commands (cancel, stop, abbrechen, clear buffer, clear display). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Cancel and clear now both clear the display and manual buffer - Add 'backspace'/'zurück' to remove last manual buffer entry - Add 'submit' as alias for confirm/send/commit Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Messages from other sessions (e.g. Telegram) were being sent to all connected glasses displays. Now unmatched messages are logged and dropped. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Shows the full numbered buffer (paginated on glasses) so you can review everything before sending. Trigger: "preview" / "vorschau". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- src/stt.ts: transcription via any OpenAI-compatible /v1/audio/transcriptions - src/tts.ts: speech synthesis via any OpenAI-compatible /v1/audio/speech - /app-ws protocol: hello/hello_ack capability handshake, turn-based audio_start/audio/audio_end utterance buffering, stt_result, ordered tts_audio blobs (per-client chain so replies never cut each other off) - /tts and /stt HTTP test endpoints; stt/tts flags in /status - ios/OpenClawMic: SwiftUI two-way mic app (hold-to-talk 16kHz PCM in, queued spoken replies out, typed messages, auto-reconnect) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- docker-compose: stt service (whisper.cpp server built for host CPU, greedy decoding) and tts service (Piper via openedai-speech) - docker/whisper.Dockerfile: native build — prebuilt images need AVX2 and SIGILL on older CPUs - WHISPER_MODEL env knob; STT_URL/TTS_URL default to the local services - ios: add ready-made Info.plist for manual Xcode project setup Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- pad utterances with 500ms silence (whisper is unreliable on sub-second clips) - bias whisper with a command-vocabulary prompt (STT_PROMPT, configurable) - fuzzy command matching (edit distance scaled to command length) so near-miss transcripts like 'Cancell.' or 'Annual mode' still trigger Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Add isReadyToRecord computed property (checks state, serverStt, AND task != nil) - Show 'No Active Session' alert with Connect button when recording is attempted without a session - Add wantsRecording flag to prevent hold-to-talk race condition where rapid touch/release would leave recording stuck on after permission callback fires - Auto-stop recorder if session ends mid-recording (client disconnects) - Reset serverStt/serverTts on disconnect to prevent stale state Closes task: fix crash when recording with no active session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/index.tsinto separate modules (bridge,config,display,filter,openclaw,push-server, etc.)docker-compose.ymlfor containerized deploymentTest plan
[1/N]labels and advances automatically🤖 Generated with Claude Code