Repository navigation
Conversation
Complete browser-neutral Claude login through native stdin. Bind callback and state to the pending flow; keep secrets out of storage.
|
Hi @ege-arhan! Thank you for the massive effort and for all your previous contributions (#1, #2, #3) to the recovery branch! I reviewed the PR in detail. There is a lot of great engineering here (especially the Codex recovery hardening, single-flight lock, However, we cannot merge this combined PR directly into How to get your work into upstream effectivelyTo give your features the best chance of landing in
In our fork ( |
|
Thanks for the detailed review and for the earlier recovery collaboration. I have split this combined contribution as suggested:
The new branches have no Closing this combined PR as superseded by those focused contributions. Recovery #5 is the replacement to review for this fork/branch. |
Summary
Builds on
feature/auto-session-recoveryand the merged recovery contributions.Add native Claude Code account import/login, quota cards and a visible auto-switch toggle. Credentials remain isolated in native storage; projects, settings and skills are shared.
Resume managed Claude Code terminals after rate-limit failures only on accounts with fresh verified quota across all reported windows. Renew expiring credentials through the installed CLI.
Add manual macOS Claude Desktop profile switching with graceful shutdown, identity matching, same-volume moves, journal recovery and overwrite protection. Code and Desktop sign-ins remain separate.
Reuse Codex usage bars in a separate Claude-colored section. Open managed Code terminals directly; keep optional project selection as a separate remembered preference.
Add persistent Turkish/English selection in Settings and the settings menu. Translate product UI, date/number/usage formatting, notifications, native app menus and tray controls. Provider diagnostics and release-note bodies retain their original text.
Replace the Safari-specific action with browser-neutral open/copy links and manual completion from a final callback URL or complete
code#state. Validate against the pending flow and original redirect URI; pass it to native CLI stdin, never log or persist it. Success still requires native exit and account identity verification.Add manual and automatic Claude warm-up using one minimal Haiku request, no tools/MCP/hooks/session persistence. Skip active/exhausted/unknown windows; serialize requests and back off after failures.
Harden Codex recovery with single-flight checks, bounded lookups, backoff, error-time cascade prevention, launch retries and preferred model/effort handling.
Start recovered Desktop turns through the installed Desktop owner IPC, preserving thread settings and avoiding a competing temporary writer. Report missing-owner or delivery errors without resending an ambiguous start.
Simplify the desktop UI with provider navigation, compact account rows, visible automation and progressive advanced controls. Add seven persistent themes: macOS (default), Windows XP, Windows 7, Terminal, Paper, Nord and Mono; theme selection also synchronizes to the tray.
Naming proposal
Consider AI Account Switcher now that the application manages both Codex and Claude. This is a proposal for maintainer discussion only: this PR preserves the existing application name, bundle identifier, storage paths and update channel.
Verification
Scope and limitations
Follow-up: paid quota policy and Desktop writer ownership
Follow-up: Claude usage HTTP 429
Follow-up: unified provider controls and theme appearances
Follow-up: shared Grok / Cursor Desktop accounts
Follow-up: reliable Claude Desktop restart