Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
feat(dist): install.sh downloads via nodeterm.dev proxy (works while repo is private)
eneseb2bca4c4187
diff --git a/scripts/install.sh b/scripts/install.shindex d10a95d72..0978a0323 100755--- a/scripts/install.sh+++ b/scripts/install.sh@@ -2,34 +2,26 @@# nodeterm installer — one-liner for the landing page:# curl -fsSL https://nodeterm.dev/install.sh | sh#-# Downloads the latest signed + notarized release for this Mac's architecture, mounts the DMG,-# and installs nodeterm.app into /Applications. macOS only. No sudo needed for /Applications.+# Downloads the latest signed + notarized release for this Mac's architecture via the+# nodeterm.dev download proxy (which 302s to GitHub's signed CDN — works even while the repo is+# private), mounts the DMG, and installs nodeterm.app into /Applications. macOS only; no sudo.set -eu-REPO="eneskirca/nodeterm"+BASE="${NODETERM_BASE:-https://nodeterm.dev}"APP="nodeterm.app"DEST="/Applications"-API="https://api.github.com/repos/$REPO/releases/latest"fail() { printf '\033[31m✗ %s\033[0m\n' "$1" >&2; exit 1; }[ "$(uname -s)" = "Darwin" ] || fail "nodeterm is macOS-only."command -v curl >/dev/null 2>&1 || fail "curl is required."-printf '→ Finding the latest nodeterm release…\n'-# All .dmg download URLs in the latest release (skips .blockmap and .zip).-dmgs="$(curl -fsSL "$API" \- | grep -o '"browser_download_url": *"[^"]*\.dmg"' \- | sed 's/.*"browser_download_url": *"//; s/"$//')"-[ -n "$dmgs" ] || fail "No .dmg found in the latest release (is the repo/release public?)."--# Apple Silicon → the -arm64 DMG; Intel → the plain (non-arm64) DMG.+# Apple Silicon → arm64, Intel → x64. The proxy maps ?arch=… to the matching DMG.case "$(uname -m)" in- arm64) url="$(printf '%s\n' "$dmgs" | grep arm64 | head -1)" ;;- x86_64) url="$(printf '%s\n' "$dmgs" | grep -v arm64 | head -1)" ;;+ arm64) arch="arm64" ;;+ x86_64) arch="x64" ;;*) fail "Unsupported architecture: $(uname -m)" ;;esac-[ -n "${url:-}" ] || fail "No DMG matching this Mac's architecture."tmp="$(mktemp -d)"mnt=""@@ -39,8 +31,8 @@ cleanup() {}trap cleanup EXIT INT TERM-printf '→ Downloading %s\n' "$(basename "$url")"-curl -fSL --progress-bar "$url" -o "$tmp/nodeterm.dmg" || fail "Download failed."+printf '→ Downloading nodeterm (%s)…\n' "$arch"+curl -fSL --progress-bar "$BASE/download?arch=$arch" -o "$tmp/nodeterm.dmg" || fail "Download failed."printf '→ Mounting…\n'# hdiutil output is TAB-separated; the mount point is the last field. Read it that way so a