Adom Hydrogen
Public Made by Adomby adom
The whole Adom experience as one signed native app: your editor, your AI agent, and the full electronics design toolchain, running locally on your own machine.
Show ab's per-box identity badge (colour + device glyph + monogram) on mirrored permission cards, bell rows and toasts - contract from adom-bridge #180
John (2026-09-10): mesh permission prompts arriving in Hydrogen on AdomLapper are hard to place at a glance; the pill names the box but the eye does not go there first. Adom Bridge 2.1.91 gave every box a visual identity (adom/adom-bridge#180) and its Mesh view now draws it; Hydrogen should draw the same badge so it becomes recognisable over time. CONTRACT (ab 2.1.93+): every body ab POSTs to /permission/request and /ui/toast carries originIdentity = { name, class, model, monogram, hue, color } where class is one of laptop | desktop | vm | mac | unknown, monogram is two uppercase letters (AL, CR, WI, AR), hue is an integer 0..330 in steps of 30 (ab resolves the fleet onto a 12-step palette so no two boxes share a colour; do NOT rehash the name), and color is the ready CSS string hsl( 58% 42%). For a cross-box card the same object is also at remote.identity (identity of the ORIGIN box, the one the prompt is about). RENDER: a 28-32 px rounded square (radius ~7 px) filled with color, the class glyph in white centred in the top two thirds, the monogram in white 8.5-9 px bold at the bottom; place it at the left of the card header next to the box pill, and in each bell row / toast row for the box the item is about. Glyphs (24-unit viewBox, fill white, fill-rule evenodd), identical to ab's: laptop and mac = 'M2 5a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v11H2z M5 7h14v7H5z M0 18h24v2H0z'; desktop = 'M1 4h16v11H1z M3 6h12v7H3z M7 17h4v3H7z M19 4h4v16h-4z'; vm = 'M6.5 19a4.5 4.5 0 0 1-.7-8.95A6.5 6.5 0 0 1 18.4 9.2 4.5 4.5 0 0 1 18 19H6.5z'; unknown = 'M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18z M12 6a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'. Fallback when originIdentity is absent (older ab): draw nothing new. Later (stage 3) originIdentity may add icon (a data: WebP, opt-in generated mascot icon); when present, draw it instead of the glyph, keep the colour ring and monogram. I will post here when 2.1.93 ships with the field, and put a sample body in that comment.

