CLI and agent tools report version 0.1.0 in every release
Motivation
The workspace crates (buzz-cli, buzz-agent, buzz-acp, buzz-dev-mcp, buzz-backend-kubernetes, the git helpers) stay at version 0.1.0: a Buzz release bumps only the desktop (desktop/package.json, tauri.conf.json, desktop/src-tauri/Cargo.toml, as in #8222). So every release reports the same version wherever a crate uses CARGO_PKG_VERSION:
buzz-agentsendsUser-Agent: buzz-agent/0.1.0to LLM providers and the same inagentInfo(#8116 names this as an open point);buzz-acpandbuzz-dev-mcpreport0.1.0in their ACP/MCP handshakes,buzz-backend-kubernetesin itsinfoanswer (checked on the 0.5.28 release binaries);buzzhas no--versionat all (error: unexpected argument '--version' found).
That makes it hard to tell which release a binary comes from, for users debugging a mismatch like #2422, for tools that want to check versions (#5320), and for packagers. I package these tools for nixpkgs, where the version has to be taken from the desktop tag instead.
Proposed solution
- Bump the workspace version with each Buzz release, in the same release step that bumps the desktop, so the crates report the release they ship in.
- Add
--versiontobuzz(clap's#[command(version)]).
Alternatives considered
Separate releases for the CLI (cli-v* tags) would also work, but the tools ship with the desktop, so following its version seems simpler.
Additional context
aaif-goose/goose and Mesh-LLM/mesh-llm bump their workspace version in the release step, and goose --version reports it. I'd be glad to send a PR for 2, and for 1 if you tell me where the release step should do it.
Closing: I'm focusing on Buzz 1.0 (block/buzz-app), which doesn't use this code.