Skip to content

feat: session names - #4741

Closed
zippoxer wants to merge 1 commit into
openai:mainfrom
zippoxer:feat/session-name
Closed

zippoxer wants to merge 1 commit into
openai:mainfrom
zippoxer:feat/session-name

Conversation

@zippoxer

@zippoxer zippoxer commented Oct 4, 2025 •

Copy link
Copy Markdown

Name your session so you can recognize it in the chat UI, and later with codex resume.

This is what I needed for terminal pane-splitting, otherwise I never remember which pane does what!

image

Ideally, the model should be the first to name the sessions as it does in ChatGPT, however I think this is for OpenAI to do.

What

  • Add session names to the TUI: rename (Ctrl+R, /rename), footer label, and “resume” prefix.
  • Persist names across runs.

How

  • Store name in a per‑rollout sidecar (*.jsonl.name); write on rename, read on
    SessionConfigured.
  • Cache display names in resume rows (no render‑time IO).
  • Modal matches existing styling; caret aligned; Ctrl+R shown in shortcuts overlay.

Screenshots

image image image

If there's interest in this feature, I'm willing to refactor and improve the PR.

- Ctrl+R and /rename open a single-line modal styled like existing popups
- Footer shows right-aligned cyan session name with safe truncation
- Persist name via per-rollout sidecar (*.jsonl.name); write on rename
- Load name on SessionConfigured so footer/prefill work on resume
- Resume picker prefixes cached display name (no IO in render loop)
- Fix caret alignment + remove stray background; match modal padding/indent
- Add Ctrl+R hint to shortcut overlay

Includes fmt/clippy fixes and tests passing for codex-tui
@tamird

tamird commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

FYI #4974 and #4978.

@etraut-openai

Copy link
Copy Markdown
Contributor

Thanks for the contribution, and apologies for the slow response. We've received many PRs, and we don't have the bandwidth on the codex team to review all of them.

We've updated our contribution guidelines to clarify that we're currently accepting contributions for bugs and security fixes, but we're not generally accepting new features at this time. We need to make sure that all new features compose well with both existing and upcoming features and fit into our roadmap. If you would like to propose a new feature, please file or upvote an enhancement request in the issue tracker. We will generally prioritize new features based on community feedback.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 31, 2025
@openai openai unlocked this conversation Oct 31, 2025
@neonVoice

Copy link
Copy Markdown

Where can I find issue tracker? I want to upvote this feature

@etraut-openai

Copy link
Copy Markdown
Contributor

@neonVoice, here's the feature request. Please add a "thumbs up" reaction if you'd like to see this implemented.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants