← All components

Stable 0.7.6 · Prerelease 0.11.0-rc.1

FaithfulCard

A card that shows Markdown from an untrusted result under a content policy, with link and image consent, for answers that need their sources and limits kept visible.

What it looks like

Illustration. A drawing of FaithfulCard for this page, not the SDK rendering it. It is not interactive and calls no service.

Documentation

The SDK documentation owns the technical contract. Choose the release you build against.

Renderers and hosts

Statements below are the SDK’s, for each release. Nothing here adds a host that the SDK does not record.

Stable 0.7.6

  • React Published
  • Lit Source only, not published

Prerelease 0.11.0-rc.1

  • React Published
  • Lit Published
  • Local host-fixture tests render the card in both renderers, directly and through each stack's start. The guide calls this a local fixture result, not acceptance by any actual host. SDK guidefor this statement (Prerelease 0.11.0-rc.1)
  • The recorded answer-card flows were observed in ChatGPT web and Claude web, and the Ansari answer-card flow in the Alexa+ simulator. The guide says these are observations of particular flows, not a complete renderer, device or host-version matrix. SDK guidefor this statement (Prerelease 0.11.0-rc.1)

Packages and imports

Stable 0.7.6

Entry points of FaithfulCard at source revision 5995b1f.
ImportPackage versionRole
@saga-a2ui/components/faithful-card@saga-a2ui/[email protected]Renderer-neutral content contract, reader, Markdown interpretation, content policy and image consent Source of @saga-a2ui/components/faithful-card
@saga-a2ui/react/faithful-card@saga-a2ui/[email protected]React rendering, catalog entry and trusted settings provider Source of @saga-a2ui/react/faithful-card
@saga-a2ui/lit/faithful-cardNot published at 0.7.6Lit rendering, catalog entry and content view Source of @saga-a2ui/lit/faithful-card
@saga-a2ui/react-mcp-stack/faithful-card@saga-a2ui/[email protected]Starts a FaithfulCard application in React over MCP Apps Source of @saga-a2ui/react-mcp-stack/faithful-card
@saga-a2ui/lit-mcp-stack/faithful-cardNot published at 0.7.6Starts a FaithfulCard application in Lit over MCP Apps Source of @saga-a2ui/lit-mcp-stack/faithful-card

Packages marked “Not published” exist in the source at this revision only. They cannot be installed from the registry at 0.7.6.

Prerelease 0.11.0-rc.1

Entry points of FaithfulCard at source revision fb4126c.
ImportPackage versionRole
@saga-a2ui/components/faithful-card@saga-a2ui/[email protected]Renderer-neutral content contract, reader, Markdown interpretation, content policy and image consent Source of @saga-a2ui/components/faithful-card
@saga-a2ui/react/faithful-card@saga-a2ui/[email protected]React rendering, catalog entry and trusted settings provider Source of @saga-a2ui/react/faithful-card
@saga-a2ui/lit/faithful-card@saga-a2ui/[email protected]Lit rendering, catalog entry and content view Source of @saga-a2ui/lit/faithful-card
@saga-a2ui/react-mcp-stack/faithful-card@saga-a2ui/[email protected]Starts a FaithfulCard application in React over MCP Apps Source of @saga-a2ui/react-mcp-stack/faithful-card
@saga-a2ui/lit-mcp-stack/faithful-card@saga-a2ui/[email protected]Starts a FaithfulCard application in Lit over MCP Apps Source of @saga-a2ui/lit-mcp-stack/faithful-card

From the SDK source

A FaithfulCard declared in an A2UI layout and bound to the body of a note. This is code copied fromexamples/pack1-consumer/src/main-card.ts in the Prerelease 0.11.0-rc.1 source. It is not a rendering.

const body = {
  id: 'note-body',
  component: 'FaithfulCard',
  contractVersion: 1,
  markdown: { path: 'body' },
} as const;

← All components