Skip to content

feat(shadcn): theme mode for aura visualizer and all registry item#1327

Merged
thomasyuill-livekit merged 5 commits into
mainfrom
ty/clt-2913-agents-ui
May 14, 2026
Merged

feat(shadcn): theme mode for aura visualizer and all registry item#1327
thomasyuill-livekit merged 5 commits into
mainfrom
ty/clt-2913-agents-ui

Conversation

@thomasyuill-livekit
Copy link
Copy Markdown
Contributor

@thomasyuill-livekit thomasyuill-livekit commented May 14, 2026

Summary

Closes CLT-2913.

Theme-aware aura in session view

  • Adds themeMode?: 'dark' | 'light' to AgentSessionView_01
  • Threads it through TileLayout -> AudioVisualizer -> AgentAudioVisualizerAura
  • Updates the Storybook story to use next-themes resolved theme
  • Renames internal chat state/props from chatOpen to isChatOpen

Registry updates

  • Adds @agents-ui/all as a meta registry item
  • Installs supported @agents-ui components via registryDependencies
  • Excludes nextjs-api-token-route from all because it is an app route, not a drop-in component
  • Runs shadcn tests before registry:build

Test coverage

  • Adds tests for AgentTrackControl
  • Adds tests for usePublishPermissions and useInputControls
  • Adds tests for nextjs-api-token-route
  • Adds a Vitest next/server alias for route tests

Verification

  • pnpm --dir packages/shadcn test (22 files, 274 tests)
  • pnpm --dir packages/shadcn test -- agent-track-control.test.tsx use-agent-control-bar.test.ts nextjs-api-token-route.test.ts (3 files, 26 tests)
  • git diff origin/main... --check
  • shadcn build emits dist/r/all.json
  • Manual Storybook check: AgentSessionView-01 + audioVisualizerType: 'aura' follows theme toggles

Notes

  • Full registry:build still requires packages/shadcn/.env.local for the doc-gen step in this workspace.
  • Package-wide tsc --noEmit still reports existing unrelated config/type issues.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
components-js-storybook-5kld Ready Ready Preview, Comment May 14, 2026 6:42pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

⚠️ No Changeset found

Latest commit: ec6a754

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

size-limit report 📦

Path Size
LiveKitRoom only 6.01 KB (0%)
LiveKitRoom with VideoConference 32.24 KB (0%)
All exports 43.69 KB (0%)

CLT-2913: thread an optional `themeMode` prop through `AgentSessionView_01`
so consumers can keep the aura visualizer in sync with their resolved theme,
and add a meta `all` registry item that installs every @agents-ui component.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Comment thread packages/shadcn/registry.json Outdated
@thomasyuill-livekit thomasyuill-livekit merged commit 77bd4ab into main May 14, 2026
8 checks passed
@thomasyuill-livekit thomasyuill-livekit deleted the ty/clt-2913-agents-ui branch May 14, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants