Skip to content

fix(codex): keep tool arguments and outcomes readable in narrow panes - #1566

Open
Juliusolsson05 wants to merge 2 commits into
mainfrom
fix/codex-readable-narrow-steps
Open

Juliusolsson05 wants to merge 2 commits into
mainfrom
fix/codex-readable-narrow-steps

Conversation

@Juliusolsson05

@Juliusolsson05 Juliusolsson05 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Codex tool arguments in narrow Agent views could disappear along with the end of a tool name or its outcome. A row forced both the tool identity and its trailing status to retain their full width, allowing the argument and its hover target to collapse to zero.

The tool glyph and name now stay together, and the argument and outcome wrap as space requires. A wider pane retains the single-line row. Result data and the exact-output disclosure use their existing presentation.

Verification

  • Real Chromium regression failed before the fix and passed afterwards. In the 175px unpaired example, the argument grew from 0px to 161px. The paired duration stays inside the card. At 340px the original single-line example still gives its argument 108px.
  • Confirmed the exact-output disclosure opens at 175px and displays the complete result. The renderer TypeScript build, 20 existing Codex script-step renderer tests and the test contract passed.

This addresses clipping in populated tool rows. The missing transcript in another lane has a separate investigation.

Fixes #1564

Allow narrow script-step rows to wrap before their argument collapses or a status leaves the card. Verify both the compact and wrapped presentations with actual Chromium layout.
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.

bug(codex): narrow tool rows clip arguments and outcomes

1 participant