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.
Move the Adom Babylon 3D viewer out of the ah build into a wiki app (models gone in 1.0.209; code sweep pending)
John's decision (2026-09-05, in the #56 build-time thread): the Adom Babylon 3D viewer (workcell, scaffolds, molecules, the machine-pin models) becomes a normal wiki app, installed with adom-wiki pkg install and run as a dashboard in a webview. Nothing for it goes into the ah build any more.
Why it came up: generate_context! embeds the whole frontend dist into the app crate and brotli-compresses it at compile time; the 82.5 MB dist was about 100 s of every 173 s app-crate compile, and 46.6 MB of that was .glb models (measured: holding them out took the crate from 173 s to 117 s).
Done in 1.0.209 (commit 689ea5c): the model assets under static/ (scaffolds, molecules, workcell, babylon-assets; 48.6 MB) are removed from the build. They remain in git history at 708764f for the wiki app to take.
Left to do, in order:
- The Babylon code sweep. About 190 files import @babylonjs or src/lib/adom-babylon: src/lib/adom-babylon (1.7 MB), src/lib/editor (tools, workspaces, operations, actions), the workcell/molecule routes under src/routes/(app)/[owner]/..., and a set of panels under src/lib/components/editor (which also holds ah's own shell components, so this needs a careful per-file sweep, not a directory delete). Removing them also drops the Babylon inspector (6.6 MB) and XR chunks from the JS bundle, another ~30 MB of embedded assets.
- The @babylonjs/* dependencies leave package.json once nothing imports them.
- The new wiki app: a package carrying the viewer, its models, and a dashboard page; the dock launches it into a webview like the other bridges' dashboards.
- Web Hydrogen: confirm whether the cloud build serves the same routes; if so the wiki app replaces them there too.
Not started; step 1 is a multi-hour change that wants a quiet day and a full ah smoke test, since components/editor is shared with the shell.