Skip to content

Allow re-authentication or API key entry after reaching plan limits #3366

@dpolivaev

Description

@dpolivaev

What feature would you like to see?

When the CLI session reaches plan limits (e.g. 5-hour or 7-day cap), it should not terminate completely. Instead, it should allow:

  • Entering a new API key, or
  • Logging in with a different account, without losing the current session context.

The /logout command should also not act like quit. Instead, it should return to a state where I can provide new credentials and continue in the same session.

Are you interested in implementing this feature?

No response

Additional information

Currently, hitting plan limits stops the CLI entirely, leaving code edits unfinished.
This is disruptive, especially when Codex has partially modified code and the process stops mid-flow, leaving files inconsistent.
Supporting credential re-entry within the same session would make the tool more resilient and usable in real workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions