Skip to content
Back to search

clawbridge

SkillWorks with Claude CodeGitHub

ClawBridge is the OpenClaw Mobile Dashboard. Monitor agent's real-time thoughts, actions, track token costs, and manage tasks from anywhere using your pocket-sized Mission Control.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dreamwing--clawbridge/badge.svg)](/listings/dreamwing--clawbridge)

HTML

<a href="/listings/dreamwing--clawbridge"><img src="/api/listings/dreamwing--clawbridge/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

These steps run a script from the network that findsafeskills does not scan.

Run this one-liner on your OpenClaw server (Ubuntu/Debian):

curl -sL https://clawbridge.app/install.sh | bash

That's it. The script will: 1. Detect your environment (VPN or Public). 2. Generate a secure Access Key. 3. Give you a ready-to-use URL.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 100 lines · 3 findings marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <skill>
  2. <id>clawbridge</id>
  3. <name>ClawBridge Dashboard</name>
  4. <version>1.0.0</version>
  5. <description>Mobile-first mission control for OpenClaw agents. Runs as a local Node.js sidecar process, providing a web dashboard to monitor real-time agent activity, track token costs across 340+ models, and trigger cron tasks remotely. Optionally creates an outbound-only Cloudflare tunnel for remote access.</description>
  6. <author>DreamWing</author>
  7. <homepage>https://clawbridge.app</homepage>
  8. <license>MIT</license>
  9. <tags>dashboard,monitoring,mobile,ui,control-panel,cost-tracking,cloudflare,tunnel</tags>
  10. <!-- What this skill installs and runs -->
  11. <runtime>
  12. <type>node</type>
  13. <entrypoint>index.js</entrypoint>
  14. <persistence>Registers a user-level systemd service (clawbridge.service) that auto-starts on login and restarts on failure.</persistence>
  15. </runtime>
  16. <!-- System requirements -->
  17. <requires>
  18. <dependency name="node" version=">=18" required="true" />
  19. <dependency name="npm" version=">=9" required="true" />
  20. <dependency name="git" version="any" required="false" description="Used for incremental updates; falls back to tarball download if absent." />
  21. <dependency name="cloudflared" version="latest" required="false" description="Downloaded automatically from github.com/cloudflare/cloudflared if Cloudflare tunnel is enabled. Only required if using remote access without a VPN (Tailscale/WireGuard)." />
  22. </requires>
  23. <!-- Credentials / environment variables written to .env -->
  24. <credentials>
  25. <env name="ACCESS_KEY" description="Randomly generated 32-character hex key used to authenticate dashboard logins. Auto-generated on first install." required="true" generated="true" />
  26. <env name="PORT" description="Local TCP port the dashboard listens on. Defaults to 3000, auto-incremented if busy." required="false" default="3000" />
  27. <env name="TUNNEL_TOKEN" description="Cloudflare Tunnel token for a permanent named tunnel. Optional — omit to use a temporary Quick Tunnel instead." required="false" />
  28. <env name="ENABLE_EMBEDDED_TUNNEL" description="Set to 'true' when a Cloudflare tunnel (permanent or quick) is active." required="false" />
  29. <env name="OPENCLAW_PATH" description="Absolute path to the openclaw binary. Auto-detected from PATH; only written to .env if found." required="false" />
  30. </credentials>
  31. <!-- Network activity -->
  32. <network>
  33. <connection purpose="Dependency install" destination="registry.npmjs.org" direction="outbound" trigger="install/update" />
  34. <connection purpose="Source code download" destination="github.com/dreamwing/clawbridge" direction="outbound" trigger="install/update" />
  35. <connection purpose="cloudflared binary download" destination="github.com/cloudflare/cloudflared" direction="outbound" trigger="install (only if tunnel enabled and cloudflared not found)" />
  36. <connection purpose="Cloudflare Tunnel relay" destination="*.cloudflareaccess.com, *.trycloudflare.com" direction="outbound" trigger="runtime (only if tunnel enabled)" />
  37. <connection purpose="Dashboard UI" destination="localhost" direction="inbound" trigger="runtime" />
  38. </network>
  39. <!-- File system paths written or modified -->
  40. <filesystem>
  41. <path type="write" location="skills/clawbridge/.env" description="Stores ACCESS_KEY, PORT, and optional tunnel config." />
  42. <path type="write" location="skills/clawbridge/data/" description="Stores local agent log and token usage analytics." />
  43. <path type="write" location="~/.config/systemd/user/clawbridge.service" description="User-level systemd service unit for auto-start." />
  44. <path type="write" location="skills/clawbridge/cloudflared" description="cloudflared binary, only if downloaded during tunnel setup." />
  45. </filesystem>
  46. <!-- Installation — uses the script bundled in this repository -->
  47. <install>
  48. curl -sL https://raw.githubusercontent.com/dreamwing/clawbridge/master/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 54 on GitHub
  49. </install>
  50. <instructions>
  51. ClawBridge installs itself as a persistent background service.
  52. After installation, the dashboard is accessible at the local IP shown in the terminal output.
  53. An ACCESS_KEY is generated and displayed — keep it safe, it is required to log in.
  54. To enable remote access (optional), supply a Cloudflare Tunnel token when prompted,
  55. or leave it blank to use a temporary Quick Tunnel URL.
  56. To update to the latest version:
  57. curl -sL https://raw.githubusercontent.com/dreamwing/clawbridge/master/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 67 on GitHub
  58. To stop the service:
  59. systemctl --user stop clawbridge
  60. Full documentation: https://github.com/dreamwing/clawbridge/blob/master/README.md
  61. </instructions>
  62. </skill>
  63. # ClawBridge Dashboard
  64. **Your Agent. In Your Pocket.**
  65. ClawBridge is a lightweight, mobile-first web dashboard for OpenClaw. It runs as a local sidecar process and provides:
  66. * 🧠 **Live Activity Feed**: Watch agent execution and thinking in real-time via WebSocket.
  67. * 💰 **Token Economy**: Track costs across 340+ models with daily/monthly breakdowns.
  68. * 🚀 **Mission Control**: Trigger cron jobs manually from your phone.
  69. * 🔒 **Secure by Default**: API key auth, session cookies, and optional Cloudflare Tunnel for remote access.
  70. ## What This Skill Does
  71. 1. **Installs** the ClawBridge Node.js app from GitHub into `skills/clawbridge/`
  72. 2. **Generates** a random `ACCESS_KEY` and writes it to `.env`
  73. 3. **Registers** a user-level systemd service for auto-start
  74. 4. **Optionally downloads** `cloudflared` and configures a tunnel for remote access
  75. ## Installation
  76. ```bash
  77. curl -sL https://raw.githubusercontent.com/dreamwing/clawbridge/master/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 97 on GitHub
  78. ```
  79. See [README.md](https://github.com/dreamwing/clawbridge/blob/master/README.md) for full documentation.
README.md · README · 111 lines · 1 finding marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <div align="center">
  2. <img src="public/app-icon.png" width="120" alt="ClawBridge Logo" />
  3. <h1>ClawBridge Dashboard</h1>
  4. <p><strong>The OpenClaw Mobile Dashboard & Mission Control.</strong></p>
  5. <a href="https://clawbridge.app">
  6. <img src="https://img.shields.io/badge/Website-clawbridge.app-3b82f6?style=for-the-badge&logo=google-chrome&logoColor=white" alt="Website" />
  7. </a>
  8. <a href="https://github.com/openclaw/openclaw">
  9. <img src="https://img.shields.io/badge/OpenClaw-Compatible-22c55e?style=for-the-badge&logo=robot-framework&logoColor=white" alt="OpenClaw" />
  10. </a>
  11. <a href="LICENSE">
  12. <img src="https://img.shields.io/badge/License-MIT-fab005?style=for-the-badge" alt="License" />
  13. </a>
  14. <br/><br/>
  15. [ <strong>English</strong> | <a href="README_CN.md">简体中文</a> ]
  16. </div>
  17. ---
  18. **ClawBridge** is the definitive **Mobile Dashboard** for OpenClaw agents. It serves as your pocket-sized **Mission Control**—monitor real-time thoughts, track token costs, and manage background tasks from anywhere, securely and instantly.
  19. ## ✨ Key Features
  20. * **📱 Mobile-First Dashboard**: Optimized for phone screens. View logs, stats, and controls without squinting.
  21. * **🧠 Live Activity Feed**: Watch your agent "think" and execute tools in real-time. Features intelligent parallel logging (no missed background tasks) and deduplication.
  22. * **💰 Token Economy**: Track daily/monthly LLM costs and usage trends. Know exactly where your money goes.
  23. * **🔍 [Cost Control Center](docs/cost-control-center.md)**: 10 automated diagnostics that scan your usage, calculate savings, and let you apply optimizations with one tap. Cut API costs by 30–90%.
  24. * **📜 Memory Timeline**: Browse your agent's daily journals and long-term memory evolution.
  25. * **🚀 Mission Control**: Trigger cron jobs, restart services, or kill runaway scripts directly from the UI.
  26. * **⚡ Zero-Config Remote**:
  27. * **Auto-Port**: Automatically finds an available port if 3000 is busy.
  28. * **Smart Networking**: Auto-detects **Tailscale/WireGuard** for direct secure access.
  29. * **Quick Tunnel**: If no VPN is found, auto-generates a temporary public URL via Cloudflare (Zero Config).
  30. ## 🚀 Installation
  31. Run this one-liner on your OpenClaw server (Ubuntu/Debian):
  32. ```bash
  33. curl -sL https://clawbridge.app/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 42 on GitHub
  34. ```
  35. That's it. The script will:
  36. 1. Detect your environment (VPN or Public).
  37. 2. Generate a secure Access Key.
  38. 3. Give you a ready-to-use URL.
  39. ## 📱 Usage
  40. ### 1. Zero-Config Access (Default)
  41. If you just want to try it out, the installer provides a **Quick Tunnel** URL:
  42. `https://<random-name>.trycloudflare.com/?key=<YOUR_KEY>`
  43. * **Pros**: Instant access from anywhere.
  44. * **Cons**: URL changes if you restart the service.
  45. ### 2. VPN Direct Access (Privacy First)
  46. If **Tailscale** or **WireGuard** is detected, the installer skips the public tunnel and gives you a private link:
  47. `http://<VPN_IP>:3000/?key=<YOUR_KEY>`
  48. * **Pros**: Fastest speed, maximum privacy.
  49. * **Cons**: Your phone must be connected to the VPN.
  50. ### 3. Permanent Public Domain (Advanced)
  51. Want a fixed URL like `dash.yoursite.com`?
  52. 1. Obtain a **Cloudflare Tunnel Token** from [Cloudflare Dash \> Networking \> Tunnels](https://dash.cloudflare.com/?to=/:account/tunnels).
  53. 2. Run the installer with the token:
  54. ```bash
  55. cd skills/clawbridge
  56. ./install.sh --token=<YOUR_TOKEN>
  57. ```
  58. * Or force a new Quick Tunnel: `./install.sh --force-cf`
  59. 3. After the installation is successful, go back to the Cloudflare Tunnel's **Public Hostname** (or **Routes**) page and click **Add a public hostname** to bind your own domain to `localhost:3000` for permanent access.
  60. ### 4. Docker (Containerized)
  61. You can run ClawBridge as a Docker container. The images are automatically published to the [GitHub Container Registry (ghcr.io)](https://github.com/dreamwing/clawbridge/pkgs/container/clawbridge).
  62. ```bash
  63. docker pull ghcr.io/dreamwing/clawbridge:latest
  64. docker run -d --name clawbridge \
  65. -p 3000:3000 \
  66. -e ACCESS_KEY=your_secret_key \
  67. -e OPENCLAW_STATE_DIR=/openclaw \
  68. -e OPENCLAW_WORKSPACE=/openclaw/workspace \
  69. -v ~/.openclaw:/openclaw:ro \
  70. -v ./data:/app/data \
  71. ghcr.io/dreamwing/clawbridge:latest
  72. ```
  73. ## 📱 Mobile App (PWA)
  74. 1. Open the dashboard in Safari (iOS) or Chrome (Android).
  75. 2. Tap "Share" -> "Add to Home Screen".
  76. 3. Launch it like a native app (full screen, no browser bar).
  77. ## 🛠️ Tech Stack
  78. * **Backend**: Node.js (Express, WebSocket) - Lightweight sidecar process.
  79. * **Frontend**: Vanilla JS - Zero build step, instant load.
  80. * **Tunnel**: Cloudflared
  81. ## Credits
  82. Special thanks to our community for helping improve ClawBridge:
  83. - [@yaochao](https://github.com/yaochao) for reporting critical security and portability issues and suggesting architectural refactoring (#1, #2, #3, #4, #5, #6, #7).
  84. - [@斯图超哥](https://x.com/StewartLi666) for feedback on Linux compatibility, IP detection stability, and Quick Tunnel refresh logic (#12).
  85. - [@zjy4fun](https://github.com/zjy4fun) for valuable contributions in workspace detection fix (PR #22).
  86. - [@chrisuhg](https://github.com/chrisuhg) for valuable contributions in resolving installation and auth loop issues (Issue #19).
  87. - [@ForceConstant](https://github.com/ForceConstant) for valuable contributions in Feature Request: versioned docker images (#24) (Issue #24).
  88. ---
  89. *MIT License. Built for the OpenClaw Community.*
install.sh · Bundled script · 253 lines · 1 finding marked
  1. #!/bin/bash
  2. # ClawBridge Installer (Git + Tarball Fallback)
  3. # Usage: curl -sL https://raw.githubusercontent.com/dreamwing/clawbridge/master/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 4 on GitHub
  4. set -e
  5. echo "🌊 ClawBridge Installer"
  6. echo "-----------------------"
  7. # OS Detection
  8. OS_TYPE=$(uname -s)
  9. if [ "$OS_TYPE" = "Darwin" ]; then
  10. sed_inplace() { sed -i '' "$@"; }
  11. else
  12. sed_inplace() { sed -i "$@"; }
  13. fi
  14. # Default values
  15. TARGET_DIR="skills/clawbridge"
  16. [ "$(basename "$PWD")" == "clawbridge" ] && [ "$(basename "$(dirname "$PWD")")" == "skills" ] && TARGET_DIR="."
  17. # Arguments parsing
  18. PASSTHROUGH_ARGS=""
  19. EXTRACTED_TOKEN=""
  20. for arg in "$@"; do
  21. case $arg in
  22. --token=*)
  23. EXTRACTED_TOKEN="${arg#*=}"
  24. PASSTHROUGH_ARGS="$PASSTHROUGH_ARGS $arg"
  25. ;;
  26. *)
  27. PASSTHROUGH_ARGS="$PASSTHROUGH_ARGS $arg"
  28. ;;
  29. esac
  30. done
  31. if [ "$TARGET_DIR" == "." ]; then
  32. echo "📂 Detected execution from inside installation directory."
  33. else
  34. mkdir -p "$(dirname "$TARGET_DIR")"
  35. fi
  36. NEEDS_BUILD=true
  37. BACKUP_MSG=""
  38. # --- STRATEGY SELECTION ---
  39. if command -v git &> /dev/null; then
  40. INSTALL_MODE="git"
  41. echo "✅ Git detected. Using Git for incremental updates."
  42. else
  43. INSTALL_MODE="tarball"
  44. echo "⚠️ Git not found. Using Tarball download mode."
  45. fi
  46. # ==============================
  47. # STRATEGY A: GIT (Preferred)
  48. # ==============================
  49. if [ "$INSTALL_MODE" == "git" ]; then
  50. if [ -d "$TARGET_DIR" ]; then
  51. echo "ℹ️ Updating existing installation..."
  52. cd "$TARGET_DIR"
  53. # Stash local changes
  54. git stash >/dev/null 2>&1 || true
  55. echo "⬇️ Fetching updates..."
  56. git fetch --all --tags --force --prune
  57. # Find latest tag
  58. LATEST_TAG=$(git tag -l "v*" | sort -V | tail -n1)
  59. if [ ! -z "$LATEST_TAG" ]; then
  60. CURRENT_TAG=$(git describe --tags --exact-match 2>/dev/null || echo "none")
  61. if [ "$CURRENT_TAG" == "$LATEST_TAG" ]; then
  62. echo "✅ Already on latest version ($LATEST_TAG). Skipping update."
  63. NEEDS_BUILD=false
  64. else
  65. echo "🔖 Found new version: $LATEST_TAG (Current: $CURRENT_TAG)"
  66. echo "🔄 Switching to release $LATEST_TAG..."
  67. git checkout "tags/$LATEST_TAG"
  68. fi
  69. else
  70. echo "⚠️ No release tags found. Using master branch..."
  71. git checkout master
  72. git pull origin master
  73. fi
  74. cd - > /dev/null
  75. else
  76. echo "⬇️ Cloning repository..."
  77. mkdir -p skills
  78. git clone https://github.com/dreamwing/clawbridge.git "$TARGET_DIR"
  79. cd "$TARGET_DIR"
  80. # Post-clone: Checkout tag
  81. LATEST_TAG=$(git tag -l "v*" | sort -V | tail -n1)
  82. if [ ! -z "$LATEST_TAG" ]; then
  83. echo "🔖 Checkout release $LATEST_TAG..."
  84. git checkout "tags/$LATEST_TAG"
  85. fi
  86. cd - > /dev/null
  87. fi
  88. # ==============================
  89. # STRATEGY B: TARBALL (Fallback)
  90. # ==============================
  91. else
  92. # 1. Determine Latest Version (via Redirect)
  93. echo "🔍 Checking latest version..."
  94. # Hack to get latest tag from GitHub redirect without API rate limits
  95. LATEST_URL=$(curl -sL -o /dev/null -w %{url_effective} https://github.com/dreamwing/clawbridge/releases/latest)
  96. LATEST_TAG=$(basename "$LATEST_URL")
  97. if [[ "$LATEST_TAG" == "releases" ]]; then
  98. echo "⚠️ Could not determine latest tag. Defaulting to master."
  99. DOWNLOAD_URL="https://github.com/dreamwing/clawbridge/archive/refs/heads/master.tar.gz"
  100. VER_STRING="master"
  101. else
  102. DOWNLOAD_URL="https://github.com/dreamwing/clawbridge/archive/refs/tags/${LATEST_TAG}.tar.gz"
  103. VER_STRING="$LATEST_TAG"
  104. fi
  105. # 2. Check & Backup Existing
  106. TS=$(date +%Y%m%d_%H%M%S)
  107. if [ -d "$TARGET_DIR" ]; then
  108. # Check current version from package.json
  109. if [ -f "$TARGET_DIR/package.json" ]; then
  110. CURRENT_VER=$(grep '"version":' "$TARGET_DIR/package.json" | cut -d'"' -f4)
  111. else
  112. CURRENT_VER="unknown"
  113. fi
  114. BACKUP_DIR="skills/_backups"
  115. mkdir -p "$BACKUP_DIR"
  116. BACKUP_FILE="$BACKUP_DIR/clawbridge_v${CURRENT_VER}_${TS}.tar.gz"
  117. echo "📦 Backing up current version to $BACKUP_FILE..."
  118. # Ignore node_modules AND the backup folder itself
  119. PARENT=$(dirname "$TARGET_DIR")
  120. NAME=$(basename "$TARGET_DIR")
  121. tar --exclude='node_modules' --exclude='_backups' -czf "$BACKUP_FILE" -C "$PARENT" "$NAME"
  122. BACKUP_MSG="♻️ Previous version backed up to: $BACKUP_FILE"
  123. fi
  124. # 3. Download & Prepare Temp
  125. # Unique temp dir to prevent collisions
  126. TMP_DIR_NAME="clawbridge_${VER_STRING}_${TS}"
  127. TMP_DIR=$(mktemp -d -t "${TMP_DIR_NAME}.XXXXXX")
  128. echo "⬇️ Downloading $VER_STRING..."
  129. curl -sL "$DOWNLOAD_URL" | tar -xz -C "$TMP_DIR"
  130. # GitHub tarballs extract to 'clawbridge-1.0.0' or 'clawbridge-master'
  131. EXTRACTED_DIR=$(find "$TMP_DIR" -maxdepth 1 -type d -name "clawbridge-*" | head -n 1)
  132. # 4. Data Migration (Hot-Swap)
  133. if [ "$TARGET_DIR" == "." ]; then
  134. echo "♻️ Migrating configuration and data (In-Place)..."
  135. # When running inside target, we must copy config TO temp dir first
  136. # Because in step 5 we will overwrite current dir with temp dir content
  137. # Wait, the previous logic copied FROM target TO temp. That is correct.
  138. [ -f ".env" ] && cp ".env" "$EXTRACTED_DIR/"
  139. [ -d "data" ] && cp -r "data" "$EXTRACTED_DIR/"
  140. [ -f ".quick_tunnel_url" ] && cp ".quick_tunnel_url" "$EXTRACTED_DIR/"
  141. else
  142. if [ -d "$TARGET_DIR" ]; then
  143. echo "♻️ Migrating configuration and data..."
  144. [ -f "$TARGET_DIR/.env" ] && cp "$TARGET_DIR/.env" "$EXTRACTED_DIR/"
  145. [ -d "$TARGET_DIR/data" ] && cp -r "$TARGET_DIR/data" "$EXTRACTED_DIR/"
  146. [ -f "$TARGET_DIR/.quick_tunnel_url" ] && cp "$TARGET_DIR/.quick_tunnel_url" "$EXTRACTED_DIR/"
  147. rm -rf "$TARGET_DIR"
  148. else
  149. mkdir -p skills
  150. fi
  151. fi
  152. # 5. Final Move
  153. echo "🔄 Applying update..."
  154. if [ "$TARGET_DIR" == "." ]; then
  155. # Overwrite current dir with new content
  156. cp -rf "$EXTRACTED_DIR"/* .
  157. cp -rf "$EXTRACTED_DIR"/.[!.]* . 2>/dev/null || true
  158. else
  159. mv "$EXTRACTED_DIR" "$TARGET_DIR"
  160. fi
  161. rm -rf "$TMP_DIR"
  162. echo "✅ Code updated to $VER_STRING"
  163. NEEDS_BUILD=true
  164. fi
  165. # ==============================
  166. # COMMON: BUILD & LAUNCH
  167. # ==============================
  168. if [ "$NEEDS_BUILD" = true ]; then
  169. echo "📦 Installing dependencies..."
  170. cd "$TARGET_DIR"
  171. if [ -f "package-lock.json" ]; then
  172. npm ci --production --silent
  173. else
  174. npm install --production --silent
  175. fi
  176. else
  177. cd "$TARGET_DIR"
  178. echo "⏭️ Skipping dependency install (Version match)."
  179. fi
  180. # Run Setup
  181. echo "🚀 Configuring..."
  182. chmod +x setup.sh
  183. # Determine final arguments for setup.sh
  184. FINAL_ARGS="$PASSTHROUGH_ARGS"
  185. # If no token in args, but exists in .env, append it to FINAL_ARGS
  186. # Note: We've already cd'd into TARGET_DIR, so use .env directly
  187. if [ -z "$EXTRACTED_TOKEN" ] && [ -f ".env" ]; then
  188. ENV_TOKEN=$(grep "TUNNEL_TOKEN=" ".env" | cut -d'=' -f2)
  189. if [ ! -z "$ENV_TOKEN" ]; then
  190. echo "ℹ️ Found existing tunnel token in .env, reusing it..."
  191. FINAL_ARGS="$FINAL_ARGS --token=$ENV_TOKEN"
  192. fi
  193. fi
  194. # If after that we still don't have a token, and no explicit tunnel mode set, default to --quick
  195. # We check if FINAL_ARGS contains --token, --quick, or --no-tunnel
  196. if [[ ! "$FINAL_ARGS" == *"--token="* ]] && [[ ! "$FINAL_ARGS" == *"--quick"* ]] && [[ ! "$FINAL_ARGS" == *"--no-tunnel"* ]]; then
  197. echo "🌊 No tunnel mode specified, defaulting to Quick Tunnel..."
  198. FINAL_ARGS="$FINAL_ARGS --quick"
  199. fi
  200. # Log without exposing token
  201. SAFE_LOG=$(echo "$FINAL_ARGS" | sed 's/--token=[^ ]*/--token=****/g')
  202. echo "✅ Running setup: ./setup.sh $SAFE_LOG"
  203. ./setup.sh $FINAL_ARGS
  204. # Final Notification
  205. if [ ! -z "$BACKUP_MSG" ]; then
  206. echo ""
  207. echo "$BACKUP_MSG"
  208. fi
  209. echo ""
  210. echo "✅ [Agent Notice] Update successfully completed. The dashboard service has been restarted."
  211. echo "👉 Please verify the version on the dashboard and inform the user."

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.