Releases: getmochify/mochify-cli
Release list
v1.4.0
v1.3.0
chore: release v1.3.0 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
v1.2.1
Bug fix
Fixed: files with spaces in their name were returned unchanged when using --prompt
When tab-completing a filename like Screen Shot 2026.png, the NLP prompt map lookup would silently fall back to default parameters because Mistral doesn't reliably echo filenames containing spaces verbatim. The file would be processed with no format/size params, returning it effectively unchanged.
The map is now keyed by the original input filename (captured before sending to the API) rather than by whatever the AI returns — so Screen Shot 2026.png always resolves correctly.
Install
cargo install mochifyOr download a binary from the assets below.
v1.2.0
What's new
Prompt summary — when --prompt is used, the CLI now prints a human-readable summary of what the NLP resolved for each file before processing starts:
Interpreted:
photo.jpg → webp · 1080 × 1080 · crop
banner.jpg → avif · 1200w
--verbose / -v flag — prints raw API responses and response headers after each operation, useful for developers exploring the REST API before switching to direct calls:
- Raw
/v1/promptJSON response (pretty-printed) - Per-file squish headers: latency, optimized, quality, saliency
/path/to/photo_mochified.webp
← 183ms · optimized · quality 72 · saliency 0.847
v1.1.1
feat: add clarity flag for midtone contrast enhancement Adds --clarity CLI flag, NLP synonym matching (sharpen, crisp, make it pop, bring out detail, etc.), and MCP tool parameter. Wired through the full stack to the core backend clarity=1 query param. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
v1.1.0
feat: add output file naming via --name flag and NLP outputName Adds -n/--name CLI flag, outputName field in NLP prompt responses, and MCP tool parameter so users can control the output filename base across all three entry points. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
v1.0.5
v1.0.4
- Output file naming: same-format/same-dir writes now produce
_mochifiedsuffix so it's clear something happened; existing output files get a numeric suffix instead of silently overwriting - Stdin support: pipe file paths from a file list or
find(e.g.find . -name '*.jpg' | mochify -t webp)
v1.0.3
chore: bump version to 1.0.3 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
v1.0.2
fix: WORKER_URL broken in api.rs (prompt flow) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>