Repository navigation
feat(tui): open a tool call in place with every row, and drop the inspector pane - #550
Conversation
…pector pane A click on a tool row, or Enter on the block cursor, opens the call where it is: every row the client holds, wrapped instead of cut, scrolling with the transcript. Cuts made by the server read '⋯ N lines omitted'. Long bodies end in a fold row. A click on a turn receipt opens receipts, and a click on an agent lane focuses it. A lane waiting on approval names the command, file or host. Removes the inspector, Alt-I, the 8-row window and in-call PgUp/PgDn.
f93bc83 to
6fdf467
Compare
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fdf4677cf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…er diff text, and flag dropped live output - Repeat the command when the header actually cut it, using the same subject budget as the summary row (exit and duration included). - Size the diff gutter from the widest line number, so line 10000+ wraps without losing characters. - The client records when the live buffer drops its head. The notice no longer infers truncation from the buffer's length, which a UTF-8 boundary cut can leave under 4 KiB.
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Change
Open a tool call in place. Click a tool row, or select it and press
Enter, and the whole call opens under its row: every line the client holds, wrapped to the column instead of cut off, scrolling with the transcript. There is no side pane and no full-screen view.… N more linescap.$ commandwhen the header had to shorten the command.Cuts are named. Where the server bounded a result for the model, the open body says
⋯ 312 lines omitted · stored for read_tool_result(or· not stored) instead of skipping it silently. A running command whose 4 KiB live buffer dropped its head says so.Fold from either end. A body of 12 rows or more ends in
╰ Read src/lib.rs · click or Enter folds. Clicks on output rows still select text.Several sessions at once.
wants to run rm -rf build,wants to edit crates/…,wants to fetch docs.rs). It falls back towants to run a commandwhile no preview has arrived.Removed:
│ INSPECTORpane andAlt-I1–8 of 40 · PgUp PgDnwindowLayoutDemandandtool_scroll/tool_window/attentionand/changesalways take the main pane.Updated docs:
docs/guide/tui.md,docs/design/layout.md,docs/design/transcript.md. Design-review item 3 indocs/plans/0.1.11.mdis marked resolved, and the changelog drops the inspector regression.Loading the omitted lines from the stored spill needs a protocol route, so it is ENG-1146 for v0.1.12.
Verification
clicking_a_tool_row_opens_every_line_in_place_and_clicking_again_folds_itclicking_a_folded_receipt_opens_the_turn_and_alt_i_is_unboundclicking_an_agent_lane_focuses_that_agentan_open_result_names_what_qq_cut_and_an_open_edit_shows_its_whole_diffan_open_result_shows_every_row_and_arguments_wholeopening_a_tool_row_reveals_it_and_page_keys_scroll_the_transcripta_lane_waiting_on_approval_names_the_command_it_wants_to_runan_open_call_shows_its_whole_output_and_folding_it_returns_the_answertools-expanded-*: all rows plus the fold row; no inspector at 200+.approval-{200,320,480}: the rail names the file being edited.cargo xtask checkpassed.Known impact
tool_calls_32_expanded_frame: 28.2 → 35.3 µs. It now draws all 20 rows of each read instead of an 8-row window. Other tool scenes are unchanged: rows 21.1 µs, folded 17.2 µs. Thetool_calls_32_expanded_inspectorscene is gone with the inspector.