fix(claude): last-good CLI parse + probe session reuse (0.45 port)#216
Merged
Conversation
|
This repository allows each user to open at most 4 pull requests per 7 days. Closing this automatically. |
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
Port stack PR B (upstream 0.45 Claude resilience).
Last-good CLI usage (upstream steipete#2247)
Extend existing Claude last-good cache preservation so CLI parse failures, rate limits, and timeouts keep the previous good tray snapshot instead of flashing empty/error. Hard auth loss (credentials missing / not installed) still clears stale data. Transient unauthorized still only preserves once.
Probe session reuse (upstream steipete#2263)
Claude
/usagePTY probes now:.codexbar-session-idunder the probe working directory--session-id+--allowed-tools ""so refreshes do not create a new empty Claude account session every time*.jsonlin the probe dir before launch (create-only session-id behavior)Read-only inspect of steipete/CodexBar; no upstream edits.
Test plan
cargo test --manifest-path rust/Cargo.toml --lib probe_sessioncargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml claude_No packaging / version bump.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.