← Commit history

Publish 0.2.19

John Lauer ·0ec557c6be ·3mo ago ·parent 4cb28d9
3 files changed +32−2
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.18",+  "version": "0.2.19",   "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.18",+  "version": "0.2.19",   "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-open-url/SKILL.md+30
@@ -101,6 +101,36 @@ curl -s -X POST -H 'Content-Type: application/json' \   -d '{"url":"https://claude.ai/","browser":"edge","profileDir":"Default","fresh":true}' \   "$BASE/open-in-profile" ```++## ⭐ HD Native Open — the LOGGED-IN native browser, in the BACKGROUND (no extension needed)++When you need the user's REAL, logged-in browser (adom-google auth, opening a Google Sheet+after auth, driving chip-fetcher or any signed-in site BEFORE the Adom extension/abe is+installed), use **HD Native Open**: `POST /open-in-profile` in a specific profile so it+carries their login, picker-silent, and, crucially, **`background:true`** so the window+sinks behind HD instead of covering it.++```bash+# 1. find the right logged-in profile (never assume — the user may have several accounts)+curl -s "$BASE/browser-profiles"     # → [{browser, profileDir, email, ...}]++# 2. open it in the BACKGROUND in that profile (does NOT steal focus / cover HD)+curl -s -X POST -H 'Content-Type: application/json' \+  -d '{"url":"https://docs.google.com/spreadsheets/d/<id>","browser":"chrome","profileDir":"Default","background":true}' \+  "$BASE/open-in-profile"+```++- **DEFAULT to `background:true`** for anything the user just needs to SEE later. A native+  browser window jumping to the foreground over HD is jarring (it happened on setup). The+  ONLY foreground open is an AUTH consent the user must click NOW (`fresh:true`, and a+  `/auth/intent` URL always foregrounds regardless).+- **ALWAYS pass a `profileDir`** from `/browser-profiles` so the window carries the user's+  login. `browser:"default"` with no profile lands them logged-OUT.+- **NEVER** open a signed-in page with a bare OS-default open (`open::that`) or the VS Code+  Simple Browser — those lose the profile/login and can't be backgrounded. HD Native Open+  is the correct tool.+- Distinct from **pup** (logged-OUT, HD-owned Chromium) and **abe/nbrowser** (logged-in but+  needs the extension, not present during setup). > ⚠️ **`/open-url` often replies `"HD timed out after 5s"` even when it SUCCEEDED** > (verified live 2026-06-14: `{"url":"https://www.google.com"}` reported the timeout, but the > page opened in Edge). **Don't treat that as failure** — confirm with