bootstrap
Adom Hydrogen (platform base)
Public Made by Adomby adom
Layer Hydrogen's workspace onto a standard Adom workstation.
← Commit history
Publish 0.2.13
8 files changed
+15−11
package.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Hydrogen Desktop Bootstrap (apps + skills)", "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",- "version": "0.2.12",+ "version": "0.2.13", "description": "Hydrogen Desktop'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 Desktop on ANY platform: the platform-generic hd-* skills (BUNDLED in this package by design; wsl2 skills ride adom/hd-windows-bootstrap, mac skills ride adom/hd-mac-bootstrap) and the generic HD editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hd-windows-bootstrap, adom/hd-mac-bootstrap.", "org": "adom", "tags": [
page.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Hydrogen Desktop Bootstrap (apps + skills)", "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",- "version": "0.2.12",+ "version": "0.2.13", "description": "Hydrogen Desktop'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 Desktop on ANY platform: the platform-generic hd-* skills (BUNDLED in this package by design; wsl2 skills ride adom/hd-windows-bootstrap, mac skills ride adom/hd-mac-bootstrap) and the generic HD editor configuration (Claude Code CLI + extension, VS Code settings, trusted domains). Platform-specific layers depend on THIS: adom/hd-windows-bootstrap, adom/hd-mac-bootstrap.", "org": "adom", "tags": [
skills/hd-editor-state/SKILL.md+4@@ -46,3 +46,7 @@ returns and the rules for acting on it. Full design: docs/EDITOR-STATE-MACHINE.m - Did my prompt double-type? `POST /editor/audit-prompt {"prefix":"<first words>"}` → want 0 after submit. - Which conversation is generating? `conversations_disk[*].generating` (disk truth, any tab). - Fix a half-width Claude tab / dead empty panel? `POST /editor/normalize`.+- Bars: `layout.bars` reports activity / primary sidebar / secondary (auxiliary) bar / bottom+ panel visibility. A Claude conversation living in the SECONDARY bar is a second compose box+ (census=2). Close bars deterministically: `POST /editor/bars {"primary":"close","secondary":"close"}`+ (read -> toggle-on-mismatch -> verify; never a blind toggle).
skills/hd-monitor/SKILL.md+1−1@@ -19,7 +19,7 @@ Watch the Hydrogen workspace in real-time using Claude Code's Monitor tool + Hyd ## When to use - You need to **wait for the user to do something** (enable sharing, open a panel, switch tabs)-- You want to **react to workspace changes** as they happen (auto-screenshot new panels, navigate web views)+- You want to **react to workspace changes** as they happen (auto-screenshot new panels, navigate webviews) - You're running a **multi-step demo** and need to know when the user is ready for the next step - You want to **watch for errors** or state changes during a long-running task
skills/hd-open-url/SKILL.md+1−1@@ -44,7 +44,7 @@ user — DON'T hand them the picker"** below for the rule. ## ⛔ NEVER: VS Code's "Simple Browser" is NOT a webview If the ask is "show me X **in webview**", the ONLY correct destination is option 1-(a native Hydrogen Web View tab, `adom-cli hydrogen webview open-or-refresh`).+(a native Hydrogen webview tab, `adom-cli hydrogen webview open-or-refresh`). **Never** open VS Code's built-in Simple Browser / any editor-internal browser page — that happened once from a setup prompt (2026-07-16) and it's a banned outcome. The dedicated `hd-webview` skill has the exact command + verification.
skills/hd-pup/SKILL.md+1−1@@ -49,7 +49,7 @@ adom-desktop browser_screenshot '{"sessionId":"<task-name>"}' # verify what's | Ask | Surface | Skill | |---|---|---|-| "show me in **webview**" | native Hydrogen Web View tab | `hd-webview` |+| "show me in **webview**" | native Hydrogen webview tab | `hd-webview` | | "show me in **pup**" / drive it | isolated Puppeteer Chrome (this skill) | `pup` for deep driving | | use **my** logins / my real browser | user's signed-in Chrome/Edge | nbrowser / adom-browser-extension |
skills/hd-tab-icons/SKILL.md+2−2@@ -51,7 +51,7 @@ and the loaded page wins: 1. **`panelState.displayIcon`** — a placeholder you pass via `--display-icon` / HTTP `displayIcon`. Shown **only until the page loads**.-2. **The loaded page's `<link rel="icon">`** — Hydrogen's Web View+2. **The loaded page's `<link rel="icon">`** — Hydrogen's webview panel reads the favicon after `load` and writes it into `panelState.displayIcon`, overriding whatever the placeholder was. @@ -330,7 +330,7 @@ were different, you'd see a brief flash. - `~/.claude/skills/adom/guides/adom-workspace-control.md` — the full workspace API reference that documents `displayIcon` as a `panelState` field (but buries the favicon-override behavior).-- `~/.claude/skills/adom/webview/SKILL.md` — Web View panel actions+- `~/.claude/skills/adom/webview/SKILL.md` — webview panel actions (navigate, refresh, setHeaderHidden, setProxyEnabled). - `~/.claude/skills/adom/guides/app-creator.md` — app conventions including the `docs/icon.svg` brand-icon requirement.
skills/hd-webview/SKILL.md+4−4@@ -4,7 +4,7 @@ description: > WEBVIEW — what the word "webview" means in Hydrogen Desktop and exactly how to open one. When the user says "show me in webview", "open it in webview", "in a webview", "webview panel", "wv", or asks to show ANY app/page/tool "in webview",- it ALWAYS means a native Hydrogen workspace Web View tab opened via+ it ALWAYS means a native Hydrogen workspace webview tab opened via `adom-cli hydrogen webview open-or-refresh` — NEVER VS Code's built-in Simple Browser, never an editor-internal browser, never an iframe hack. Read this the moment the word webview (or wv) appears. Trigger words — webview, wv, show me@@ -12,10 +12,10 @@ description: > webview, show in webview, launch in webview, webview app. --- -# hd-webview — "webview" means a native Hydrogen Web View tab. Period.+# hd-webview — "webview" means a native Hydrogen webview tab. Period. When a user (or a setup prompt) says **"show me X in webview"**, they mean a-**native Hydrogen Desktop Web View tab** — a first-class panel in the HD+**native Hydrogen Desktop webview tab** — a first-class panel in the HD workspace, next to their editor. Nothing else qualifies. ## ⛔ NEVER (the 2026-07-16 incident — do not repeat)@@ -32,7 +32,7 @@ workspace, next to their editor. Nothing else qualifies. ## ✅ The exact command (idempotent — safe to re-run) ```bash-# open (or refresh, if a tab with this name already exists) a Web View tab:+# open (or refresh, if a tab with this name already exists) a webview tab: adom-cli hydrogen webview open-or-refresh --name "<Tab Name>" --url "<url>" --panel-id <id> # ⚠️ --panel-id is REQUIRED to CREATE a new tab (without it: "Tab 'X' not found