Skip to content

CLI should show status outside session #4493

@Glaysia

Description

@Glaysia

What feature would you like to see?

  • slash command /status works only inside a TUI session.
  • Outside a session, codex login status just says “Logged in using ChatGPT” with no model/approval/sandbox/session id.
  • Please add cli option to print the same metadata as the TUI, without opening a session or using PuTTY.

$ codex login status
Logged in using ChatGPT
<< this is so less information

I just want to see next information in bash
/status

╭──────────────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.42.0) │
│ │
│ Model: gpt-5-codex (reasoning high, summaries auto) │
│ Directory: ~/Documents/b3 │
│ Approval: on-request │
│ Sandbox: workspace-write │
│ Agents.md: │
│ Account: __@gmail.com (Pro) │
│ Session: 01999a57-9ae0-7721-8c84-ad0e2e85f70X │
│ │
│ Token usage: 0 total (0 input + 0 output) │
│ Limits: send a message to load usage data │
╰──────────────────────────────────────────────────────────────╯

Are you interested in implementing this feature?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions