chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
Bios and feed descriptions mark their links, mentions and tags
MergedThis pull marks links, @mentions and #tags in bios and feed descriptions. Bios get them from richtext::marks through the new detected_runs, sent as Profile.descriptionRuns and drawn with the new format: "detect" in Grain's view. Feed descriptions now go through RichText with their stored descriptionFacets and a new style: "muted".
I read every file the diff changes, plus the code around it that I needed to judge it:
- Runs: splitting
facet_runsanddetected_runsover a sharedmarked_runskeeps the old behaviour. Facets out of range or overlapping an earlier one still leave their text plain. A facet with no feature it recognises still covers its range as plain text. - Mentions by handle: these work end to end. The web's
openActorpasses the actor straight todescribe_app/describe_repo, and iOS'shud-actor:route does the same. Every use of the olddidfield on the web and of.mention(…, did:)on iOS has been renamed. - Three places: the catalog, the resolver,
place.hud.ui, the web renderer and HUDKit all change together, as AGENTS.md asks. The lexicon only grows:descriptionstays and is marked as no longer sent. - iOS: the muted
RichTextuses the same font and.secondarycolour as a mutedText.ProfileCardnow uses the sharedClamped, so its "more" state is still kept through the view's memory. - Web:
FacetTextis still used byEmbed, and it already passes runs throughRichRuns, so the rename reaches it.
Nothing needs to change. The check, test, web, lexicons and docs checks pass. e2e and e2e-spaces were still running when I looked.
I approved this at fc8b0a1. The only change since is a merge of main (the Notifications tiles and the <details> block), and it doesn't break what I approved.
- The conflict in
catalog.rs: it was resolved correctly.RichText's notes keep bothmain's<details>wording and the pull'sdetectandstyle: "muted". The pull's own diff of that file shows only its own changes. - Merged code still using the old names: I found none. On the web, every mention run reads
actor, and the only.didleft inweb/renderer/srcis the composer's account suggestions, which aren't runs. On iOS,TreeViewbuilds.mention(text, actor:), and no merged Swift calls the olddid:form. The new notification views don't useProfile.description.
At the merged head the docs and check workflows pass. e2e and e2e-spaces were still running when I looked; test, web and lexicons were still queued. Nothing needs to change.
A profile's bio and a feed's description now draw their links, @mentions and #tags, as posts and galleries already did: on Bluesky's and Grain's pages, every profile card, and the Saved feeds tile.
Claude Opus 5.5 · high
What changes
Bios. A profile record (
app.bsky.actor.profile,social.grain.actor.profile) has no facets, so the server finds them in the text by the rules the composer writes with (richtext::marks), as Bluesky's app does for a bio. TheProfilecard sendsdescriptionRunsin place ofdescription, so the Bluesky page,bsky-profile, knotless's profile anddescribe_repo's profile all mark them. Grain's page draws its bio asRichTextwith a newformat: "detect". A mention found so opens the account by the handle it names (describe_app/describe_reporesolve it when it is opened), so a run'sactoris a DID or, here alone, a handle.Feed descriptions. The Saved feeds tile, a profile's Feeds and the Bluesky page's Feeds draw a feed's description as
RichTextwith itsdescriptionFacets, and a newstyle: "muted"onRichTextkeeps them small and secondary, as the mutedTextthey were.Code.
facet_runsand the newdetected_runssharemarked_runs. On the web, a mention run's field isactor(it wasdid),ProfileViewandClampedTextdraw runs and open mentions, andRichTextdraws its runs itself somutedapplies. On iOS,ProfileCarddraws the runs throughClamped(its ownClampedDescriptionis gone) andRun.mentiontakesactor:.place.hud.uigrowsprofileProps.descriptionRunsandrichTextProps.style.Why
A bio's @mentions and links were plain text, though posts and galleries beside them were not. Finding mentions without resolving them keeps the resolver synchronous and
hud resolveoffline, and costs nothing until one is opened; resolving each handle to a DID on every profile drawn would hide dead handles, at a lookup per mention and a network step in the resolver. For posts and feeds, the stored facets alone say what is marked, as before.How it was checked
just check.hud-core's tests, with a new one for a bio's links, mentions and tags;hud resolveon the recorded answers: your profile's bio and Grain's page give mention, tag (opening Grain's hashtag feed) and link runs, and the Saved feeds tile with a mention facet gives a muted run opening its DID, a feed with no description still nothing.just lookwith the profile tile and the Saved feeds tile, desktop light and dark, critiqued by an agent that did not draw them.just ios-test.Shortcomings
Profileno longer sendsdescription(kept in the lexicon, marked no longer sent).just e2eleft to CI.Review
Start at
crates/hud-core/src/ui/mod.rs(marked_runs,detected_runs,rich_text) andui/layout.rs'sprofile.