224 Commits

Author SHA1 Message Date
Casey Gowrie 6a9d5b1822 Add question component for choices and freeform responses (#479)
* feat: add question component

* docs: expand question examples
2026-08-21 10:44:34 -04:00
Steven 038f4f7a72 chore(docs): remove next images config (#436)
Removed remotePatterns configuration for images.
2026-05-27 15:53:52 -04:00
Rich Haines 9ab9c715d6 Add AI agent detection via @vercel/agent-readability (#421)
* Add @vercel/agent-readability dependency

* Add AI agent detection via @vercel/agent-readability

* Fix md-tracking types, add Vary header and discovery options

- Update TrackMdRequestParams to include 'agent-rewrite' requestType and detectionMethod
- Import DetectionMethod type from @vercel/agent-readability
- Include detectionMethod in tracking fetch body
- Add Vary: Accept header on agent-rewrite responses
- Add discovery options (sitemapUrl, indexUrl) to generateNotFoundMarkdown

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update pnpm-lock.yaml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:23:35 +02:00
Rich Haines e0b9cf5947 Send siteId as label on feedback GitHub issues (#418) 2026-04-01 14:36:46 +02:00
Fernando Rojo 66885cfee6 feat: remove v0 clone example from sidebar navigation (#404)
Delete v0.mdx file to auto-remove it from sidebar

Slack-Thread: https://vercel.slack.com/archives/C06S42QMC6M/p1774298811123679?thread_ts=1774298811.123679&cid=C06S42QMC6M

Co-authored-by: v0 <v0[bot]@users.noreply.github.com>
2026-03-23 16:53:45 -04:00
Hayden Bleasel fdeb704817 Update route.ts 2026-03-16 11:07:08 -07:00
Hayden Bleasel 86d940af02 Update Geistdocs 2026-03-16 10:55:17 -07:00
Allen Zhou ad919f4bfe fix: add CSS for shiki dual theme support (#397) 2026-03-08 18:06:08 -07:00
Marcelo 607bb6502e Fix skill description, docs, and PromptInput usage across references (#395)
* Fix skill description, docs, and PromptInput usage across references

- Fix SKILL.md frontmatter description to describe user-facing use case
  instead of internal library development
- Remove empty "Quick Start" section (header with no content)
- Remove extra consecutive blank lines throughout SKILL.md
- Add package runner note (npx/pnpm dlx/bunx) after install description
- Fix troubleshooting sub-headings from ## to ### (were same level as parent)
- Fix trailing colon to period in theme switching troubleshooting section
- Fix wrong `Input` import to `PromptInput` in 6 skill references and
  6 docs pages (conversation, message, suggestion, sources, image,
  web-preview) — `Input` export does not exist, likely leftover from rename
- Fix wrong `onSubmit` handler signature in 7 skill references and 7 docs
  pages — `PromptInput.onSubmit` passes `(message: PromptInputMessage)`
  as the first argument, not a `FormEvent`. Calling `e.preventDefault()`
  on a PromptInputMessage object would crash at runtime

* fix: don't overwrite SKILL.md in generate-skills

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-07 13:01:06 -08:00
Hayden Bleasel 2551702959 Update docs 2026-03-06 14:27:58 -08:00
Hayden Bleasel 2ebd564fac Resolves #391 2026-03-06 14:13:18 -08:00
Hayden Bleasel 652dd61584 Lint / format fixes 2026-03-06 13:59:05 -08:00
Hayden Bleasel ed31a585ad Resolves #378 2026-03-06 13:58:13 -08:00
dependabot[bot] a0b13d344d Bump @types/node from 22.19.7 to 25.2.0 (#363)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.7 to 25.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 13:30:13 -08:00
dependabot[bot] 8e168d285d Bump next from 16.0.10 to 16.1.6 (#364)
Bumps [next](https://github.com/vercel/next.js) from 16.0.10 to 16.1.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v16.0.10...v16.1.6)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.1.6
  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>
2026-03-06 13:28:48 -08:00
dependabot[bot] 4bf35c8ecb Bump lucide-react from 0.555.0 to 0.563.0 (#359)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.555.0 to 0.563.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.563.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 0.563.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>
2026-03-06 13:24:28 -08:00
Hayden Bleasel 1310612d30 Run linter/formatter 2026-03-06 13:19:49 -08:00
dependabot[bot] 4f381d0738 Bump ai from 6.0.68 to 6.0.69 (#366)
Bumps [ai](https://github.com/vercel/ai) from 6.0.68 to 6.0.69.
- [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@6.0.68...ai@6.0.69)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 6.0.69
  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>
2026-03-06 12:20:35 -08:00
ziyadev 58801e5574 feat(prompt-input): add screenshot action to the prompt input (#382)
* feat(prompt-input): add screenshot action with tests and docs

* fix: rename ScreenShoot to Screenshot, add own props type, fix quotes and formatting

- Fix typo: PromptInputActionAddScreenShoot → PromptInputActionAddScreenshot
- Add dedicated PromptInputActionAddScreenshotProps type
- Replace console.error with throw for unexpected errors
- Fix single quotes to double quotes for consistency
- Restore trailing comma on XIcon import
- Add missing blank line before comment block
- Add patch changeset

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

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 12:14:49 -08:00
Ayodele Samuel Adebayo 80f91b5cab Patch: update chatbot example (#377)
* Feat: update chatbot example doc to include missing sonner guide

* chore: undo formatting
2026-03-06 09:34:24 -08:00
Will Garman ed8868d940 fix: correct "Edit this page on GitHub" links for components and examples (#389)
The EditSource component hardcoded `content/docs/` in the GitHub edit URL,
causing 404s for component and example pages whose content lives under
`content/components/` and `content/examples/` respectively.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:32:44 -08:00
Hayden Bleasel 10a5e65257 Update page.tsx 2026-02-12 11:51:14 -08:00
Hayden Bleasel 8a894a4113 Fix undefined 2026-02-12 11:39:42 -08:00
Hayden Bleasel 00541e8d4d Update Geistdocs 2026-02-12 11:33:19 -08:00
Hayden Bleasel 5cb42a6215 Update source.config.ts 2026-02-11 18:21:59 -08:00
Hayden Bleasel 8c6957eead Update source.ts 2026-02-11 18:20:11 -08:00
Hayden Bleasel 6f1bffa40c Add md-metadata 2026-02-11 17:05:56 -08:00
Hayden Bleasel 99000811a6 Update Geistdocs 2026-02-11 09:37:51 -08:00
Hayden Bleasel e2045329c8 Fix prompt-input implementation 2026-02-06 13:15:13 -08:00
Hayden Bleasel 9c7af72e53 Update vercel-ai-frontend.mdx 2026-02-06 13:11:16 -08:00
Hayden Bleasel 0ebdf91375 Update vercel-ai-frontend.mdx 2026-02-06 13:09:42 -08:00
Hayden Bleasel adf656e4a0 Update vercel-ai-frontend.mdx 2026-02-06 13:08:43 -08:00
Hayden Bleasel 54559347f0 Update vercel-ai-frontend.mdx 2026-02-06 13:06:13 -08:00
Hayden Bleasel e7566cacc8 Fix .md files 2026-02-04 13:17:08 -08:00
Hayden Bleasel 08ff8df7eb Update preview.tsx 2026-02-04 10:29:01 -08:00
Lindsey Simon 1f5e46fec6 fix: Preview component import path and add robots.txt (#368)
* fix: Preview component import path and add robots.txt

Fixes #issue-number

- Fix Preview component to use correct package.json export path
  Changed from @repo/examples/src/${path}.tsx to @repo/examples/${path}
  to match the exports configuration in package.json

- Add robots.ts file to handle /robots.txt requests
  Previously the [lang] dynamic route was catching /robots.txt
  causing 500 errors

- Add error handling for missing component default exports

- Temporarily add ignoreBuildErrors to test in Vercel production
  This allows deployment to verify the fix for the production-only
  "Cannot use 'in' operator to search for 'root' in undefined" error

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

* Remove reactStrictMode and TypeScript settings

Removed reactStrictMode and TypeScript build error settings.

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2026-02-04 10:21:20 -08:00
Hayden Bleasel 30cbcfec97 Migrate to Oxlint (#357)
* Migrate to oxlint / oxfmt

* Initial fixes

* Misc fixes

* Temporary fixes

* Update Ultracite

* Update .oxlintrc.json

* Update .oxlintrc.json

* Start running manual fixes

* Update .oxlintrc.json

* AI Fixes Part 2

* AI Fixes Part 3

* AI Fixes Part 4

* AI Fixes Part 5

* AI Fixes Part 6

* AI Fixes Part 7

* AI Fixes Part 8

* AI Fixes Part 9

* AI Fixes Part 10

* AI Fixes Part 11

* AI Fixes Part 12

* Fix tests

* Lint / test fixes

* Update chat.tsx

* Fix AI SDK React version

* Misc fixes

* Build fixes
2026-02-04 08:00:41 -08:00
Hayden Bleasel 36a3444e28 Resolves #295, resolves #298 2026-02-03 14:08:10 -08:00
Hayden Bleasel f54b3efe55 Resolves #150 2026-02-03 13:55:08 -08:00
Hayden Bleasel 438072d756 Resolves #106 2026-02-03 13:45:16 -08:00
Hayden Bleasel d98785da76 Resolves #94 2026-02-03 13:43:00 -08:00
Hayden Bleasel cf808a4952 Resolves #78 2026-02-03 13:26:00 -08:00
dependabot[bot] 1bb2f65dfb Bump zod from 3.25.76 to 4.3.6 (#342)
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.3.6.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.3.6)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.3.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 15:46:35 -08:00
dependabot[bot] 87def83df0 Bump shadcn from 3.7.0 to 3.8.1 (#343)
Bumps [shadcn](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/shadcn-ui/ui/releases)
- [Changelog](https://github.com/shadcn-ui/ui/blob/main/packages/shadcn/CHANGELOG.md)
- [Commits](https://github.com/shadcn-ui/ui/commits/shadcn@3.8.1/packages/shadcn)

---
updated-dependencies:
- dependency-name: shadcn
  dependency-version: 3.8.1
  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>
2026-02-02 15:45:22 -08:00
dependabot[bot] f05e9e51e9 Bump katex from 0.16.27 to 0.16.28 (#345)
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.27 to 0.16.28.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.27...v0.16.28)

---
updated-dependencies:
- dependency-name: katex
  dependency-version: 0.16.28
  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>
2026-02-02 15:43:42 -08:00
dependabot[bot] 1147d8bc50 Bump ai from 6.0.39 to 6.0.67 (#341)
Bumps [ai](https://github.com/vercel/ai) from 6.0.39 to 6.0.67.
- [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@6.0.39...ai@6.0.67)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 6.0.67
  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>
2026-02-02 15:38:28 -08:00
dependabot[bot] f47c29cb65 Bump jotai from 2.16.2 to 2.17.0 (#347)
Bumps [jotai](https://github.com/pmndrs/jotai) from 2.16.2 to 2.17.0.
- [Release notes](https://github.com/pmndrs/jotai/releases)
- [Commits](https://github.com/pmndrs/jotai/compare/v2.16.2...v2.17.0)

---
updated-dependencies:
- dependency-name: jotai
  dependency-version: 2.17.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>
2026-02-02 15:37:48 -08:00
dependabot[bot] e493df2104 Bump shiki from 3.21.0 to 3.22.0 (#348)
Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v3.22.0/packages/shiki)

---
updated-dependencies:
- dependency-name: shiki
  dependency-version: 3.22.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>
2026-02-02 15:37:42 -08:00
Hayden Bleasel fd0fb20a1d Build fixes 2026-02-02 10:50:43 -08:00
Hayden Bleasel 0c899d3af3 Update elements-installer.tsx 2026-02-02 10:28:49 -08:00