← Commit history

Publish 1.9.116

John Lauer ·83549c6eed ·3mo ago ·parent 526c5b8
5 files changed +40−32
dist/linux/adom-desktop
⋯ 1 unchanged line ⋯
install.sh+32−24
@@ -1,40 +1,44 @@ #!/usr/bin/env bash-# adom-desktop installer — runs in the Adom container via `adompkg install`.+# adom-desktop installer — runs in the Adom container via `adom-wiki pkg install`. # # Bundled-artifact model (v1.8.147+): the Linux CLI companion + the Claude skill # bundle ship INSIDE this package's tarball (dist/linux/, skills/). We SYMLINK-# them onto PATH / into ~/.claude/skills via the adompkg sh-helpers — the-# lint-sanctioned convention (no copy-into-standard-targets). No download, no+# them onto PATH / into ~/.claude/skills. Self-contained since v1.9.116: no+# external helper CLI is required (the pre-1.9.116 script hard-required the+# retired `adompkg` tool, so `adom-wiki pkg install` failed and rolled back on+# any container without it — wiki discussion #117). No download, no # version.json dependency: the binary is right here, SHA-fixed by the published # tarball. # # What it does NOT do: install the Windows/macOS GUI. That runs on the user's-# laptop; the signed Windows installer is bundled at dist/win/ for Hydrogen-# Desktop to pull + run there. The skills tell Claude how to get the GUI onto-# the laptop.+# laptop (the signed Windows installer is a wiki release download; AD+# auto-updates itself). The skills tell Claude how to get the GUI onto the+# laptop. set -euo pipefail HERE="$(cd "$(dirname "$0")" && pwd)"-cd "$HERE"   # sh-helpers symlink FROM $PWD; `adompkg install` sets cwd here too.+cd "$HERE" -# adompkg shell helpers: adompkg-link-bin / adompkg-link-skill (ln -sfn ...).-if ! command -v adompkg >/dev/null 2>&1; then-  echo "[adom-desktop] FATAL: adompkg not on PATH — install via 'adompkg install adom-desktop'." >&2-  exit 1-fi-# shellcheck disable=SC1090-source "$(adompkg sh-helpers)"+# ln -sfn with a copy fallback (filesystems/sandboxes that refuse symlinks).+link_or_copy() { # <target> <linkpath>+  local target="$1" linkpath="$2"+  mkdir -p "$(dirname "$linkpath")"+  if ln -sfn "$target" "$linkpath" 2>/dev/null; then+    return 0+  fi+  rm -rf "$linkpath" 2>/dev/null || true+  cp -r "$target" "$linkpath"+}  OS="$(uname -s | tr '[:upper:]' '[:lower:]')" case "$OS" in   linux)-    CLI="dist/linux/adom-desktop"+    CLI="$HERE/dist/linux/adom-desktop"     if [ ! -f "$CLI" ]; then       echo "[adom-desktop] FATAL: bundled Linux CLI missing ($CLI). Package was published without staging." >&2       exit 1     fi     chmod +x "$CLI"-    # Symlink ~/.local/bin/adom-desktop -> $PWD/dist/linux/adom-desktop.-    adompkg-link-bin adom-desktop "$CLI"+    link_or_copy "$CLI" "$HOME/.local/bin/adom-desktop"     case ":$PATH:" in       *":$HOME/.local/bin:"*) ;;       *) echo "[adom-desktop] NOTE: $HOME/.local/bin is not on PATH — add it to your shell rc." ;;@@ -42,7 +46,7 @@ case "$OS" in     echo "[adom-desktop] CLI -> $("$HOME/.local/bin/adom-desktop" --version 2>/dev/null || echo installed)"     ;;   *mingw*|*msys*|*cygwin*)-    echo "[adom-desktop] Windows GUI installer is bundled at: $HERE/dist/win/ (run the *_x64-setup.exe), or pull it from https://wiki.adom.inc/adom/adom-desktop"+    echo "[adom-desktop] On Windows, install the GUI from https://wiki.adom.inc/adom/adom-desktop (Download box). It bundles adom-desktop-cli.exe."     ;;   darwin)     echo "[adom-desktop] macOS GUI not bundled yet — see https://wiki.adom.inc/adom/adom-desktop"@@ -54,15 +58,19 @@ case "$OS" in esac  # Claude skill bundle — symlink each skills/<slug>/ into ~/.claude/skills/<slug>.-# Slugs staged at publish time: adom-desktop, adom-desktop-pup, adom-desktop-kicad,-# adom-desktop-fusion, adom-desktop-direct-api, adom-desktop-installer,-# adom-desktop-discovery.-if [ -d "skills" ]; then-  for d in skills/*/; do+# Best-effort per skill: one bad slug must not roll back the whole install.+if [ -d "$HERE/skills" ]; then+  linked=0+  for d in "$HERE"/skills/*/; do     [ -f "$d/SKILL.md" ] || continue     slug="$(basename "$d")"-    adompkg-link-skill "$slug" "skills/$slug"+    if link_or_copy "${d%/}" "$HOME/.claude/skills/$slug"; then+      linked=$((linked + 1))+    else+      echo "[adom-desktop] WARN: could not link skill $slug (continuing)" >&2+    fi   done+  echo "[adom-desktop] linked $linked skill(s) into ~/.claude/skills/" fi  echo "[adom-desktop] done. Try: adom-desktop ping   (needs the Adom Desktop GUI running on the user's laptop)"
package.json+1−1
@@ -1,6 +1,6 @@ {
   "slug": "adom-desktop",
-  "version": "1.9.115",
+  "version": "1.9.116",
   "type": "app",
   "description": "Laptop bridge: file transfer, screenshots, notifications, KiCad + Fusion 360 control, real-Chrome (Puppeteer) automation, and Hydrogen Desktop proxy. One install gives Claude every desktop verb it needs.",
   "discovery_pitch": "Use when a cloud AI needs to reach a real Windows desktop: run shell commands, capture screenshots, drive native apps and browsers, transfer files, and control KiCad / Fusion 360 / third-party bridges.",
page.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-desktop",-  "version": "1.9.115",+  "version": "1.9.116",   "type": "app",   "description": "Laptop bridge: file transfer, screenshots, notifications, KiCad + Fusion 360 control, real-Chrome (Puppeteer) automation, and Hydrogen Desktop proxy. One install gives Claude every desktop verb it needs.",   "keywords": [
version.json+6−6
@@ -1,14 +1,14 @@ {   "manifest_version": 1,-  "version": "1.9.115",+  "version": "1.9.116",   "released_at": "2026-07-15T00:00:00Z",   "windows": {-    "installer_url": "https://wiki.adom.inc/download/adom/adom-desktop/1.9.115/Adom.Desktop_1.9.115_windows_x64-setup.exe",-    "installer_filename": "Adom.Desktop_1.9.115_windows_x64-setup.exe",-    "installer_sha256": "d793afd81089649756b15dcfe1686a95496c2a209b9a95a4bfbcf9ab9f5cfc47",-    "installer_size": 10576408+    "installer_url": "https://wiki.adom.inc/download/adom/adom-desktop/1.9.116/Adom.Desktop_1.9.116_windows_x64-setup.exe",+    "installer_filename": "Adom.Desktop_1.9.116_windows_x64-setup.exe",+    "installer_sha256": "6506aa13ca16d6a37d1c96da16c0cd0088497f69730302f556c5f4b1330ee1cc",+    "installer_size": 12748656   },   "changelog_url": "https://wiki.adom.inc/adom/adom-desktop",   "minimum_required": "1.3.30",-  "note": "Screenshot dedup: a capture already within the safe size cap is written ONCE (localFullPath == localSafePath); only a downscaled shot gets a .full+.safe pair. Window z-order send-to-back: desktop_set_window_state state:\"bottom\" drops a window behind all others in the background (no focus/move/resize), with an atomic check-and-skip when it's the OS foreground and an optional force:true to override at window-launch time."+  "note": "Wiki issues batch: pkg install.sh no longer requires the retired adompkg (fresh container installs work again); closing the window now explains AD keeps serving in the tray, and relaunching always surfaces the window or a toast; the adom-wiki CLI ships next to the app with a new gated wiki_exec verb so wiki repo/pkg ops run on the PC where the files live." }