← Commit history

Publish 0.3.3

John Lauer ·ec953de0d6 · ·parent 6354e51
3 files changed +44−44
install.sh+14−1
@@ -1,10 +1,23 @@ #!/bin/bash # install.sh for adom-usb (app) — runs from the extracted module dir.+# The binary is NOT shipped inside the tarball (it's gitignored and adompkg+# honors .gitignore); install.sh fetches it from the published wiki release+# asset instead. A locally-built bin/adom-usb (dev) is used if present. set -euo pipefail DIR="$(cd "$(dirname "$0")" && pwd)"; cd "$DIR" BIN_DIR="${HOME}/.local/bin"; mkdir -p "$BIN_DIR"-install -m 0755 "$DIR/bin/adom-usb" "$BIN_DIR/adom-usb"++if [ -f "$DIR/bin/adom-usb" ]; then+  install -m 0755 "$DIR/bin/adom-usb" "$BIN_DIR/adom-usb"+else+  VER="$(grep -oE '"version"[[:space:]]*:[[:space:]]*"[0-9]+\.[0-9]+\.[0-9]+"' "$DIR/package.json" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)"+  URL="https://wiki.adom.inc/download/john/adom-usb/${VER}/adom-usb"+  echo "Fetching adom-usb ${VER} binary from ${URL}"+  curl -fsSL "$URL" -o "$BIN_DIR/adom-usb"+  chmod +x "$BIN_DIR/adom-usb"+fi echo "Installed adom-usb -> $BIN_DIR/adom-usb"+ SKILL_DIR="${HOME}/.claude/skills" # install EVERY sub-skill bundled under skills/ (adom-usb, adom-usb-publish, …) for d in "$DIR"/skills/*/; do
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-usb",-  "version": "0.3.2",+  "version": "0.3.3",   "type": "app",   "description": "See every USB device across the entire Adom ecosystem \u2014 laptop, WSL2 / Hydrogen Desktop, cloud container, Azure VM, workcells \u2014 in one dashboard, and mount / unmount / reset / test / force-class / sniff any of them. USB/IP slingshot for the whole mesh.",   "dependencies": {},
page.json+29−42
@@ -1,51 +1,38 @@ {-  "type": "app",   "slug": "adom-usb",-  "title": "Adom USB",-  "brief": "See every USB device across the entire Adom ecosystem \u2014 laptop, WSL2, cloud container, Azure VM, workcells \u2014 in one dashboard, and mount / unmount / reset / test / force-class / sniff any of them. USB/IP slingshot for the whole mesh.",-  "visibility": "public",-  "hero": {-    "type": "image",-    "path": "screenshots/hero.png"-  },-  "install": {-    "binary_name": "adom-usb"-  },-  "metadata": {-    "repo": "adom-inc/adom-usb",-    "version": "0.3.2",-    "discovery_triggers": [-      "usb devices",-      "usb dashboard",-      "list usb",-      "mount usb",-      "attach usb",-      "usbip",-      "slingshot usb",-      "mount my dev board",-      "rp2040 to wsl2",-      "mount device to container",-      "usb mesh",-      "where is my usb device",-      "force hid",-      "sniff usb",-      "usb passthrough"-    ],-    "discovery_pitch": "One dashboard for every USB device across your laptop, WSL2 / Hydrogen Desktop, cloud container, Azure VM, and workcells \u2014 mount any device onto any host, then reset / test / force-class / sniff it.",-    "releases": {-      "adom_docker": {-        "asset_name": "adom-usb",-        "binary_url": "https://wiki.adom.inc/download/john/adom-usb/0.1.0/adom-usb",-        "install_hint": "adompkg install adom-usb"-      }-    }-  },+  "version": "0.3.3",+  "type": "app",+  "description": "See every USB device across the entire Adom ecosystem — laptop, WSL2 / Hydrogen Desktop, cloud container, Azure VM, workcells — in one dashboard, and mount / unmount / reset / test / force-class / sniff any of them. USB/IP slingshot for the whole mesh.",+  "dependencies": {},   "tags": [     "usb",     "usbip",     "device-mesh",+    "hydrogen-desktop",+    "wsl2",+    "passthrough",     "dashboard",-    "open-source"+    "open-source",+    "mit"+  ],+  "license": "MIT",+  "needs_sudo": false,+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  },+  "files": [+    "bin/**",+    "skills/**",+    "install.sh",+    "uninstall.sh",+    "package.json",+    "page.json",+    "README.md",+    "screenshots/**"   ],-  "license": "MIT"+  "author": {+    "name": "John Lauer",+    "email": "[email protected]"+  } }\ No newline at end of file