Files

17 lines
846 B
Plaintext

# SDK view (board-sdk.html), strict CSP
## with _meta.ui.csp.resourceDomains = [https://unpkg.com]
KB-01 Mechanical keyboard: 4
MN-27 27 inch monitor: 25
HB-04 USB4 hub: 0
host: tool show_inventory_sdk -> ui://inventory/board-sdk.html, declared csp {"resourceDomains":["https://unpkg.com"]}
host: tool-input and tool-result delivered
host: chat message = Which items should I reorder first?
## the same view when no domains are declared, 4 seconds later
view shows: Waiting for the tool result…
host: tool show_inventory_sdk -> ui://inventory/board-sdk.html, declared csp none
view -> host: ui/notifications/sandbox-proxy-ready
browser console:
Loading the script 'https://unpkg.com/@modelcontextprotocol/[email protected]/dist/src/app-with-deps.js' violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".