bootstrap
Adom Hydrogen (platform base)
Public Made by Adomby adom
Layer Hydrogen's workspace onto a standard Adom workstation.
← Commit history
Publish 0.3.15
4 files changed
+7−7
package.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Adom Hydrogen (platform base)", "brief": "Layer Hydrogen's workspace onto a standard Adom workstation.",- "version": "0.3.14",+ "version": "0.3.15", "description": "Hydrogen's PLATFORM-GENERIC workspace layer on top of adom/core. Installs adom/core for the full Adom ecosystem, then adds everything common to running inside Hydrogen on ANY platform: the runtime-neutral hydrogen-* skills and the generic editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hydrogen-windows-bootstrap (WSL2), adom/hydrogen-mac-bootstrap, adom/hydrogen-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.", "org": "adom", "platform": "any",
page.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Adom Hydrogen (platform base)", "brief": "Layer Hydrogen's workspace onto a standard Adom workstation.",- "version": "0.3.14",+ "version": "0.3.15", "description": "Hydrogen's PLATFORM-GENERIC workspace layer on top of adom/core. Installs adom/core for the full Adom ecosystem, then adds everything common to running inside Hydrogen on ANY platform: the runtime-neutral hydrogen-* skills and the generic editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hydrogen-windows-bootstrap (WSL2), adom/hydrogen-mac-bootstrap, adom/hydrogen-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.", "org": "adom", "tags": [
skills/hydrogen-embedded-ad/SKILL.md+4−4@@ -57,7 +57,7 @@ If none of the three signals fire → standalone. Hydrogen's runtime supervisor: - Reads Hydrogen's session token from `%APPDATA%\hydrogen-desktop\hydrogen-session.txt` - Spawns ab detached with the embedded flags above-- Polls `http://127.0.0.1:47200/health` every 5s+- Polls ab's direct API `/health` every 5s (stable port 24680 since ab 2.0.27; discovery-file first) - If ab's health probe fails → Hydrogen respawns ab with the same args Hydrogen's tray menu (mirrors ab's controls so the user gets all the ab verbs without seeing ab's tray):@@ -65,7 +65,7 @@ Hydrogen's tray menu (mirrors ab's controls so the user gets all the ab verbs wi Open Hydrogen Reload Workspace ── Adom Bridge ──-Open Adom Bridge → POST 127.0.0.1:47200 desktop/window_show+Open Adom Bridge → POST 127.0.0.1:24680 desktop/window_show Connect All → POST desktop/connect_all Disconnect All → POST desktop/disconnect_all Settings (Adom Bridge)→ POST desktop/window_show@@ -123,14 +123,14 @@ Hydrogen probably crashed or was closed. ab ≥ v1.8.47's runtime poll noticed H ### "Direct API for ab verbs" -ab listens on `127.0.0.1:47200` for `POST /command` with `{"app":"desktop","command":"<verb>","args":{...}}`. The 7 user-visible verbs Hydrogen's tray uses:+ab listens on `127.0.0.1:24680` (stable since ab 2.0.27; legacy installs may still use 47200) for `POST /command` with `{"app":"desktop","command":"<verb>","args":{...}}`. The 7 user-visible verbs Hydrogen's tray uses: - `window_show`, `window_hide` - `connect_all`, `disconnect_all` - `shutdown` - `embedded_status` (returns `{embedded, owner, source, ...}`) - `logout` -Port discovery if 47200 is taken: read `%USERPROFILE%\.adom\direct-api-port` (single line `host:port`).+Port discovery order: `%USERPROFILE%\.adom\direct-api-port` (single line `host:port`, authoritative), then stable 24680, walk 24680-24689, legacy 47200-47209 last. Validate `service == "adom-bridge"` in /health before trusting a port. ## Source-of-truth references
skills/hydrogen-ports/SKILL.md+1−1@@ -164,7 +164,7 @@ rung zero, never an assumption): - Inside the distro: `~/.adom/hydrogen-control-url` (full live control URL) and `~/.adom/hydrogen-ports.json` (all four ports), both stamped by Hydrogen into the workspace. Adom Bridge's own direct API is at- `~/.adom/direct-api-port` (default 47200) and the relay at+ `~/.adom/direct-api-port` (stable 24680 since ab 2.0.27, legacy 47200) and the relay at `~/.adom/cli-relay-ports.json` (8765 WS / 8766 HTTP). 2. **Verify liveness AND identity.** A port answering `/health` is not proof it is THIS install: a zombie from an uninstalled copy can still be serving