← Commit history

Publish 0.2.20

John Lauer ·975a948cc2 ·3mo ago ·parent 0ec557c
3 files changed +24−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.19",+  "version": "0.2.20",   "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.19",+  "version": "0.2.20",   "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+22
@@ -21,6 +21,28 @@ description: >  # HD — Opening a URL (your options) +## ⭐ THE GOVERNING RULE — background by default, foreground only through a justified gate++**Whenever YOU (the AI) open a browser window, open it in the BACKGROUND so you never+disturb what the user is doing.** A window jumping to the foreground steals their focus and+covers Hydrogen Desktop. This applies to EVERY path below that opens a real window (HD+Native Open, the HD browser window, pup, the native browser).++To bring a window to the FOREGROUND you must pass a **`foregroundReason`** — a short+justification for why foregrounding is warranted right now. No reason = background. Legit+reasons: an AUTH/consent page the user must click NOW; the user explicitly said "bring it up"+/ "show me now". "It's more convenient" is NOT a reason. HD logs the reason so foregrounding+is auditable.++- `POST /open-in-profile` / `POST /open-url`: **omit `foregroundReason` → background**+  (the safe default). Pass `foregroundReason:"<why>"` to foreground. (`/auth/intent` URLs are+  inherently justified and foreground automatically.)+- When you DO foreground for the user, prefer telling them (an AD notify / a toast) rather+  than yanking their screen unannounced.++Everything below inherits this rule.++ When a user says **"open the ti.com website"** (or any URL), HD has several paths and a Browser Picker — but **don't hand the user the picker to decide.** Pick the best destination *for them* by use-case and **open it directly**, then offer the