Skip to content

Feature request: add setting to control command/tool output folding #19260

Open

Description

@Hutai

What feature would you like to see?

Add a Codex Desktop setting to control command/tool output folding.

Requested behavior:

  • Add a global preference such as “Always expand command/tool outputs”.
  • Optionally remember the user’s last expand/collapse choice per conversation.
  • Keep the existing per-block expand/collapse controls.

Why is this useful?

For coding workflows, shell/tool output is often the primary evidence for debugging, tests, and CI analysis. When execution blocks are collapsed by default, users need to manually expand many commands during long debugging sessions, which adds repetitive friction and makes agent execution harder to follow.

Additional context

This request is specifically for Codex Desktop command/tool execution blocks, not code diff folding.

Activity

  1. added
    enhancement
    app
    on Apr 24, 2026
  2. github-actions commented on Apr 24, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. Hutai commented on Apr 24, 2026

    @Hutai
    Author

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

    Thanks for the duplicate check. These issues are related, but I think this request is slightly different.

    #18508 / #18396 focus more on hiding or collapsing verbose tool-trace rows, while this issue is specifically asking for a Codex Desktop preference to control command/tool output folding, including an "always expand command/tool outputs" option and/or remembering the user's expand/collapse choice.

    The motivation is debugging/test workflows where command output is the main evidence, and repeatedly expanding every command block adds friction. Related CLI-side request: #4550, but this one is Desktop-specific.

  4. andras-gyarmati commented on May 5, 2026

    @andras-gyarmati

    yes please like verbose mode in claude code

  5. MohammedSiddiqui commented on Jun 1, 2026

    @MohammedSiddiqui

    +1 from a macOS Codex Desktop power-user workflow.

    This is the main thing that keeps the app from feeling like a practical replacement for the CLI for me. In the CLI, I can supervise the work live because shell commands, tool calls, and their output are visible as Codex runs. In the Desktop app, those details are hidden behind small expand controls, and I often have to expand repeatedly within a single session, sometimes even for one tool/action flow.

    The important part is not just final-summary detail. I want a durable inspection preference such as:

    • always expand command/tool calls and stdout/stderr by default
    • remember my expand/collapse choice per thread/session
    • keep the current clean collapsed UI for users who prefer it

    This matters for active supervision: tests, builds, linters, debugging output, browser/tool captures, and command failures are the evidence I use to decide whether Codex is headed in the right direction. Waiting until the final answer makes it much harder to steer long-running coding work.

    Related desktop visibility issues show the same underlying need from slightly different angles: #16415 and #19891.

  6. BJDubb commented on Jul 17, 2026

    @BJDubb

    I found myself getting the same headaches from this. In my opinion claude code handles this correctly and its annoying that OpenAI still havent added such a simple feature.

    I made an unofficial open-source workaround that adds two Appearance preferences:

    • Expand tool output
    • Show full shell commands

    https://github.com/BJDubb/codex-full-output

    The project installs a separate patched copy and leaves the Microsoft Store installation untouched. It is currently Windows-only and tested against the versions documented in the repository.
    I’d still prefer these controls to be supported natively but I’m sharing the workaround here for anyone affected in the meantime.

  7. wuyak commented on Aug 9, 2026

    @wuyak
    Image Image

    This is still a major problem in Codex Desktop for macOS 26.803.41515 (6321), and the current UI now has two levels of disclosure.

    Tool activity is first collapsed into a one-line aggregate summary such as “loaded tools / ran commands / searched the web”. Expanding that summary only reveals truncated one-line command rows. Each row must then be opened again to inspect stdout/stderr in a smaller secondary panel.

    This makes long debugging and audit-heavy sessions extremely difficult to review while scrolling through the thread. The problem is therefore not only that output is collapsed by default: it is nested collapse, forced one-line truncation, and a reduced output surface.

    Please add a persistent Classic / Inspection mode that:

    • shows command invocations directly in the chronological transcript;
    • shows stdout/stderr inline in a normal full-width code block;
    • keeps tool and command output expanded by default;
    • remembers the preference globally or per thread;
    • may cap very large outputs with an inline scroll area, but does not reduce every command to one line.

    The clean compact mode can remain available, but power users need an opt-out from the nested, TLDR-style presentation. The existing “Steps with code output” level does not restore the previous inspectable command display.

    Related: #16415 and #19891.

  8. kumestra commented on Nov 9, 2026

    @kumestra

    I strongly support this feature request.

    My environment is Codex Desktop on Windows, connected over SSH to a remote Ubuntu machine. Previously, I used Codex CLI inside tmux over SSH.

    With the CLI, I could easily follow the agent's execution, including shell commands, tool calls, arguments, and command output. After switching to the desktop app, the experience is more streamlined, but much of this operational visibility is lost or hidden behind collapsed UI elements.

    I think this distinction is especially important for Codex. Unlike general-purpose document workflows, where users may only care about the final result, developers often need to inspect how the agent arrived at that result.

    For example, I want to know exactly which tests were executed, what Bash commands and parameters were used, which files were modified, and whether any unexpected operations occurred.

    I would love to see two independent settings:

    1. Show detailed tool activity: Display full tool calls, command arguments, stdout/stderr, exit codes, and file operations.
    2. Auto-expand execution details: Keep these records expanded by default, preferably in chronological order while the agent is working.

    Ideally, these would be accessible directly from the desktop Settings UI, without manually editing config.toml.

    A configurable Verbose / Inspection mode would preserve the clean interface for users who prefer concise output while giving developers the execution transparency they need for debugging, auditing, and supervising autonomous agents.

    This would make the transition from Codex CLI to Codex Desktop much more compelling for experienced developers.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions