Thibault Sottiaux
c93e77b68b
feat: update default ( #4076 )
...
Changes:
- Default model and docs now use gpt-5-codex.
- Disables the GPT-5 Codex NUX by default.
- Keeps presets available for API key users.
2025-09-22 20:10:52 -07:00
Jeremy Rose
4e0550b995
fix codex resume message at end of session ( #3957 )
...
This was only being printed when running the codex-tui executable
directly, not via the codex-cli wrapper.
2025-09-22 22:24:31 +00:00
Jeremy Rose
f54a49157b
Fix pager overlay clear between pages ( #3952 )
...
should fix characters sometimes hanging around while scrolling the
transcript.
2025-09-22 15:12:29 -07:00
Ahmed Ibrahim
dd56750612
Change headers and struct of rate limits ( #4060 )
2025-09-22 21:06:20 +00:00
dedrisian-oai
8bc73a2bfd
Fix branch mode prompt for /review ( #4061 )
...
Updates `/review` branch mode to review against a branch's upstream.
2025-09-22 12:34:08 -07:00
jif-oai
be366a31ab
chore: clippy on redundant closure ( #4058 )
...
Add redundant closure clippy rules and let Codex fix it by minimising
FQP
2025-09-22 19:30:16 +00:00
Ahmed Ibrahim
c75920a071
Change limits warning copy ( #4059 )
2025-09-22 18:52:45 +00:00
dedrisian-oai
8daba53808
feat: Add view stack to BottomPane ( #4026 )
...
Adds a "View Stack" to the bottom pane to allow for pushing/popping
bottom panels.
`esc` will go back instead of dismissing.
Benefit: We retain the "selection state" of a parent panel (e.g. the
review panel).
2025-09-22 11:29:39 -07:00
Ahmed Ibrahim
d2940bd4c3
Remove /limits after moving to /status ( #4055 )
...
Moved to /status #4053
2025-09-22 18:23:05 +00:00
friel-openai
76a9b11678
Tui: fix backtracking ( #4020 )
...
Backtracking multiple times could drop earlier turns. We now derive the
active user-turn positions from the transcript on demand (keying off the
latest session header) instead of caching state. This keeps the replayed
context intact during repeated edits and adds a regression test.
2025-09-22 11:16:25 -07:00
Jeremy Rose
fa80bbb587
simplify StreamController ( #3928 )
...
no intended functional change, just simplifying the code.
2025-09-22 11:14:04 -07:00
Ahmed Ibrahim
434eb4fd49
Add limits to /status ( #4053 )
...
Add limits to status
<img width="579" height="430" alt="image"
src="https://github.com/user-attachments/assets/d3794d92-ffca-47be-8011-b4452223cc89 "
/>
2025-09-22 18:13:34 +00:00
jif-oai
e258ca61b4
chore: more clippy rules 2 ( #4057 )
...
The only file to watch is the cargo.toml
All the others come from just fix + a few manual small fix
The set of rules have been taken from the list of clippy rules
arbitrarily while trying to optimise the learning and style of the code
while limiting the loss of productivity
2025-09-22 17:16:02 +00:00
dedrisian-oai
5996ee0e5f
feat: Add more /review options ( #3961 )
...
Adds the following options:
1. Review current changes
2. Review a specific commit
3. Review against a base branch (PR style)
4. Custom instructions
<img width="487" height="330" alt="Screenshot 2025-09-20 at 2 11 36 PM"
src="https://github.com/user-attachments/assets/edb0aaa5-5747-47fa-881f-cc4c4f7fe8bc "
/>
---
\+ Adds the following UI helpers:
1. Makes list selection searchable
2. Adds navigation to the bottom pane, so you could add a stack of
popups
3. Basic custom prompt view
2025-09-21 20:18:35 -07:00
Ahmed Ibrahim
a4ebd069e5
Tui: Rate limits ( #3977 )
...
### /limits: show rate limits graph
<img width="442" height="287" alt="image"
src="https://github.com/user-attachments/assets/3e29a241-a4b0-4df8-bf71-43dc4dd805ca "
/>
### Warning on close to rate limits:
<img width="507" height="96" alt="image"
src="https://github.com/user-attachments/assets/732a958b-d240-4a89-8289-caa92de83537 "
/>
Based on #3965
2025-09-21 10:20:49 -07:00
Jeremy Rose
42d335deb8
Cache keyboard enhancement detection before event streams ( #3950 )
...
Hopefully fixes incorrectly showing ^J instead of Shift+Enter in the key
hints occasionally.
2025-09-19 21:38:36 +00:00
Jeremy Rose
ad0c2b4db3
don't clear screen on startup ( #3925 )
2025-09-19 14:22:58 -07:00
Jeremy Rose
ff389dc52f
fix alignment in slash command popup ( #3937 )
2025-09-19 19:08:04 +00:00
dedrisian-oai
62258df92f
feat: /review ( #3774 )
...
Adds `/review` action in TUI
<img width="637" height="370" alt="Screenshot 2025-09-17 at 12 41 19 AM"
src="https://github.com/user-attachments/assets/b1979a6e-844a-4b97-ab20-107c185aec1d "
/>
2025-09-18 14:14:16 -07:00
Jeremy Rose
b34e906396
Reland "refactor transcript view to handle HistoryCells" ( #3753 )
...
Reland of #3538
2025-09-18 20:55:53 +00:00
Jeremy Rose
84a0ba9bf5
hint for codex resume on tui exit ( #3757 )
...
<img width="931" height="438" alt="Screenshot 2025-09-16 at 4 25 19 PM"
src="https://github.com/user-attachments/assets/ccfb8df1-feaf-45b4-8f7f-56100de916d5 "
/>
2025-09-18 09:28:32 -07:00
jif-oai
1b3c8b8e94
Unify animations ( #3729 )
...
Unify the animation in a single code and add the CTRL + . in the
onboarding
2025-09-18 16:27:15 +01:00
Jeremy Rose
530382db05
Use agent reply text in turn notifications ( #3756 )
...
Instead of "Agent turn complete", turn-complete notifications now
include the first handful of chars from the agent's final message.
2025-09-17 11:23:46 -07:00
Jeremy Rose
b8d2b1a576
restyle thinking outputs ( #3755 )
...
<img width="1205" height="930" alt="Screenshot 2025-09-16 at 2 23 18 PM"
src="https://github.com/user-attachments/assets/bb2494f1-dd59-4bc9-9c4e-740605c999fd "
/>
2025-09-16 16:42:43 -07:00
easong-openai
45bccd36b0
fix permissions alignment
2025-09-15 17:34:04 -07:00
Jeremy Rose
0560079c41
notifications on approvals and turn end ( #3329 )
...
uses OSC 9 to notify when a turn ends or approval is required. won't
work in vs code or terminal.app but iterm2/kitty/wezterm supports it :)
2025-09-15 10:22:02 -07:00
Michael Bolin
0de154194d
fix: change MIN_ANIMATION_HEIGHT so show_animation is calculated correctly ( #3656 )
...
Reported height was `20` instead of `21`, so `area.height >=
MIN_ANIMATION_HEIGHT` was `false` and therefore `show_animation` was
`false`, so the animation never displayed.
2025-09-15 10:02:53 -07:00
ae
5c583fe89b
feat: tweak onboarding strings ( #3650 )
2025-09-15 08:49:37 -07:00
easong-openai
cf63cbf153
fix stray login url characters persisting in login ( #3639 )
...
<img width="885" height="177" alt="image"
src="https://github.com/user-attachments/assets/d396e0a5-f303-494f-bab1-f7af57b88a3e "
/>
Fixes this.
2025-09-15 15:44:53 +00:00
Thibault Sottiaux
934d728946
feat: skip animations on small terminals ( #3647 )
...
Changes:
- skip the welcome animation when the terminal area is below 60x21
- skip the model upgrade animation when the terminal area is below 60x24
to avoid clipping
---------
Co-authored-by: Michael Bolin <mbolin@openai.com >
2025-09-15 08:30:32 -07:00
Michael Bolin
f037b2fd56
chore: rename ( #3648 )
2025-09-15 08:17:13 -07:00
ae
9baa5c33da
feat: update splash ( #3631 )
...
- Update splash styling.
- Add center truncation for long paths.
(Uses new `center_truncate_path` utility.)
- Update the suggested commands.
## New splash
<img width="560" height="326" alt="image"
src="https://github.com/user-attachments/assets/b80d7075-f376-4019-a464-b96a78b0676d "
/>
## Example with truncation:
<img width="524" height="317" alt="image"
src="https://github.com/user-attachments/assets/b023c5cc-0bf0-4d21-9b98-bfea85546eda "
/>
2025-09-15 06:44:40 -07:00
Ed Bayes
b9af1d2b16
Login flow polish ( #3632 )
...
# Description
- Update sign in flow
# Tests
- Passes CI
---------
Co-authored-by: Michael Bolin <mbolin@openai.com >
2025-09-15 00:42:53 -07:00
Ahmed Ibrahim
2d52e3b40a
Fix codex resume so flags (cd, model, search, etc.) still work ( #3625 )
...
Bug: now we can add flags/config values only before resume.
`codex -m gpt-5 resume` works
However, `codex resume -m gpt-5` should also work.
This PR is following this
[approach](https://stackoverflow.com/questions/76408952/rust-clap-re-use-same-arguments-in-different-subcommand )
in doing so.
I didn't convert those flags to global because we have `codex login`
that shouldn't expect them.
2025-09-15 06:16:17 +00:00
Thibault Sottiaux
6039f8a126
feat: tighten preset filter, tame storage load logs, enable rollout prompt by default ( #3628 )
...
Summary
- common: use exact equality for Swiftfox exclusion to avoid hiding
future slugs that merely contain the substring
- core: treat missing internal_storage.json as expected (debug), warn
only on real IO/parse errors
- tui: drop DEBUG_HIGH gate; always consider showing rollout prompt, but
suppress under ApiKey auth mode
2025-09-14 23:05:41 -07:00
Ed Bayes
839b2ae7cf
Change animation frames ( #3627 )
...
## Description
- Changes animation frames to be smaller
- Cleans up file names and popup logic
## tests
- Passes local CI
2025-09-15 04:36:34 +00:00
Thibault Sottiaux
d7d9d96d6c
feat: add reasoning level to header ( #3622 )
2025-09-15 03:59:22 +00:00
Ahmed Ibrahim
26f1246a89
Revert "refactor transcript view to handle HistoryCells" ( #3614 )
...
Reverts openai/codex#3538
It panics on forking first message. It also calculates the index in a
wrong way.
2025-09-15 03:39:36 +00:00
Ahmed Ibrahim
6581da9b57
Show the header when resuming a conversation ( #3615 )
2025-09-15 03:31:08 +00:00
Ahmed Ibrahim
2ad6a37192
Don't show the model for apikey ( #3607 )
2025-09-15 01:32:18 +00:00
Fouad Matin
1823906215
fix(tui): update full-auto to default preset ( #3608 )
...
Update `--full-auto` to use default preset
2025-09-14 18:14:11 -07:00
Ahmed Ibrahim
ce984b2c71
Add session header to chat widget ( #3592 )
...
<img width="570" height="332" alt="image"
src="https://github.com/user-attachments/assets/ca6dfcb0-f3a1-4b3e-978d-4f844ba77527 "
/>
2025-09-14 17:53:50 -07:00
pakrym-oai
c47febf221
Append full raw reasoning event text ( #3605 )
...
We don't emit correct delta events and only get full reasoning back.
Append it to history.
2025-09-14 17:50:06 -07:00
jimmyfraiture2
76c37c5493
feat: UI animation ( #3590 )
...
Add NUX animation
---------
Co-authored-by: Thibault Sottiaux <tibo@openai.com >
2025-09-14 17:42:17 -07:00
Ahmed Ibrahim
a30e5e40ee
enable-resume ( #3537 )
...
Adding the ability to resume conversations.
we have one verb `resume`.
Behavior:
`tui`:
`codex resume`: opens session picker
`codex resume --last`: continue last message
`codex resume <session id>`: continue conversation with `session id`
`exec`:
`codex resume --last`: continue last conversation
`codex resume <session id>`: continue conversation with `session id`
Implementation:
- I added a function to find the path in `~/.codex/sessions/` with a
`UUID`. This is helpful in resuming with session id.
- Added the above mentioned flags
- Added lots of testing
2025-09-14 19:33:19 -04:00
jimmyfraiture2
99e1d33bd1
feat: update model save ( #3589 )
...
Edit model save to save by default as global or on the profile depending
on the session
2025-09-14 16:25:43 -07:00
pakrym-oai
51f88fd04a
Fix swiftfox model selector ( #3598 )
...
The model shouldn't be saved with a suffix. The effort is a separate
field.
2025-09-14 23:12:21 +00:00
Ahmed Ibrahim
7e1543f5d8
Align user history message prefix width ( #3467 )
...
<img width="798" height="340" alt="image"
src="https://github.com/user-attachments/assets/fdd63f40-9c94-4e3a-bce5-2d2f333a384f "
/>
2025-09-14 20:51:08 +00:00
Ahmed Ibrahim
d701eb32d7
Gate model upgrade prompt behind ChatGPT auth ( #3586 )
...
- refresh the login_state after onboarding.
- should be on chatgpt for upgrade
2025-09-14 13:08:24 -07:00
Michael Bolin
9baae77533
chore: update output_lines() to take a struct instead of a sequence of bools ( #3591 )
...
I found the boolean literals hard to follow.
2025-09-14 13:07:38 -07:00