inspector/clients/web/src/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 06c7985d5c fix(web): read MCP App UI resource metadata from _meta.ui
McpUiResourceMeta describes the value of a `_meta` bag's `ui` key, not
`_meta` itself, so casting `content._meta` to it left `csp` and
`permissions` undefined for every spec-conforming app. The generated
sandbox CSP then fell back to `connect-src 'none'` and the app's declared
connectDomains never took effect.

Unwrap `_meta.ui` (with a result-level fallback, which the spec allows)
through a small type-guarded helper, mirroring the tool side of this file
where `getToolUiResourceUri` already reads `_meta.ui.resourceUri`. The
test fixture now builds the real wire shape, and cases cover the
result-level fallback plus the unnested bag being ignored.

Closes #2055

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-23 20:27:58 -04:00
..
elements fix(web): read MCP App UI resource metadata from _meta.ui 2026-08-23 20:27:58 -04:00
groups fix(auth): make the durability guard provenance-aware, and harden the claim 2026-08-22 22:10:07 -04:00
screens feat(apps): negotiated app-rendered form elicitations 2026-08-22 19:05:33 -04:00
views/InspectorView chore(lint): enable no-floating-promises in all five ESLint scopes 2026-08-16 20:57:32 -04:00