Skip to content

Commit 3266af6

Browse files
Release Open Codex 0.131.5
Add renamed-session identity in the chat composer and replace picker-style resume hints with direct resume commands. Quit summaries now mention the renamed session while still using stable thread-id resume commands. Tests: - cargo test -p codex-utils-cli resume_hint_uses_id_directly_even_when_name_exists - cargo test -p codex-tui renamed_thread_footer_title_snapshot - cargo test -p codex-tui live_app_server_thread_name_update_shows_resume_hint - cargo test -p codex-tui session_summary_names_picker_item_when_thread_has_name - cargo test -p codex-cli format_exit_messages_names_picker_item_when_thread_has_name - cargo test -p codex-cli format_exit_messages_includes_resume_hint_without_color - cargo build --profile release-fast -p codex-cli --bin codex Co-authored-by: Open Codex <hff582580@gmail.com>
1 parent 8359582 commit 3266af6

14 files changed

Lines changed: 240 additions & 151 deletions

FEATURES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Fast-moving prompt packs, hooks, setup flows, and project policies are better ha
5151
| Feature | User-facing behavior | Main entry points | Notes |
5252
| --- | --- | --- | --- |
5353
| `/export` | Export the current session transcript to a user-chosen `.md` or `.txt` path. | `/export <path>` | Useful for debugging, archival, and sharing. |
54+
| Renamed session identity | Renamed sessions show `Session: <name>` in the chat composer and use the name in quit guidance while keeping resume commands direct. | `/rename`, chat composer, quit summary | Resume hints use `open-codex resume <thread-id>` / `open-codex-dev resume <thread-id>` instead of picker wording. |
5455
| Claude Code-style rewind UX | Double-Esc rewind supports code + conversation restore and a cleaner picker. | Double-Esc backtrack flow | Recent fixes tightened session scoping and ordering. |
5556
| Revoke restore scope fix | Conversation-only restore no longer rolls back files. | Revoke/rewind restore logic | Fixed by `b6f62e4867`. |
5657
| Esc interrupt routing | Single Esc interrupt and double-Esc rewind detection both work without blocking each other. | Composer key handling | Fixed by `0d20c120d8`. |
@@ -92,6 +93,14 @@ Fast-moving prompt packs, hooks, setup flows, and project policies are better ha
9293

9394
## Release Notes
9495

96+
### 0.131.5 - 2026-05-21
97+
98+
- Show renamed session identity directly in the chat composer border with a `Session: <name>` marker.
99+
- Update live `/rename` feedback to use direct resume commands such as `open-codex resume <thread-id>` instead of `resume, then select <name> (<thread-id>)`.
100+
- Update quit summaries so renamed sessions say `To continue <name>, run open-codex resume <thread-id>` while unnamed sessions keep `this session`.
101+
- Keep fork-specific launcher names through `CODEX_RESUME_COMMAND_NAME`, so local dev installs can show `open-codex-dev resume <thread-id>`.
102+
- Add snapshot and focused CLI/TUI regression coverage for renamed-session display and resume hint formatting.
103+
95104
### 0.131.4 - 2026-05-21
96105

97106
- Fix Zellij pane scroll compatibility by disabling xterm alternate-scroll mode when Open Codex detects `ZELLIJ`, `ZELLIJ_SESSION_NAME`, or `ZELLIJ_VERSION`.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ From recent fork-specific changes:
119119
- adds `/export <path>` for the current session transcript
120120
- supports user-chosen filenames like `/export talk.md` or `/export talk.txt`
121121
- writes a markdown transcript suitable for debugging, archival, and sharing
122+
- shows renamed session identity in the chat composer as `Session: <name>`, so long-lived or resumed sessions remain visually anchored
123+
- keeps resume guidance direct after rename and quit: `open-codex resume <thread-id>` or `open-codex-dev resume <thread-id>`, rather than asking users to open a picker and select a named session
122124

123125
This brings a Claude Code-style export flow into the TUI without requiring external scripts or manual transcript scraping.
124126

@@ -421,6 +423,8 @@ Codex CLI 是开源的,但上游仓库当前对外部代码贡献采用 invita
421423
- 为当前 session 增加 `/export <path>`
422424
- 支持用户自定义文件名,例如 `/export talk.md``/export talk.txt`
423425
- 导出 markdown transcript,便于调试、归档和分享
426+
- rename 后的 session 会在聊天输入框显示 `Session: <name>`,让长会话或 resume 后的会话身份更清楚
427+
- rename 和 quit 后的 resume 提示保持直接命令:`open-codex resume <thread-id>``open-codex-dev resume <thread-id>`,不再要求用户先打开 picker 再选择命名会话
424428

425429
这让类似 Claude Code 的会话导出能力直接进入 TUI,而不需要额外脚本或手工抓 transcript。
426430

codex-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leonw24/open-codex",
3-
"version": "0.131.4",
3+
"version": "0.131.5",
44
"license": "Apache-2.0",
55
"bin": {
66
"open-codex": "bin/codex.js"

0 commit comments

Comments
 (0)