ext-apps/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 4995746759
fix(types): forbid csp/permissions on McpUiToolMeta via never (#624)
* fix(types): forbid csp/permissions on McpUiToolMeta via never

Hosts read _meta.ui.csp and _meta.ui.permissions from the resource
(resources/read content item, with resources/list entry as fallback),
never from the tool. Typing them as `never` on McpUiToolMeta gives
TypeScript users a compile-time error pointing at McpUiResourceMeta
instead of silently accepting and ignoring them.

Companion to anthropics/apps#38705 (host-side console.warn).
Refs anthropics/claude-ai-mcp#40.

* drop misleading #40 link from McpUiToolMeta.csp JSDoc
2026-04-21 13:49:07 +01:00
..
generated fix(types): forbid csp/permissions on McpUiToolMeta via never (#624) 2026-04-21 13:49:07 +01:00
react feat(react): forward autoResize from useApp to App (#622) 2026-04-21 11:51:04 +01:00
server spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) (#72) 2026-04-21 13:46:13 +01:00
app-bridge.examples.ts feat: MCP app sampling support via stock SDK types (alt to #477) (#530) 2026-04-21 13:29:09 +01:00
app-bridge.test.ts spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) (#72) 2026-04-21 13:46:13 +01:00
app-bridge.ts feat: MCP app sampling support via stock SDK types (alt to #477) (#530) 2026-04-21 13:29:09 +01:00
app.examples.ts spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) (#72) 2026-04-21 13:46:13 +01:00
app.ts spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) (#72) 2026-04-21 13:46:13 +01:00
events.ts Add addEventListener/removeEventListener with DOM-model on* semantics (#573) 2026-03-30 18:48:33 +01:00
message-transport.examples.ts docs: standardize UI terminology to use "view" consistently (#325) 2026-01-23 04:36:52 +02:00
message-transport.ts fix: skip debug log for high-frequency tool-input-partial notifications 2026-03-10 17:25:12 +00:00
spec.types.ts fix(types): forbid csp/permissions on McpUiToolMeta via never (#624) 2026-04-21 13:49:07 +01:00
standard-schema.ts spec: Add tool registration for Apps, to be called by Host (WebMCP-style!) (#72) 2026-04-21 13:46:13 +01:00
styles.examples.ts Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
styles.ts Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
types.ts feat: MCP app sampling support via stock SDK types (alt to #477) (#530) 2026-04-21 13:29:09 +01:00