36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
--- a/doctor.sh
|
|
+++ b/doctor.sh
|
|
@@ -26,6 +26,8 @@
|
|
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 @@
|
|
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 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 ""
|
|
|
|
# ────────────────────────────────────────────────────────────
|