Skip to content

Embed Widget Config fix#57

Open
Topherhindman wants to merge 2 commits intomainfrom
topherhindman/grw-173-embed-config-fix
Open

Embed Widget Config fix#57
Topherhindman wants to merge 2 commits intomainfrom
topherhindman/grw-173-embed-config-fix

Conversation

@Topherhindman
Copy link
Copy Markdown

Add agentName and sandboxId to APP_CONFIG_DEFAULTS so they are no longer silently dropped when received from the sandbox config endpoint. Fix the type guard in getAppConfig() to allow undefined defaults to be overwritten by typed remote values.

Set Content-Security-Policy: frame-ancestors * on /embed route so this page can be loaded in iframes on third-party sites.

Add agentName and sandboxId to APP_CONFIG_DEFAULTS so they
are no longer silently dropped when received from the sandbox
config endpoint. Fix the type guard in getAppConfig() to allow
undefined defaults to be overwritten by typed remote values.

Set Content-Security-Policy: frame-ancestors * on /embed and
/test/popup routes so these pages can be loaded in iframes on
third-party sites. Required for the Cloud embed widget feature.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

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

Project Deployment Actions Updated (UTC)
agent-starter-embed Ready Ready Preview, Comment Apr 3, 2026 10:50pm

Request Review

@Topherhindman Topherhindman changed the title Topherhindman/grw 173 embed config fix Embed Widget Config fix Apr 3, 2026
Vercel blocks deployments on vulnerable Next.js versions.
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.

1 participant