client-finder/install.sh

13 lines
323 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# Prerequisite: auth-rt binary must be installed
if ! command -v auth-rt &>/dev/null && [ ! -x "$HOME/.openclaw/bin/auth-rt" ]; then
echo "ERROR: auth-rt not found. Install it:"
echo " cd ~/clawd/skills/auth-runtime && ./install.sh"
exit 1
fi
npm install