Commit Graph

181 Commits

Author SHA1 Message Date
Hayden Bleasel 1c3ebf2ae2 Build fixes 2026-01-20 15:33:28 -08:00
Oscar Treviño 3dfde7c40e fix(elements): adjust model selector outline (#326)
* fix(elements): adjust model selector outline

* docs: add changeset
2026-01-20 14:41:31 -08:00
Hayden Bleasel b6a143747b Upgrade Streamdown 2026-01-19 23:29:59 -08:00
Hayden Bleasel 3be752e502 Fix linting issues 2026-01-18 13:33:46 -08:00
Hayden Bleasel 8a90568941 Fix tests 2026-01-18 13:32:46 -08:00
Hayden Bleasel f485a897c4 Attachment -> Attachments 2026-01-18 10:37:14 -08:00
Hayden Bleasel aa067913a1 Misc fixes 2026-01-18 10:36:04 -08:00
Hayden Bleasel 2ea189f895 Fix code block 2026-01-18 09:26:27 -08:00
Hayden Bleasel a63d1b1f10 Cleanup Snippet 2026-01-18 09:23:54 -08:00
Hayden Bleasel 3b86184eed Improve Sandbox 2026-01-18 09:17:16 -08:00
Hayden Bleasel d6e0274add Rename GitCommit to Commit 2026-01-17 23:01:38 -08:00
Hayden Bleasel c53234b72c Update git-commit.tsx 2026-01-17 22:58:30 -08:00
Hayden Bleasel 9810258952 Remove FileChanges component 2026-01-17 22:54:19 -08:00
Hayden Bleasel 9b7d522149 Delete Diff 2026-01-17 22:52:08 -08:00
Hayden Bleasel 7a04c874b9 Fix lint issues 2026-01-17 22:37:59 -08:00
Hayden Bleasel 9b988bc593 Fix tests 2026-01-17 22:32:29 -08:00
Hayden Bleasel e51d04a64f Upgrade CodeBlock 2026-01-17 22:28:43 -08:00
Hayden Bleasel 8dd6b391a2 Update Agent 2026-01-17 19:30:09 -08:00
Hayden Bleasel 96a92f869c Tests and lint fixes 2026-01-16 20:35:11 -08:00
Hayden Bleasel 0819501ea8 Fix linting and formatting 2026-01-16 20:20:18 -08:00
Hayden Bleasel f7b04e69f2 Create SchemaDisplay component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:46 -08:00
Hayden Bleasel 9876e5124d Create TestResults component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:37 -08:00
Hayden Bleasel 84f15f6e98 Create FileTree component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:27 -08:00
Hayden Bleasel ea591fc433 Create Terminal component with ANSI support
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:18 -08:00
Hayden Bleasel 97c6e47a0d Create GitCommit component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:08 -08:00
Hayden Bleasel fa00d464e3 Create PackageInfo component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:52:58 -08:00
Hayden Bleasel cc59f4d36f Create Snippet component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:52:48 -08:00
Hayden Bleasel f1a7c74f73 Env Vars component 2026-01-16 19:50:59 -08:00
Hayden Bleasel d444778f9a Create StackTrace component 2026-01-16 17:29:17 -08:00
Hayden Bleasel b1490b8a18 Fix lint / formatting issues 2026-01-16 16:33:33 -08:00
Hayden Bleasel 1ac4397f03 Create Agent component 2026-01-16 16:05:37 -08:00
Hayden Bleasel e1d89ad13a Resolves #161 2026-01-16 15:43:44 -08:00
Hayden Bleasel 505476ea99 Resolves #167 2026-01-16 15:21:07 -08:00
Hayden Bleasel 067982587b Resolves #275 2026-01-16 14:39:17 -08:00
Hayden Bleasel 899c9a2e51 Improve test coverage 2026-01-16 14:02:20 -08:00
Hayden Bleasel bae3805251 Update prompt-input.test.tsx 2026-01-16 13:44:42 -08:00
Hayden Bleasel 1bc771dcb3 Resolves #284 2026-01-16 13:40:52 -08:00
Hayden Bleasel 8a4a6feaff Resolves #321 2026-01-16 13:24:24 -08:00
Oscar Treviño 045453d73e feat(prompt-input): add stop generation functionality (#320)
* feat(prompt-input): add stop generation functionality

* docs: add changelog
2026-01-16 12:56:38 -08:00
Hayden Bleasel bdb2964d00 Bump deps 2026-01-16 12:40:58 -08:00
Hayden Bleasel 2dd23cfc87 Attachments (#318)
* Scaffold attachments

* Create beige-cameras-tap.md
2026-01-15 10:45:32 -08:00
Francisco Moretti 04242be0e4 Sandbox component (#231)
* Implement Sandbox component with collapsible sections and tabs; export getStatusBadge function for external use

* sandbox

* feat: add new Sandbox component

* Update packages/elements/src/sandbox.tsx

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* Refactor Sandbox component: remove SandboxCopyButton and integrate copy functionality into SandboxCode and SandboxOutput components. Update related tests and documentation accordingly.

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2026-01-14 13:13:31 -08:00
Francisco Moretti 879198142f (Feat): Enhance PromptInput with SourceDocument functionality (#232)
* Enhance PromptInput with referenced sources functionality

- Added support for managing referenced sources within the PromptInput component.
- Introduced new context and hooks for handling referenced sources.
- Implemented UI components for displaying and interacting with referenced sources.
- Updated example to demonstrate the usage of referenced sources in the PromptInput.

* Implement SourceDocument functionality in PromptInput component

* Refactor PromptInput component to improve attachment and referenced source management

- Consolidated attachment clearing logic into a single clear function.
- Enhanced readability by restructuring JSX elements and type definitions.
- Added a new clearReferencedSources function for better state management.

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2026-01-14 13:12:37 -08:00
dependabot[bot] ea6548e0a4 Bump @vitest/browser from 4.0.7 to 4.0.16 (#300)
Bumps [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) from 4.0.7 to 4.0.16.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.16/packages/browser)

---
updated-dependencies:
- dependency-name: "@vitest/browser"
  dependency-version: 4.0.16
  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>
2026-01-14 13:09:50 -08:00
jamdaniels 3c7fee450d fix: resolve button transparency in dark mode for scrollToBottom (#311)
* fix scrollToBottom dark mode transparency

* Add changeset
2026-01-14 10:32:55 -08:00
Adebayo Ayodele 6231366118 fix(tool): add group class to enable chevron rotation on open (#314)
* fix(tool): add group class to enable chevron rotation on open

* Chore: add patch changeset
2026-01-14 10:31:56 -08:00
Sebastian Sdorra d00f49035d fix: allow passing onKeyDown prop to PromptInputTextarea (#316) 2026-01-14 10:31:26 -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