Skip to content

feat(voice): ElevenLabs ASR + line-style composer icons#174

Merged
oratis merged 2 commits into
mainfrom
feat/voice-elevenlabs
Jul 2, 2026
Merged

feat(voice): ElevenLabs ASR + line-style composer icons#174
oratis merged 2 commits into
mainfrom
feat/voice-elevenlabs

Conversation

@oratis

@oratis oratis commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Voice ASR

Transcription now prefers ElevenLabs Scribe as the primary provider, falling back to OpenAI Whisper:

  • Provider order: ELEVENLABS_API_KEY → POST https://api.elevenlabs.io/v1/speech-to-text (multipart file + model_id, xi-api-key header).
  • Falls back to OpenAI Whisper when no ElevenLabs key is present.
  • The signature is unchanged; the no-key error names both providers.
  • New src/voice/transcribe.test.ts adds 3 tests (mock fetch + temp file).

Composer icons

  • Composer #plusBtn (+) and #recordBtn (🎙) glyph/emoji replaced with line-style SVGs matching the .fbtn function bar.
  • CSS: color --fg-3--fg-2, dropped glyph font-size, added #plusBtn svg,#recordBtn svg{width:19px;height:19px;display:block}.
  • HTML snapshot length 145995 → 146593 (sha256 recomputed).

Verification

  • npm run typecheck → clean
  • npm test → 889 passing (1 skip)

🤖 Generated with Claude Code

oratis and others added 2 commits July 2, 2026 18:17
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…n bar

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@oratis oratis force-pushed the feat/voice-elevenlabs branch from 04a01dd to 165afc4 Compare July 2, 2026 10:19
@oratis

oratis commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

Reviewed + rebased onto latest main (v0.14.0). Dropped 3 commits that had independently landed on main (providers-cache #210, docs-publish #212, and the /chat empty+abort logic already merged via #206). Resolved the snapshot conflict by recomputing against the merged lisa-html.ts (QR-pairing #171 + these icon changes): EXPECTED_LENGTH 151331, sha256 72098d77…. typecheck clean; voice + snapshot tests green; CI green. Code review: transcribe.ts cleanly splits per-provider helpers, no-key error names both, non-2xx + missing-text guarded; HTML gained aria-labels. LGTM.

@oratis oratis merged commit 45a7366 into main Jul 2, 2026
1 check passed
@oratis oratis deleted the feat/voice-elevenlabs branch July 2, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant