Skip to content

v1.0.2 — --save-to flag on imagine + imagine-video (issue #5)

Choose a tag to compare

@taibaran taibaran released this 16 May 08:58

Feature release driven by #5. Triaged with the codex + gemini + grok multi-agent pipeline; 3/3 reviewers converged on ship #5 / defer #6.

Added

  • #5: --save-to <path> on `/grok:imagine` and `/grok:imagine-video`. Plugin copies the generated media from grok's internal session dir to the user's path. Creates parent dirs (mkdirp). POSIX cp semantics: a destination ending with `/` or naming an existing directory triggers basename-append. The internal session copy is preserved for `grok -r ` resume. Copy failures surface on stderr; generation still succeeds.
    • `--json` exposes `sessionPath` (always internal), `savedTo` (when --save-to succeeds), `saveError` (when it fails). `.path` becomes "where the file IS NOW" — preserves backward compat.

Deferred (with reason)

  • #6 (`--shot-list` YAML batch mode): once `--save-to` ships, `for n in beat1 beat2 ...; do --save-to ... & done; wait` covers the parallelism need. All 3 reviewers agreed the YAML+semaphore+summary-table scope isn't justified vs. the bash workaround. Will revisit if user feedback shows the bash pattern isn't enough.

Tests

9 new behavioral tests via fake-grok stub with a real on-disk source file (true end-to-end copy verification). 356 tests total (351 passing + 5 integration skipped).