feat(update): refresh the Higgsfield CLI and skill pack

This commit is contained in:
bastien
2026-09-30 16:10:08 +02:00
parent 83043412d0
commit bbd3d209d3
2 changed files with 56 additions and 0 deletions
+14
View File
@@ -336,5 +336,19 @@ expect stdin-tests \
"$(yn test "$(count install-plugins.sh '[ -t 0 ]')" -ge 3)" yes
verdict INSTALL_WIRING
# update-all.sh: refresh before the 21st block and before the pins re-apply,
# and the updated CLI is proven by the probe, after the npm call.
# shellcheck disable=SC2016 # a literal to grep for, not an expansion
NPM_UP='npm install -g "$HF_PKG"'
sync_ln="$(ln_last update-all.sh 'higgsfield_sync_skills')"
expect before-21st "$(yn test "$sync_ln" -lt \
"$(ln_first update-all.sh '7.4. Update the 21st.dev')")" yes
expect before-pins "$(yn test "$sync_ln" -lt \
"$(ln_last update-all.sh "$PINS")")" yes
expect probe-after-npm "$(yn test \
"$(ln_first update-all.sh 'higgsfield_cli_ok')" -gt \
"$(ln_last update-all.sh "$NPM_UP")")" yes
verdict UPDATE_WIRING
# ── tally ───────────────────────────────────────────────────
printf 'PASS=%s FAIL=%s\n' "$pass" "$fail"; [ "$fail" -eq 0 ]