Skip to content

fix(cli): report the desktop version from the bundled CLI - #2758

Merged
richiemcilroy merged 2 commits into
mainfrom
fix/cli-version-matches-app
Oct 21, 2026
Merged

richiemcilroy merged 2 commits into
mainfrom
fix/cli-version-matches-app

Conversation

@richiemcilroy

@richiemcilroy richiemcilroy commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

cap --version from the bundled CLI printed cap 0.1.0 in every desktop build, including the 0.6.1 release build. So did cap doctor, the MCP server's info, and the CLI's API user agent. The cap crate kept its original 0.1.0 version, and the release stamping only versions the Tauri and GPUI manifests.

  • apps/cli is bumped to the desktop version (0.6.1, with its Cargo.lock entry), so committed builds already match.
  • scripts/sync-desktop-versions.mjs (run by desktop-release.yml, ci.yml and build-gpui-binary.sh) now also syncs the CLI manifest from the desktop version. Nightlies and promoted builds then report e.g. 0.6.2-nightly.… from the CLI too.

Found while testing the signed 0.6.1 build: Cap.app/Contents/MacOS/cap-cli --version → cap 0.1.0.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The PR makes the bundled CLI report the desktop version.

  • The bundled CLI reports the desktop release version.

Reviews (1) · Last reviewed commit: "fix(cli): report the desktop version fro..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 20, 2026 7:50pm UTC

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

View 1 other finding in Capy.

Open in Capy

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

Open in Capy

@blacksmith-sh

blacksmith-sh Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
cap-verify::crash/crash_safety View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@richiemcilroy
richiemcilroy merged commit c8c33d8 into main Oct 21, 2026
49 of 51 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cap-web — 7a6c56a1 Deployed Oct 20, 2026 by vercel[bot]
Preview – cap-status — 7a6c56a1 Deployed Oct 20, 2026 by vercel[bot]
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