Skip to content

LocalForge v2.1.2

Latest

Choose a tag to compare

@stalzkie stalzkie released this 20 Jun 15:09
· 1 commit to main since this release

What's new in v2.1.2

Critical fix — standalone binary now fully self-contained

Previous releases required the surrounding repo or app bundle to be present for --install to work. Users downloading the raw binary from the Releases page would hit:

[LocalForge] ⚠ pre-commit hook source not found
[LocalForge] ⚠ infer.py not found
[LocalForge] ⚠ advisory.py not found

Root cause: run_install() searched for hooks/pre-commit, coreml/infer.py, and coreml/advisory.py as external files relative to the binary or app bundle. A standalone binary download has neither.

Fix: All three files are now embedded directly into the binary at compile time using Rust's include_str!(). --install and --upgrade-all write them from the embedded constants — no external files needed, ever.

A standalone localforge-v2.1.2-macos-arm64 download now fully installs hook, shims, and binary in one command:

curl -L https://github.com/stalzkie/local-forge/releases/download/v2.1.2/localforge-v2.1.2-macos-arm64 \
  -o /tmp/localforge && chmod +x /tmp/localforge && /tmp/localforge --install

Also adds Cargo.toml and Cargo.lock to .localforgeignore to suppress Layer 2 false positives on version bumps.

Requires Apple Silicon (M1/M2/M3/M4). macOS 14+.