Nico Albanese 49c09062ee
Add voice input with audio recording and transcription (#85)
* Add voice transcription to input box

Add a microphone button to the task input that records audio and
transcribes it using ElevenLabs via the AI SDK. The button shows a
pulsing animation while recording and a spinner while processing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Make mic button round and focus input after transcription

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Use subtler opacity pulse for mic recording indicator

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add voice transcription and multiline input to chat view

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix file suggestions dropdown being clipped by overflow-hidden

The FileSuggestionsDropdown was rendered inside a form with overflow-hidden,
causing the dropdown (positioned with absolute bottom-full) to be clipped.
Moved the dropdown outside the form into a new relative wrapper div.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix voice transcription issues: Safari compat, error display, and size limits

- Add browser compatibility for MediaRecorder by detecting supported MIME types
- Display recording errors to users in both input components
- Make mimeType optional in transcribe API since it's not used
- Add 7.5MB size limit for audio uploads
- Fix textarea auto-resize flicker in chat view
- Use consistent Button component for mic button

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add grep and xargs cat to allowed bash commands

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 10:33:03 +00:00
..