ext-apps/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anton Pidkuiko 781adf16e0
feat: add UI resource metadata types for CSP and rendering config (#65)
Add types for parsing `_meta.ui` field from resources/read responses:

- McpUiResourceCspSchema: CSP domain declarations (connectDomains for
  fetch/XHR/WebSocket, resourceDomains for scripts/images/fonts)
- McpUiResourceMetaSchema: Full metadata including CSP, dedicated domain
  for widget sandbox, and border preference

Hosts need these to construct CSP headers and configure iframe sandboxing.

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-03 17:21:42 +00:00
..
react Add API docs (#29) 2025-11-27 22:09:22 +00:00
app-bridge.test.ts Add App <-> AppBridge tests, setHostContext & sendToolInputPartial (#55) 2025-12-01 22:18:31 +00:00
app-bridge.ts Add App <-> AppBridge tests, setHostContext & sendToolInputPartial (#55) 2025-12-01 22:18:31 +00:00
app.ts Fix iframe sizing to use actual content dimensions (#57) 2025-12-01 23:04:09 +00:00
message-transport.ts Add API docs (#29) 2025-11-27 22:09:22 +00:00
types.ts feat: add UI resource metadata types for CSP and rendering config (#65) 2025-12-03 17:21:42 +00:00