chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.1 Latest 5 packages
0
0
<script lang="ts">
import type { Opener } from './open';
import RichRuns from './RichRuns.svelte';
import type { Run } from './richtext';
// Bluesky richtext: a paragraph of runs, cut by the server into links,
// mentions and tags.
let { runs, onopenlink, onopenactor }: { runs: Run[]; onopenlink?: (url: string) => void; onopenactor?: (actor: string) => Opener } = $props();
</script>
<p class="plain"><RichRuns {runs} {onopenlink} {onopenactor} /></p>
<style>
.plain {
margin: 0;
white-space: pre-wrap;
overflow-wrap: anywhere;
font-size: var(--font-text-md-size);
line-height: var(--font-text-md-line-height);
}
</style>