Allow re-authentication or API key entry after reaching plan limits
Open 💬 3 comments Opened Sep 9, 2025 by 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗