sync: auto-sync from GURU-KALI at 2026-05-31 09:36:59
Author: Mike Swanson Machine: GURU-KALI Timestamp: 2026-05-31 09:36:59
This commit is contained in:
@@ -9,7 +9,22 @@ REPO_ROOT="${CLAUDETOOLS_ROOT:-/d/claudetools}"
|
||||
[ -d "$REPO_ROOT" ] || REPO_ROOT="$(git -C "$(dirname "$0")" rev-parse --show-toplevel 2>/dev/null)"
|
||||
VAULT="$REPO_ROOT/.claude/scripts/vault.sh"
|
||||
RMM="http://172.16.3.30:3001"
|
||||
COORD="http://172.16.3.30:8001/api/coord"
|
||||
|
||||
# Coord API base — read from identity.json (per-machine override) and fall back
|
||||
# to the on-LAN default for backward compat. Same lookup pattern as sync.sh.
|
||||
IDENTITY_PATH=""
|
||||
for candidate in "$HOME/.claude/identity.json" "$REPO_ROOT/.claude/identity.json"; do
|
||||
if [ -f "$candidate" ]; then
|
||||
IDENTITY_PATH="$candidate"
|
||||
break
|
||||
fi
|
||||
done
|
||||
COORD_BASE=""
|
||||
if [ -n "$IDENTITY_PATH" ] && command -v jq >/dev/null 2>&1; then
|
||||
COORD_BASE=$(jq -r '.coord_api // empty' "$IDENTITY_PATH" 2>/dev/null)
|
||||
fi
|
||||
[ -z "$COORD_BASE" ] && COORD_BASE="http://172.16.3.30:8001" # default when identity.json doesn't define coord_api
|
||||
COORD="${COORD_BASE}/api/coord"
|
||||
KSTEEN="ee3c6aea-e9cc-4d2f-9e79-a38dd0eb129e"
|
||||
VERIFY_PS="$REPO_ROOT/.claude/scripts/ksteen-smartbadge-verify.ps1"
|
||||
LOG="$REPO_ROOT/.claude/logs/ksteen-smartbadge.log"
|
||||
|
||||
Reference in New Issue
Block a user