ext-apps/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 97310d50c5 Add basic-host and basic-server-react examples
Introduce new example implementations to replace simple-host and
simple-server:

- basic-host: Reference host implementation with double-iframe sandbox
  pattern for secure UI isolation (outer iframe validates and relays
  messages, inner iframe renders untrusted tool UI via srcdoc)

- basic-server-react: MCP server example demonstrating tool registration
  with linked UI resources and React UI using the useApp() hook

Build infrastructure updates:
- Add build:all script and simplify CI/pre-commit to use it
- Add examples:dev for watch-mode development workflow

Also change PostMessageTransport logging from info to debug level.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 14:28:27 -06: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 basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00
types.ts feat: add UI resource metadata types for CSP and rendering config (#65) 2025-12-03 17:21:42 +00:00