buzz icon indicating copy to clipboard operation
buzz copied to clipboard

CLI and agent tools report version 0.1.0 in every release

Open kleinbem opened this issue 1 month ago • 1 comments

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-agent sends User-Agent: buzz-agent/0.1.0 to LLM providers and the same in agentInfo (#8116 names this as an open point);
  • buzz-acp and buzz-dev-mcp report 0.1.0 in their ACP/MCP handshakes, buzz-backend-kubernetes in its info answer (checked on the 0.5.28 release binaries);
  • buzz has no --version at 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

  1. 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.
  2. Add --version to buzz (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.

kleinbem avatar Oct 23 '26 00:10 kleinbem

Closing: I'm focusing on Buzz 1.0 (block/buzz-app), which doesn't use this code.

kleinbem avatar Oct 23 '26 12:10 kleinbem