ext-apps/examples/simple-host
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 484768c3d1
Fix sandbox proxy ready detection in simple-host example (#47)
Replace Zod schema's internal _def.value access with a direct string
literal. The previous approach failed due to multiple Zod instances
being bundled, causing schema.shape.method._def.value to return
undefined.

The fix uses a typed string constant that provides compile-time safety
via McpUiSandboxProxyReadyNotification["method"] while avoiding runtime
dependency on Zod internals.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-01 20:07:40 +00:00
..
src Fix sandbox proxy ready detection in simple-host example (#47) 2025-12-01 20:07:40 +00:00
example-host-react.html add simple-host example 2025-11-24 16:01:10 +00:00
example-host-vanilla.html reshuffle, use -vanilla consistently 2025-11-24 16:59:41 +00:00
package.json example-host: fix sandboxing setup (#21) 2025-11-25 02:45:55 +00:00
sandbox.html add simple-host example 2025-11-24 16:01:10 +00:00
serve.ts example-host: fix sandboxing setup (#21) 2025-11-25 02:45:55 +00:00
tsconfig.json add simple-host example 2025-11-24 16:01:10 +00:00
vite.config.ts add simple-host example 2025-11-24 16:01:10 +00:00