Commit Graph

171 Commits

Author SHA1 Message Date
Hayden Bleasel 82b1c6068b Version 1.7.0 2026-01-16 14:17:22 -08:00
Hayden Bleasel ef0a8a72ee Voice (#317)
* New voice folder

* Draft Audio Player component

* Add support for AI SDK speech result

* Draft Mic Selector component

* Extract PromptInputSpeechButton to SpeechInput

* Update speech-input.mdx

* Add new unit tests

* Merge groups

* Fix tests

* Improve test coverage

* Run Ultracite

* Update mic-selector.tsx

* Draft Voice Selector

* Scaffold Persona

* Update persona.tsx

* Redesign speech input as record button

* Scaffold Transcription component

* Fix unit tests

* Propagate changes from #233

* Resolves #242

* Update mic-selector.tsx

* Update preview.tsx

* Attempt to overwrite color

* Fix persona bugs

* Remove Pal

* Update persona.test.tsx

* Resolves #210

* Fix non-model instances

* Rename orb to opal, change default

* Performance improvements

* Update pnpm-lock.yaml

* Fix navbar tracking

* Minor fixes

* Update registry mcp server

* Add changesets

* Update persona.test.tsx
2026-01-14 07:26:36 -08:00
Francisco Moretti d1a79c0af3 add scroll behavior to code block (#283)
Long lines of codes were hidden before
2025-12-08 14:56:20 -08:00
Hayden Bleasel ae3af00fb5 Update chain-of-thought.tsx 2025-12-08 09:16:18 -08:00
Hayden Bleasel 99088be120 Add unit tests for #279 2025-12-07 23:51:30 -08:00
dependabot[bot] f2e4172a58 Bump ai from 5.0.89 to 5.0.104 (#263)
Bumps [ai](https://github.com/vercel/ai) from 5.0.89 to 5.0.104.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/compare/ai@5.0.89...ai@5.0.104)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 5.0.104
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:34:32 -08:00
dependabot[bot] 13475932eb Bump playwright from 1.56.1 to 1.57.0 (#267)
Bumps [playwright](https://github.com/microsoft/playwright) from 1.56.1 to 1.57.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.56.1...v1.57.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.57.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:34:25 -08:00
dependabot[bot] 532d690f96 Bump @vitejs/plugin-react from 5.1.0 to 5.1.1 (#264)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@5.1.1/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:32:26 -08:00
dependabot[bot] f83b1b2968 Bump react-hook-form from 7.66.0 to 7.67.0 (#265)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.66.0 to 7.67.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.66.0...v7.67.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-version: 7.67.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:32:19 -08:00
dependabot[bot] 79930cdd23 Bump react-day-picker from 9.11.1 to 9.11.3 (#266)
Bumps [react-day-picker](https://github.com/gpbl/react-day-picker) from 9.11.1 to 9.11.3.
- [Release notes](https://github.com/gpbl/react-day-picker/releases)
- [Changelog](https://github.com/gpbl/react-day-picker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gpbl/react-day-picker/compare/v9.11.1...v9.11.3)

---
updated-dependencies:
- dependency-name: react-day-picker
  dependency-version: 9.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:32:11 -08:00
dependabot[bot] 2b7ce212f7 Bump @vitest/coverage-v8 from 4.0.7 to 4.0.14 (#268)
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.0.7 to 4.0.14.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.14/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.0.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:32:01 -08:00
dependabot[bot] f6c8103f30 Bump streamdown from 1.4.0 to 1.6.9 (#269)
Bumps [streamdown](https://github.com/vercel/streamdown/tree/HEAD/packages/streamdown) from 1.4.0 to 1.6.9.
- [Release notes](https://github.com/vercel/streamdown/releases)
- [Changelog](https://github.com/vercel/streamdown/blob/main/packages/streamdown/CHANGELOG.md)
- [Commits](https://github.com/vercel/streamdown/commits/streamdown@1.6.9/packages/streamdown)

---
updated-dependencies:
- dependency-name: streamdown
  dependency-version: 1.6.9
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:31:55 -08:00
Obada Khalili e1edb1b037 MessageContent max width should respect parent's (#274)
* MessageContent max width should respect parent's

* Create silver-poems-doubt.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:30:25 -08:00
Obada Khalili 16a9966732 Wrap items CoT search results component (#278)
* wrap items CoT search results component

* Create two-bats-yawn.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:29:00 -08:00
Obada Khalili b37a002890 Handle non image file types in matchesAccept filter (#279)
* handle non image file types in matchesAccept filter

* Create small-deer-tan.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:28:03 -08:00
Obada Khalili 387e873fab prevent duplicate attachments when dropping in form and globalDrop is enabled (#280) 2025-12-07 22:26:00 -08:00
Hayden Bleasel 61838a469b Upgrade Next.js and React 2025-12-04 20:59:31 -08:00
Hayden Bleasel 0fbdc6a244 241 multiple issues in prompt inputtsx drag and drop memoization cleanup error handling (#260)
* Fix issue 1

* Fix issue 2

* Fix issue 3

* Fix issue 4

* Create wacky-coins-peel.md

* Fix typos
2025-11-26 12:20:33 -08:00
Hayden Bleasel d60d684b4c Fix typo 2025-11-26 11:45:05 -08:00
Hayden Bleasel a5eeca40fd Resolves #254 2025-11-26 11:45:01 -08:00
Felix Traxler 56ea3b96be build: expect errors for states added in ai-sdk v6 (#248)
* build: expect errors for states added in ai-sdk v6

* Create silly-shoes-pay.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-26 11:28:42 -08:00
李学明 787dfc3472 feat(reasoning): ReasoningTrigger allows custom getThinkingMessage function (#255)
* feat(reasoning): ReasoningTrigger allows custom getThinkingMessage function

* Update reasoning.mdx

* Create giant-streets-swim.md

---------

Co-authored-by: Comyn LI 李学明 <comyn.li@nio.com>
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-26 11:25:26 -08:00
chaxus 68bc48491b fix(prompt-input): Adjust image preview hover state and alignment in input head (#256)
* fix(prompt-input): adjust image preview hover state and alignment in input head

* Create major-ants-cut.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-26 11:23:37 -08:00
chaxus a726985cb6 fix(prompt-input): Reset file input value to allow re-selecting previously removed files (#257)
* fix(prompt-input): Reset file input value to allow re-selecting previously removed files

* Create thin-suns-train.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-26 11:23:03 -08:00
streamdown-github-app[bot] 136f8e3f84 Version Packages (#238)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-16 19:32:51 -08:00
Hayden Bleasel ae31076d13 Resolves #133 2025-11-16 19:25:29 -08:00
Hayden Bleasel b0d53479b1 Resolves #240 2025-11-16 19:17:09 -08:00
streamdown-github-app[bot] 9233753b71 Version Packages (#236)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-14 07:35:19 -08:00
Pascal Tiberghien a1b1929e68 Fix: Update PromptInputSpeechButton SpeechRecognition usage (#234)
* Fix: Update PromptInputSpeechButton SpeechRecognition usage to only use final result

* Create swift-spies-smell.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-13 18:46:28 -08:00
streamdown-github-app[bot] 36e70ef8c7 Version Packages (#224)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-12 17:00:56 -08:00
Hayden Bleasel e85af4eaca Resolves #229 2025-11-12 09:11:02 -08:00
Hayden Bleasel f887f5c76c Update PromptInputMessage to use AI SDK types 2025-11-10 12:28:51 -08:00
Hayden Bleasel d3d91ba79f Remove unused hast type 2025-11-10 11:41:59 -08:00
Hayden Bleasel 6426625075 Update message.tsx 2025-11-10 11:18:23 -08:00
Hayden Bleasel 2d67ab6c8a Documentation fixes 2025-11-10 10:39:07 -08:00
UncleBigBay 70bf5fd337 chore: fix checkpoint overflow (#225)
* chore: fix checkout overflow

* Create tough-pants-smash.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-09 11:57:39 -08:00
Brendan Dash e6c656cd5f fix(model-selector): add DialogTitle (#226)
* fix: add DialogTitle

* feat: use sr-only

* Refactor ModelSelector to use ReactNode for title

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-09 11:56:41 -08:00
Ben Drucker 6fa1d46975 fix(reasoning): make "Thought for a few seconds" message reachable (#223)
* fix(reasoning): make "Thought for a few seconds" message reachable

The "Thought for a few seconds" fallback message was unreachable due to
useControllableState defaulting duration to 0 instead of undefined.

- Changed defaultProp from 0 to undefined in useControllableState
- Updated ReasoningContextValue type to allow undefined duration
- Added test coverage for the undefined duration case

Fixes the conditional logic where duration === 0 would trigger the
shimmer animation, preventing the undefined check from ever executing.

* Create odd-grapes-behave.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-07 11:31:18 -08:00
streamdown-github-app[bot] 80a384aff6 Version Packages (#218)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-06 18:49:44 -08:00
Hayden Bleasel 1c09c94260 Resolves #184 2025-11-06 18:21:55 -08:00
Hayden Bleasel 3c34582527 Resolves #182 2025-11-06 18:01:39 -08:00
Hayden Bleasel 37ff591e90 Merge tests 2025-11-06 17:58:54 -08:00
Hayden Bleasel 2ca0b3ae02 Update reasoning.tsx 2025-11-06 17:57:24 -08:00
Hayden Bleasel 2094d4f063 Fix message design 2025-11-06 17:54:53 -08:00
Hayden Bleasel 64e9143773 Delete unused components 2025-11-06 17:54:47 -08:00
Hayden Bleasel b82113887f Resolves #221 2025-11-06 14:11:30 -08:00
Hayden Bleasel be8bd9108f Update prompt-input.tsx 2025-11-06 14:07:57 -08:00
Hayden Bleasel eca525a319 Update prompt-input.tsx 2025-11-06 14:06:16 -08:00
Hayden Bleasel d5f1159390 New Message component (#222)
* Merge actions, branch and response into message

* Update docs and examples

* Make Flat variant default

* Update message

* Create tangy-melons-behave.md

* Upgrade branch to buttongroup

* Finish updating message

* Update message.test.tsx

* Update usage.mdx
2025-11-06 13:56:42 -08:00
Hayden Bleasel f9fc162e56 Resolves #185 2025-11-06 12:32:38 -08:00