You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.12.341 — Google Lyria music models; spend windows count a media job once
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Google Lyria music models in the OpenClaw music picker. The BlockRun
music provider lists google/lyria-3.5 (a song whose length follows duration_seconds roughly, $0.08) and google/lyria-3-clip (always 30
seconds, $0.04) after minimax/music-2.5+, which stays the default. The
proxy already forwarded any model id to /v1/audio/generations; the
picker now offers the models the gateways serve (#718).
Fixed
Music is estimated at each model's own price./v1/audio/generations
estimated every track at a hardcoded $0.15, MiniMax's price before
2026-11-30. estimateMusicCost(model) now reads a per-model table that
mirrors the gateway's (MiniMax $0.199, Lyria 3.5 $0.08, clip $0.04), and an
unknown id is estimated at the dearest. The estimate feeds the API-key
rail's spend-window dispatch check and the usage-log fallback when the
gateway reports no settled cost; the gateway's charge is unchanged.
Spend windows count an async media job once, not once per status poll.
On the wallet rail each pending poll of an image, image-edit or video job
gets its own 402 and its own signature, and every one was recorded against
the hourly / daily / session windows. A slow job (polled every 3s for up to
~5 minutes) could drain a window, and a later poll was refused before it
could collect a job that was already paid for. A poll now skips the
windows only when the job's submit was counted and the poll asks for no
more than it did: same payee, network and asset, and no larger amount.
Such a poll still goes through the policy file, the payee, network and
asset lists, and the per-request cap. Any other poll is checked and counted
like a new payment, so a poll can never take a window past its limit.
Thanks @Tyagiquamar (#717, closes #713).
Security
Desktop build tooling moves to tar 8.1.2. The 16 node-tar advisories
against electron-builder's tree (symlink and linkpath escapes, PAX header
injection, path-reservation exhaustion) are fixed only in 8.x, and app-builder-lib and node-gyp still ask for ^7. An override pins it;
electron-builder's archive and extract output is identical on 7 and 8. A
test fails if the app gains a native production dependency, since
node-gyp's header download does not work on tar 8. Build-time only; the
shipped runtime is unchanged (#719).