Tags: WaveSpeedAI/wavespeed-cli
Tags
chore: release 0.4.8 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016emA9R1DaixpuhKLUmMNnF
chore: release 0.4.7 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016emA9R1DaixpuhKLUmMNnF
chore: release 0.4.8 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016emA9R1DaixpuhKLUmMNnF
chore: release 0.4.5 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LJJXU9zyoDSBjApcUpteDt
fix: stop documenting an array syntax that never worked The parser comment promised `[a,b,c]` would become an array of strings, but coerce() only ever ran JSON.parse on values starting with `[`. `[a,b,c]` is not JSON, so it fell through and reached the API as a string — which is how a `-i element_refer_list=<url>` call ends up rejected with "must be an array". The comment now describes what the code does. Rather than widening the parser to guess, the submit error carries the JSON form built from the value the user actually passed, so the fix is copy-pasteable. Nothing about the input is rewritten, per the no-mutation invariant.
Send channel-attribution headers on all API traffic SDK-routed calls now pass clientName "wavespeed-cli" to the wavespeed SDK (0.3.0), which stamps X-Client-Name / X-Client-Version / X-Client-OS on every request; the CLI's direct REST calls (models catalog, balance/predictions helpers, login key validation) get the same headers from a new client-headers helper. This attributes traffic to distribution channels, following the wavespeed-desktop convention. The WAVESPEED_CLIENT_NAME environment variable overrides the name (the SDK applies it for SDK calls; the helper applies it for direct calls) so wrapper channels can brand themselves without code changes. Note: package-lock.json still pins wavespeed 0.2.6 — run npm install to refresh it once wavespeed 0.3.0 is published, before publishing this CLI version. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LJJXU9zyoDSBjApcUpteDt
PreviousNext