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
..

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.