add an option to disable “Ran N commands” collapsing and always show executed commands
已打开 10:13AM - 21 Aug 26 UTC
bug
enhancement
TUI
CLI
config
### What version of Codex CLI is running?
codex-cli 0.149.0
### What subscript…ion do you have?
Pro 20x
### Which model were you using?
gpt-5.6-sol max
### What platform is your computer?
Linux
### What terminal emulator and version are you using (if applicable)?
screen
### Codex doctor report
```json
```
### What issue are you seeing?
Codex CLI 0.149.0 introduced automatic grouping of consecutive successful agent and unified-exec commands into:
• Ran N commands · ctrl + t to view transcript
This behavior was introduced by commit 1f41cc5d92722748e45cae9cecc6d883a4e7cbb1 / PR #38921.
There does not appear to be a configuration option or feature flag to disable the grouping. Users must press Ctrl+T repeatedly to see which commands Codex executed.
### Why this is a problem
For workflows involving production systems, source control, package installation, or destructive commands, continuously seeing the exact commands is important for:
- auditing agent activity as it happens;
- noticing incorrect paths, options, or environment variables;
- distinguishing commands that were described by the agent from commands actually executed;
- reviewing long-running validation workflows without repeatedly opening a separate transcript view;
- maintaining trust and transparency during agent operation.
The compact presentation is useful for users who prefer less output, but making it mandatory removes important visibility from users who deliberately monitor every command.
### Steps to reproduce
1. Install and run Codex CLI 0.149.0.
2. Ask Codex to perform several successful shell commands.
3. Observe that the individual commands are replaced with:
• Ran N commands · ctrl + t to view transcript
4. Search the available configuration and feature flags for a way to retain the previous expanded presentation.
### Actual behavior
Successful agent and unified-exec commands are automatically collapsed. The complete commands are visible only after opening the transcript with Ctrl+T.
There is no supported option to keep commands expanded.
### Expected behavior
Provide a persistent configuration option that restores the pre-0.149.0 presentation and displays every executed command directly in the conversation.
For example:
[tui]
compact_command_activity = false
Possible behavior:
- true: retain the new Ran N commands grouping.
- false: always render individual commands and their normal summaries.
- The selected value should also apply when replaying conversation history.
Ideally, there should also be an interactive toggle or slash command so users can change the presentation without restarting Codex.
### Environment
Codex CLI: 0.149.0
Previous version without the behavior: 0.148.0
Platform: Linux
Interface: interactive terminal TUI
This request is not asking for command grouping to be removed. It is asking for the new presentation to be optional so users who require continuous command visibility can retain it.
### What steps can reproduce the bug?
make 0.149.0 execute consecutive commands
### What is the expected behavior?
not group consecutive commands and collapse them
### Additional information
_No response_