Jan Olaf Martin
a7d73c72e0
Make vite work out-of-the-box for simple-host ( #33 )
2025-12-01 21:57:46 +00:00
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
Olivier Chafik
3e5ec1ae0b
build: use workspaces for example subfolders ( #23 )
...
* use npm workspaces
* Update package.json
2025-11-25 03:14:14 +00:00
Olivier Chafik
b4c6019d47
example-host: fix sandboxing setup ( #21 )
...
* example-host: prevent accidental non-iframing of sandbox (or iframing in prod)
* fix sandbox isolation + "test in prod"
* Update package.json
* Update sandbox.ts
2025-11-25 02:45:55 +00:00
Olivier Chafik
3df49c38dc
fix iframe resizing ( #19 )
...
* reshuffle build / start scripts
* fix resize logic
* prettier
* extract RESOURCE_URI_META_KEY constant
* Update message-transport.ts
* Update package.json
2025-11-25 02:39:33 +00:00
Olivier Chafik
c800b34635
format
2025-11-24 17:27:06 +00:00
Olivier Chafik
e4e7edf284
reshuffle, use -vanilla consistently
2025-11-24 16:59:41 +00:00
Olivier Chafik
24dd9691de
fix mcp sdk refs
2025-11-24 16:53:55 +00:00
Olivier Chafik
eab25b6821
serve.py -> server.ts
2025-11-24 16:52:05 +00:00
Olivier Chafik
3c438c29c4
Update example-host.ts
2025-11-24 16:26:57 +00:00
Olivier Chafik
1a4c0180eb
nit: rm unused type
2025-11-24 16:21:22 +00:00
Olivier Chafik
54a48a4a13
rename: AppRenderer
2025-11-24 16:20:45 +00:00
Olivier Chafik
d32e43aaf5
tweaks
2025-11-24 16:14:17 +00:00
Olivier Chafik
bc6458d3fb
tweaks
2025-11-24 16:12:55 +00:00
Olivier Chafik
14740aacea
fix build
2025-11-24 16:07:10 +00:00
Olivier Chafik
b738294458
fix build
2025-11-24 16:03:24 +00:00
Olivier Chafik
1f3bc52142
add simple-host example
2025-11-24 16:01:10 +00:00