Skip to content

[Feature]: Auto-resume session on quota exhaustion #486

Closed

Description

@abhaloo

Existing issues

  • I searched existing issues and did not find a duplicate.

Problem or use case

I want to be able to have sessions auto-resume once quotas have been exhausted.

Proposed solution

A checkbox under the respective subscription tab, that would ideally prompt the last session with 'continue' the moment quota is restored.

Affected area

  • Tray panel
  • Settings UI
  • Config file / settings persistence
  • CLI
  • Provider-specific behavior
  • Installer / release packaging
  • Startup / background behavior
  • Documentation
  • Other

Alternatives considered

No response

Visual details

No response

Additional context

Why it's feasible
Both Codex and Claude Code already provide the primitives this feature needs:

Codex CLI returns a structured resets_at timestamp in its UsageLimitReachedError when quota is exhausted, and supports codex resume/codex continue to reload a saved session from its JSONL transcript.

Claude Code has a native /resume [session] command (with a --resume CLI variant under discussion) to reopen a specific saved conversation.

Win-CodexBar is a Tauri + React app backed by shared Rust "provider logic" that already polls usage stats for both tools without requiring login, meaning it already has the account/provider abstraction layer needed to watch quota state.

What Win-CodexBar would need to add
A background timer/poller that watches the existing usage-stat data it already collects, and fires once quota resets (Codex even exposes the exact reset time, so this could be precise rather than polled).

Activity

  1. added
    enhancement
    on Sep 13, 2026
  2. abhaloo commented on Sep 13, 2026

    @abhaloo
    Author

    I would be able to add this. Please let me know if my contribution is possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions