bootstrap
Adom Hydrogen (platform base)
Public Made by Adomby adom
Layer Hydrogen's workspace onto a standard Adom workstation.
← Commit history
install.sh+25@@ -244,6 +244,31 @@ if changed: print(" claude cli: first-run wizard and folder trust seeded in ~/.claude.json") PYEOF +# 4c. Keep the Claude CLI a single copy. The golden-image wrapper runs the extension's+# bundled binary, but the CLI's own updater (installMethod "native") downloads a second+# 234 MB binary into ~/.local/share/claude/versions on an interactive launch, even when+# already current (arav-rog 2026-09-19; AdomLapper carried four of them, 825 MB). Turn+# that updater off inside the wrapper and drop the orphaned copies. Only touches the+# Adom wrapper (never a user's own native install, where ~/.local/bin/claude is a symlink+# into versions/).+CW="$HOME/.local/bin/claude"+if [ -f "$CW" ] && [ ! -L "$CW" ] && grep -q "Adom golden image" "$CW" 2>/dev/null; then+ if ! grep -q "DISABLE_AUTOUPDATER" "$CW"; then+ python3 - "$CW" <<'PYEOF' || true+import sys+p = sys.argv[1]; s = open(p).read()+line = "# The CLI's own background updater is OFF here: it would download a second copy into\n# ~/.local/share/claude/versions on every interactive launch. The extension update brings\n# the new binary; nothing else needs to.\nexport DISABLE_AUTOUPDATER=1\n"+i = s.find("b=$(ls -d")+if i > 0 and "DISABLE_AUTOUPDATER" not in s:+ open(p, "w").write(s[:i] + line + s[i:]); print(" claude cli: background updater turned off in the wrapper")+PYEOF+ fi+ if [ -d "$HOME/.local/share/claude/versions" ]; then+ freed=$(du -sh "$HOME/.local/share/claude" 2>/dev/null | cut -f1)+ rm -rf "$HOME/.local/share/claude" && echo " claude cli: removed orphaned standalone copies under ~/.local/share/claude ($freed freed)"+ fi+fi+ # 5. code-server config.yaml — silence code-server's own update nags. install -d -m 0755 "$HOME/.config/code-server" cat > "$HOME/.config/code-server/config.yaml" <<'CSCONF'
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.5.60",+ "version": "0.5.61", "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": [
page.json+2−2@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Adom Hydrogen (platform base)", "brief": "Layer Hydrogen's workspace onto a standard Adom workstation.",- "version": "0.5.60",+ "version": "0.5.61", "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": [@@ -49,4 +49,4 @@ "hydrogen editor configuration", "where do hydrogen skills come from" ]-}+}