fix(desktop): recover from outdated Claude Code auth status probes#2788
Open
fletchertyler914 wants to merge 5 commits into
Open
fix(desktop): recover from outdated Claude Code auth status probes#2788fletchertyler914 wants to merge 5 commits into
fletchertyler914 wants to merge 5 commits into
Conversation
Older Claude Code builds lack `claude auth status` and treat those args as a prompt, so onboarding auth checks time out and leave Next disabled. Validate JSON `loggedIn`, surface an update hint, and repair via `claude update` on install. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Tyler Fletcher <fletchertyler914@yahoo.com>
Add an ignored live PATH probe for manual validation against a downgraded Claude Code install, and update onboarding e2e for the UPDATE CLI CTA. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Tyler Fletcher <fletchertyler914@yahoo.com>
Move the outdated-Claude auth hint into the card content stack and rename Status unavailable to Update required so it sits cleanly under UPDATE CLI. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Tyler Fletcher <fletchertyler914@yahoo.com>
Avoid the confusing Install+Update-required state while Claude Code is being upgraded from onboarding. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Tyler Fletcher <fletchertyler914@yahoo.com>
…ding Keep the install mutation pending until discover_acp_providers refetches so onboarding does not briefly flash stale UPDATE CLI after a successful Claude CLI repair. Retry Claude discovery once if auth is still unknown. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Tyler Fletcher <fletchertyler914@yahoo.com>
fletchertyler914
force-pushed
the
fix/claude-auth-status-probe
branch
from
July 24, 2026 23:56
805b387 to
8b1a774
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
authsubcommand, so Buzz’sclaude auth statusprobe is treated as a free-form prompt, times out, and leaves onboarding Next disabled with “Status unavailable.”loggedIn(instead of bare exit status), surface an actionable update diagnostic, and repair outdated CLIs viaclaude updateduring Install / UPDATE CLI.Test plan
cargo test --manifest-path desktop/src-tauri/Cargo.toml cli_probecargo test --manifest-path desktop/src-tauri/Cargo.toml cli_login_cargo clippy --manifest-path desktop/src-tauri/Cargo.toml --all-targets -- -D warningscd desktop && pnpm check(incl. file-size guard)authin--help), open onboarding → Claude shows Status unavailable + UPDATE CLI → install runsclaude update→ READY → Next enabledclaude auth statusJSONloggedIn: true) still shows READYMade with Cursor