Fix UIResource \_meta type to match actual usage pattern

The UIResource interface incorrectly specified `_meta?: UIResourceMeta`
when it should be `_meta?: { ui?: UIResourceMeta }` to match the
resources/read response format and all usage examples throughout the
document.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jonathan Hefner 2025-11-24 08:51:53 -06:00
commit 120a673904

View file

@ -101,7 +101,9 @@ interface UIResource {
* Includes Content Security Policy configuration, dedicated domain settings,
* and visual preferences.
*/
_meta?: UIResourceMeta
_meta?: {
ui?: UIResourceMeta;
}
}
interface UIResourceMeta {