~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
11 lines · 597 B Raw History
// What the components take beside the resolved tree (tree/types.ts): where
// pictures load, and how big. Nothing here knows how the data arrived, so
// another app can feed the same shapes.

/** Where a picture loads from, and where it loads from instead should that
 * fail: a public blob's proxy, behind the image CDN; else null. */
export type Source = { src: string; fallback: string | null };

/** How big a picture is drawn: `small` (an avatar, a gallery's tile, a link
 * card's thumbnail) or `large` (a banner, a picture on its own, one opened). */
export type Size = 'small' | 'large';