import type { UiWidget } from './types' /** * Connect Card Widget: MCP Apps inline HTML. * One-click "open in browser" card for the connect links returned by * gnubok_connect_bank and gnubok_connect_skatteverket. The button sends the * host a `ui/open-link` request (the only sanctioned way to open a new tab * from a widget); custom connectors always get Claude's confirmation modal, * so the destination URL is shown in the card for the user to recognize. * Which tool produced the result is detected from the structuredContent * shape: only the Skatteverket tool has an `available` field. */ export const CONNECT_CARD_HTML = ` Anslut - Accounted

Anslut

Laddar…

` export const connectCardWidget: UiWidget = { uri: 'ui://connect-card/app.html', name: 'Connect Card', description: 'One-click card for opening the bank or Skatteverket connect link in the browser. Rendered by gnubok_connect_bank and gnubok_connect_skatteverket.', html: CONNECT_CARD_HTML, }