← Commit history

Publish 0.2.2

John Lauer ·98f02208fd ·4mo ago ·parent 3f5b32e
3 files changed +13−17
package.json+3−2
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Hydrogen Desktop",   "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",-  "version": "0.2.1",+  "version": "0.2.2",   "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 runtime-neutral hd-* skills 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 (WSL2), adom/hd-mac-bootstrap, adom/hd-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.",   "org": "adom",   "platform": "any",@@ -19,6 +19,7 @@     "postinstall": "./postinstall.sh"   },   "dependencies": {-    "adom/core": "^4.9.0"+    "adom/core": "^4.9.0",+    "adom/adom-desktop": "^1.8.0"   } }
page.json+3−6
@@ -4,7 +4,7 @@   "type": "bootstrap",   "title": "Hydrogen Desktop",   "brief": "Layer Hydrogen Desktop's workspace onto a standard Adom workstation.",-  "version": "0.2.1",+  "version": "0.2.2",   "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 runtime-neutral hd-* skills 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 (WSL2), adom/hd-mac-bootstrap, adom/hd-ubuntu-bootstrap. The reference design other orgs copy to build their own bootstrap on adom/core.",   "org": "adom",   "platform": "any",@@ -19,15 +19,12 @@     "postinstall": "./postinstall.sh"   },   "dependencies": {-    "adom/core": "^4.9.0"+    "adom/core": "^4.9.0",+    "adom/adom-desktop": "^1.8.0"   },   "visibility": "public",   "author": {     "name": "John Lauer",     "email": "[email protected]"-  },-  "hero": {-    "type": "image",-    "path": "docs/hero.png"   } }\ No newline at end of file
postinstall.sh+7−9
@@ -4,7 +4,7 @@ # Runs (as the workspace user) after every dependency is installed — # adompkg installs apps/skills first, bootstraps (and their postinstall) # last. This hook applies the HD *environment configuration* that isn't a-# package: the Claude Code CLI + extensions, and the VS Code / code-server+# package: the Claude Code + adom-vscode extensions, and the VS Code / code-server # settings that make the editor behave like Hydrogen Desktop. # # What is NOT here, by design:@@ -46,14 +46,12 @@ if [ -d "$HERE/skills" ]; then   log "  deployed ${count} hd-* skills" fi -# 1. Claude Code CLI — official installer → ~/.local/bin/claude. (Subsumes the-#    cascade's install-claude-cli.) Skip if already present.-if ! command -v claude >/dev/null 2>&1 && [ ! -x "$HOME/.local/bin/claude" ]; then-  log "installing Claude Code CLI"-  curl -fsSL --connect-timeout 15 https://claude.ai/install.sh -o /tmp/claude-install.sh-  bash /tmp/claude-install.sh 2>&1 | tail -4 || true-  rm -f /tmp/claude-install.sh-fi+# 1. Claude Code CLI — NOT installed here, on purpose. It's not an adompkg/wiki+#    package (it's Anthropic's, from claude.ai), and its installer needs a working+#    systemd user session, which is unreliable in the bake env. HD installs + auths+#    it at runtime via its setup cascade (install-claude-cli + claude-auth), in the+#    real workspace where the user session works. So the bootstrap leaves Claude to+#    HD. Just ensure ~/.local/bin is on PATH (for adompkg + adom-desktop). grep -q '/.local/bin' "$HOME/.bashrc" 2>/dev/null \   || printf 'export PATH="$HOME/.local/bin:$PATH"\n' >> "$HOME/.bashrc"