Skip to content

Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.

chore(install): pin smolagents>=1.24.0 + bump huggingface-hub floor

mrbizarro222e26bd149a
diff --git a/install.js b/install.js
index 4a2cfaf..96fcbea 100644
--- a/install.js
+++ b/install.js
@@ -179,7 +179,22 @@ module.exports = {
// releases (stole SSH keys via a poisoned post-install script).
// See agent/engine.py for routing details. Falls back to stdlib
// urllib if missing — safe to omit but the loop is less robust.
- "uv pip install --python env/bin/python pillow numpy 'huggingface-hub>=1.0' 'hf_transfer>=0.1.6' 'litellm>=1.83.14'",
+ //
+ // smolagents: Phase 2 of the agent-layer refactor (see
+ // /Users/salo/.claude/plans/fancy-conjuring-lovelace.md). Powers
+ // the optional CodeAgent runtime in agent/runtime_smol.py,
+ // selectable per-request via PHOSPHENE_RUNTIME=smol. smolagents
+ // pulls transformers as a transitive dep — the huggingface-hub
+ // floor is bumped to >=1.5.0 to satisfy transformers' pin.
+ // smolagents itself ships with a pessimistic <1.0 hub pin that
+ // is empirically benign in practice.
+ //
+ // The hub pin range we settle on (>=1.5.0,<2.0) satisfies:
+ // - mflux>=0.17.5 wants >=1.1.6,<2.0
+ // - transformers (5.7.0+) wants >=1.5.0,<2.0
+ // - smolagents 1.24.0 warns about <1.0 but works
+ // - hf download CLI needs v1+ for the new command name
+ "uv pip install --python env/bin/python pillow numpy 'huggingface-hub>=1.5.0,<2.0' 'hf_transfer>=0.1.6' 'litellm>=1.83.14' 'smolagents>=1.24.0'",
// v2.0.3: post-install confirmation that the local packages
// actually landed in site-packages. The Y1.034+ patch script's
// i2v target tolerates a missing ltx_pipelines_mlx — without
diff --git a/update.js b/update.js
index c6bf553..bb2c254 100644
--- a/update.js
+++ b/update.js
@@ -100,6 +100,21 @@ module.exports = {
message: "./ltx-2-mlx/env/bin/pip install --upgrade 'litellm>=1.83.14'"
}
},
+ // smolagents: powers the optional CodeAgent runtime in
+ // agent/runtime_smol.py (Phase 2 of the agent-layer refactor —
+ // see /Users/salo/.claude/plans/fancy-conjuring-lovelace.md).
+ // Off by default; the panel uses it only when launched with
+ // PHOSPHENE_RUNTIME=smol. Pulls transformers as a transitive dep
+ // which downgrades huggingface-hub to <1.0 — re-pin >=1.5.0,<2.0
+ // afterwards to keep mflux + the hf v1 CLI working. The
+ // smolagents <1.0 hub pin is empirically benign (verified
+ // CodeAgent + LocalPythonExecutor both work on hub 1.14.0).
+ {
+ method: "shell.run",
+ params: {
+ message: "./ltx-2-mlx/env/bin/pip install --upgrade 'smolagents>=1.24.0' 'huggingface-hub>=1.5.0,<2.0'"
+ }
+ },
// Re-apply patches. Codec patch is required; I2V OOM patch is a no-op
// on dcd639e (older I2V structure) and reports drift gracefully now.
// Pin to the venv's python3.11 to match install.js — `python3` on