Skip to content

ImageGen spend confirm + CHANGELOG for #86 (3.29.4) - #88

Merged
VickyXAI merged 1 commit into
mainfrom
fix/imagegen-confirm-and-sync-note
Jun 18, 2026
Merged

ImageGen spend confirm + CHANGELOG for #86 (3.29.4)#88
VickyXAI merged 1 commit into
mainfrom
fix/imagegen-confirm-and-sync-note

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

What

Follow-up to #86 (pure media tools).

  • ImageGen now confirms spend. After Pure image/video tools + local-first history #86 removed the media router, ImageGen had no cost confirmation at all (the router proposal was its only AskUser path). Adds a pure price-math, model-aware Generate/Cancel confirm — parity with VideoGen. Interactive callers (CLI/agent) see the model + estimated cost before any USDC is spent; direct callers (desktop, no onAskUser) generate immediately.
  • VideoGen estimate is model-aware (landed on Pure image/video tools + local-first history #86 branch pre-merge): the confirm quotes estimateCostUsd(findModel(model)) so the price matches the named model instead of a flat per-second rate.
  • CHANGELOG (3.29.4) documents Pure image/video tools + local-first history #86 — including the upgrade note that cloud sync is now opt-in (FRANKLIN_CLOUD_SYNC=on); users relying on cross-device sync must set it to keep syncing.
  • Version bump 3.29.3 → 3.29.4.

Why

#86 merged without a CHANGELOG entry and left an asymmetry: video confirms spend, image didn't. For an agent whose whole pitch is spending your USDC, silent image spend is the wrong default.

Verified

npm run build clean; 454 local tests pass.

ImageGen had no spend confirmation after the media-router removal (#86) —
the router proposal was its only AskUser path. Add a pure price-math,
model-aware Generate/Cancel confirm (parity with VideoGen): interactive
callers see the model + estimated cost before any USDC is spent; direct
callers (desktop, no onAskUser) generate immediately.

Also document #86 in the CHANGELOG (3.29.4), including the upgrade note
that cloud sync is now opt-in (FRANKLIN_CLOUD_SYNC=on).
@VickyXAI
VickyXAI merged commit 78afbdc into main Jun 18, 2026
2 checks passed
@VickyXAI
VickyXAI deleted the fix/imagegen-confirm-and-sync-note branch June 18, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant