Remove sandbox code from agent-starter-react - #365
Open
thomasyuill-livekit wants to merge 6 commits into
Open
Conversation
Strips the LiveKit Cloud sandbox infrastructure (remote config injection, sandbox token source, sandbox env vars/docs/CI) now that sandboxes are being deprecated, leaving a plain front-end starter backed by the self-hosted /api/token route. Fixes CLT-3229 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
APP_CONFIG_DEFAULTS is now a static export with no per-request resolution, so page.tsx and layout.tsx can use it directly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Deletes the AppConfig abstraction entirely and inlines its default values directly where they're used (layout branding/styles, agent dispatch name, view-controller feature flags). Customization now happens by editing those components directly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Folds the inline <style> block from layout.tsx into the existing --primary/--primary-foreground declarations in globals.css instead of injecting a second rule at runtime. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The audio visualizer needs to know the active color scheme; this was dropped when the appConfig-driven audioVisualizerColor logic was removed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
thomasyuill-livekit
requested review from
1egoman,
bcherry,
davidzhao,
lukasIO and
rektdeckard
August 13, 2026 12:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NEXT_PUBLIC_CONN_DETAILS_ENDPOINT/X-Sandbox-Idhandshake, so the app always connects via the self-hosted/api/tokenroute.NEXT_PUBLIC_APP_CONFIG_ENDPOINT,SANDBOX_ID,X-Sandbox-IDheader) that let LiveKit Cloud override branding for a hosted sandbox.app-config.tsand inlines its default values directly where they're used (branding/title inapp/layout.tsx, feature flags and visualizer settings incomponents/app/view-controller.tsx, agent dispatch name inapp/page.tsx/components/app/app.tsx).--primary/--primary-hovercolor overrides from a runtime inline<style>tag inlayout.tsxinto static declarations instyles/globals.css.opengraph-image.tsxroute entirely.TEMPLATE.md, whose sole content was the sandbox hosting pitch..github/workflows/sync-to-production.yaml, which syncedmainto asandbox-productionbranch via a sandbox-only deploy action.NEXT_PUBLIC_APP_CONFIG_ENDPOINT,SANDBOX_ID) from.env.example.README.mdto drop all sandbox andapp-config.tsreferences, pointing configuration guidance at the components that now hold those literal values.Fixes CLT-3229.
Test plan
pnpm buildsucceedspnpm lintshows only pre-existing, unrelated warningsgrep -ri sandboxacross the repo returns no app-code/docs/CI matchespnpm devconnects via/api/tokenusing local.env.localcredentials🤖 Generated with Claude Code