From 852ccdcc0f222d42a94ba5b13f3ea223edd778cc Mon Sep 17 00:00:00 2001 From: bastien Date: Wed, 30 Sep 2026 16:11:33 +0200 Subject: [PATCH] feat(doctor): report the Higgsfield CLI and its session --- doctor.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doctor.sh b/doctor.sh index 2712d1b..63f281b 100644 --- a/doctor.sh +++ b/doctor.sh @@ -26,6 +26,8 @@ source "$REPO/lib/gstack-playwright.sh" source "$REPO/lib/doctor-vendored.sh" # shellcheck source=lib/doctor-skills.sh disable=SC1091 source "$REPO/lib/doctor-skills.sh" +# shellcheck source=lib/higgsfield-skills.sh disable=SC1091 +source "$REPO/lib/higgsfield-skills.sh" echo "" echo "═══ claude-config doctor (v${VERSION}) ═══" @@ -246,6 +248,23 @@ else info "Graphifyy not installed (optional — codebase knowledge graph: pipx install graphifyy)" 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 \ + | 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 "" # ────────────────────────────────────────────────────────────