← Commit history

Publish 0.5.6

John Lauer ·e95c3f3d0b ·2mo ago ·parent d8c4910
3 files changed +43−3
install.sh+40
@@ -287,6 +287,46 @@ if isinstance(m, dict) and m.pop("autoMode", None) is not None: PYEOF fi +# 6b. Anthropic's own notifications OFF by default (John 2026-08-27: "turn off+# anthropic's ability to do notifications").+#+# Claude Code raises its own toasts and banners inside the editor: the Remote Control+# disclosure, "Keep working from anywhere", terminal-experience nudges. They are not ours,+# they arrive unannounced in the middle of an Adom workspace, and a user reasonably reads+# them as Adom talking to them. Two real settings, both confirmed present in the shipped+# CLI binary rather than guessed:+#   preferredNotifChannel  = notifications_disabled   (the channel Claude Code notifies on)+#   agentPushNotifEnabled  = false                    (agent push notifications)+#+# SET ONCE, THEN LEAVE ALONE. A _adom_managed.notifications marker records that we made the+# choice, so a user who deliberately turns them back on is not overridden on every update.+# The alternative, asserting the values every converge, would quietly undo a real decision.+if [ -f "$HOME/.claude/settings.json" ]; then+  python3 - "$HOME/.claude/settings.json" <<'PYNOTIF' || true+import json, os, sys+p = sys.argv[1]+try:+    with open(p) as f:+        s = json.load(f)+except Exception:+    raise SystemExit(0)+managed = s.get("_adom_managed")+if not isinstance(managed, dict):+    managed = {}+if managed.get("notifications"):+    raise SystemExit(0)          # already decided once; respect whatever it is now+s["preferredNotifChannel"] = "notifications_disabled"+s["agentPushNotifEnabled"] = False+managed["notifications"] = True+s["_adom_managed"] = managed+tmp = p + ".tmp"+with open(tmp, "w") as f:+    json.dump(s, f, indent=2)+os.replace(tmp, p)+print("  Anthropic notifications disabled (preferredNotifChannel, agentPushNotifEnabled)")+PYNOTIF+fi+ # 7. tidy — install.mjs / tooling leave an empty ~/project/.mcp.json; remove it. rm -f "$HOME/project/.mcp.json" 2>/dev/null || true log "done"
package.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.5",+  "version": "0.5.6",   "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",   "platform": "any",@@ -33,4 +33,4 @@     "hydrogen editor configuration",     "where do hydrogen skills come from"   ]-}\ No newline at end of file+}
page.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.5",+  "version": "0.5.6",   "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": [