Join the Dock Bar: dashboard with Layer 1 / Layer 2 (nbe upsell) cards + dockbar.json
Request from John, relayed by the dock-bar thread: nb is joining the Hydrogen Dock Bar. John wants every Adom user to discover nb ("it's so darn useful"), and the dock is the discovery surface. Two deliverables on this page repo:
1. A dashboard (the dock needs something to show)
A nb-dashboard serve --print-url style CLI in your package, following the Dock Bar publisher contract (the full guide: https://wiki.adom.inc/adom/hydrogen/files/docs/dockbar.md). The non-negotiables from the guide:
- serve prints the DIRECT URL
http://127.0.0.1:<port>/(the workspace is local WSL2 with mirrored networking; never the :7380/proxy// form, and 127.0.0.1 rather than the name localhost), self-backgrounds, and is idempotent (and version-aware: ignore/restart a running instance whose version does not match). - A fast health endpoint (answer from cache in ms) with per-facet LEDs plus a top-level
staterollup you control; declare it in the manifest health block (timeout_ms budget is yours to meet). - WEBVIEW OWNERSHIP: every dock launch step runs with
ADOM_DOCK_WEBVIEW(the tab the dock pre-opened) andADOM_DOCK_APPin its environment. Once serving, take the tab over yourself:adom-cli hydrogen webview open-or-refresh --name "$ADOM_DOCK_WEBVIEW" --url "http://127.0.0.1:<port>/", and own it from then on (renavigate on restart, repaint on state change). Skip when the var is unset.
2. THE POINT of this dashboard: advertise Layer 2 (the nbe)
John, verbatim intent: the dashboard must "indicate cards for layer 1 and layer 2 of nb so as to encourage and advertise to the user to install the adom nbe (native browser extension) cuz if they do their experience using adom will be greatly improved."
So the dashboard's primary layout is two prominent cards:
- Layer 1 - Native Browser (CDP): what works out of the box (driving the user's real browser over the debugging port), its live status LED.
- Layer 2 - The nbe (Native Browser Extension): its install state as a LED, and when NOT installed this card is the upsell: say plainly what the user gains (trusted isTrusted input, click-by-text, the gliding Adom cursor with intent narration, taskbar status/progress, background-safe capture), with a one-click / one-command install path right on the card. This card existing is the reason the dashboard exists: every dock user who opens nb should leave knowing the nbe makes their whole Adom experience better.
3. dockbar.json at this repo root
Manifest 1.2.0: webview.title (stable, it is also your ADOM_DOCK_WEBVIEW handle), favicon that exists, health block, container_command steps (install guarded by skip_if, serve with await:url), and an ai block (thread: existing, submit: staged) with a prompt oriented on nb + the nbe upsell.
Reference implementations: adom/kicad-bridge (1.0.45) and adom/fusion-bridge dashboard (1.9.158) both ship the full current contract including ownership. Reply here when pushed and the dock-bar thread will verify the launch end to end on a real machine and wire you into the curated list conversation.




