feat(doctor): report the Higgsfield CLI and its session

This commit is contained in:
bastien
2026-09-30 16:11:33 +02:00
parent 51a3353360
commit 852ccdcc0f
+19
View File
@@ -26,6 +26,8 @@ source "$REPO/lib/gstack-playwright.sh"
source "$REPO/lib/doctor-vendored.sh" source "$REPO/lib/doctor-vendored.sh"
# shellcheck source=lib/doctor-skills.sh disable=SC1091 # shellcheck source=lib/doctor-skills.sh disable=SC1091
source "$REPO/lib/doctor-skills.sh" source "$REPO/lib/doctor-skills.sh"
# shellcheck source=lib/higgsfield-skills.sh disable=SC1091
source "$REPO/lib/higgsfield-skills.sh"
echo "" echo ""
echo "═══ claude-config doctor (v${VERSION}) ═══" echo "═══ claude-config doctor (v${VERSION}) ═══"
@@ -246,6 +248,23 @@ else
info "Graphifyy not installed (optional — codebase knowledge graph: pipx install graphifyy)" info "Graphifyy not installed (optional — codebase knowledge graph: pipx install graphifyy)"
fi fi
# Higgsfield is optional and off by default: info level, never a warning.
# The probe, not `command -v`: the npm shim can outlive its binary.
if higgsfield_cli_ok; then
HF_VERSION="$(higgsfield version </dev/null 2>/dev/null \
| awk 'NR==1 {print $2}' || true)"
pass "Higgsfield CLI installed (${HF_VERSION:-version unknown})"
if higgsfield_signed_in; then
pass "Higgsfield session active"
else
info "Higgsfield not signed in (generation needs: higgsfield auth login)"
fi
elif command -v higgsfield >/dev/null 2>&1; then
info "Higgsfield CLI on PATH but its binary does not answer (run: npm install -g --allow-scripts=@higgsfield/cli @higgsfield/cli)"
else
info "Higgsfield CLI not installed (optional — media generation: make plugin)"
fi
echo "" echo ""
# ──────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────