Repository navigation
Agent chat: list each tool call under Worked for, and name MCP calls in words - #22658
Conversation
…s read in words Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
… tool ids An opened Worked for no longer folds a run under 'Used tools, ran commands'. Command, read and search groups open by default with their last 5 calls and '+K more'. Edits stay closed. The running line, activity line and permission card name an MCP call by server and action instead of mcp__server__tool; the raw id stays in the tooltip and the opened call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Failures:
Matched log linesNot re-run automatically: Written by red: web / Web status; base red: the same failure on the base df88ff8; does not block
Agents: Tour of |
|
Bead |
|
Visual preview of 643f1b3: in the maintainers' private review feed. |
|
|
…>' with its glyph
Command, read and search groups list flush under their line (no tree guide). Each command row
gets the terminal glyph and the localized 'Ran {command}' around the mono command. Edits keep
the guide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
…off) The app sent codexToolRuns=true, so a running turn still folded each run that text followed into 'Used tools, ran commands' and showed only the newest call of the run in flight. Turn the Debug tunable off by default; it stays available to compare the folded look. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
This comment has been minimized.
This comment has been minimized.
test/tooltip-rules: an element whose text shows carries no title (Leo 2026-10-13). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
…s where it counts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15ba3-d09a-7940-9fd6-158e10477c0e&host=cosmic-gray
|
Found 10 test failures on Blacksmith runners: Failures
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Shipped in:
|
…rst file; adopted tool-calls test follows #22658 (#23011) * test(webviews): adopted tool calls follow #22658's open groups; a two-file patch row names both (red) #22658 stopped folding an ended turn's run under one summary line, so the test no longer clicks "Edited files, ran commands" or the already open commands group. With no diff, the patch-only edit keeps its own row, and that row must not name only its first file. Red on base: it reads "Edit CHANGELOG.md" for an edit of CHANGELOG.md and Cargo.toml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c6d-a1d2-7fc2-9458-92c6bdcb7b4d&host=huge-blue * fix(webviews): an edit of several files keeps its own title instead of naming the first file A lone edit with no diff keeps its own row (#22658 lists each call under Worked for). toolLabel put the action before the edit's first path, so a patch of CHANGELOG.md and Cargo.toml read "Edit CHANGELOG.md". An edit naming more than one path now keeps the harness's title, "Edit 2 files"; an edit of one file still reads "Edit <its path>". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c6d-a1d2-7fc2-9458-92c6bdcb7b4d&host=huge-blue * test(webviews): a bare verb title over several files still names the first file (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c6d-a1d2-7fc2-9458-92c6bdcb7b4d&host=huge-blue * fix(webviews): only a title that says more than its verb replaces the first file's name Review of #23011: a bare "Edit" or "patch" title over two files lost its file name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c6d-a1d2-7fc2-9458-92c6bdcb7b4d&host=huge-blue --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…eading cd (#22994) * test(agent-pane): message cards say how far they got; shell rows drop the leading cd (red) From #20456 (cx-bwbfv), ported onto today's rows. On base a delivered message hides its receipt behind Show more, a sending one has no status line, and a shell row reads "Ran cd ~/wt/lanes/x && ...". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c31-89b3-7d62-8e8c-b116a23ae693&host=cosmic-gray * fix(agent-pane): message cards say how far they got; shell rows drop the leading cd Ported from #20456 (cx-bwbfv, Leo 2026-10-13 transcript row design) onto today's rows, which #22658 and #22761 since rebuilt. - A message to another agent shows one status line with a glyph: Sending…, Sent, or "Delivered to <recipient>" read from the send's receipt, whose id is never shown. The receipt no longer hides behind Show more; anything else the send printed shows when the card is opened. - A shell call's leading `cd <folder> &&` is setup: the row and a group's command lines read without it, the opened Shell block names the folder by its last part (the full prefix in its tooltip), and Find counts the command as the rows draw it. A cd that names no folder (.., ~, -) keeps its prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c31-89b3-7d62-8e8c-b116a23ae693&host=cosmic-gray * gallery(agent-pane): agent messages with their delivery status, and a shell call's folder Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c31-89b3-7d62-8e8c-b116a23ae693&host=cosmic-gray * fix(agent-pane): a shell row hides only a plain cd folder, never code it ran Review of #22994: a cd whose folder holds $(…), backticks or $VAR, a ; step, or a command that is only cd steps keeps its whole text. The folder chip is skipped by Find, and the message receipt is cut at its own line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c31-89b3-7d62-8e8c-b116a23ae693&host=cosmic-gray --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Problem
The cmux NEXT agent chat hid most of a turn's work. When you opened a finished turn's Worked for, the run between two assistant messages was still one line, "Used a tool, read a file, ran commands >". Each "Ran N commands" group was closed too, so seeing any command took two or three clicks. MCP calls showed their raw ids in the running line, for example "··· mcp__cmux-subsessions__start_session 18s".
Change
codexToolRunsis on (foldRun,turns.tscodexRuns).tools.ranCommand) after the terminal glyph.ToolGroupRow.tsxGROUP_TAIL), and Find opens that hidden part when it matches there. Edit groups stay closed because each one opens to a full diff. Your own open/close choices are still remembered per session.agentPane.debug.codexToolRunsnow defaults to off (AgentPaneTunables.swift). The app senttrue, so in nightly a running turn still folded each finished run into "Used tools, ran commands" and showed only the newest call of the run in progress, which is the behavior Leo flagged. The toggle stays available for comparison.tools.mcp.start). Unknown verbs read "Called · ".ToolRowand the permission card no longer showmcp__server__tool. They show "cmux-subsessions · start session sidebar-drag-bugs" or "cmux · list workspaces" (mcpPlainName,mcpTitleName)..cv-mcp-call__name).Not in this PR: the Codex-style bordered sub-step cards, the background-agent status card and the pin footer action. The cmux-subsessions cards are being built by the subsession-visibility lane on top of this PR, as a new
ToolGrouptype, and fall back to these labels.Screenshots (gallery
agent-pane.transcript, before = feat-cmux-next 633c661, after = this branch)Reference: the Codex desktop app's run (public screenshot from openai/codex#37213; that report's rows lost their command text, but the structure is what we match). It shows a "Ran commands ⌄" line, then one row per call: the terminal glyph and "Ran …", flush under the line. After this PR ours lists a group the same way. Each row reads "Ran " with the command in mono, and the exit status and time sit at the right edge.
Finished turn, Worked for opened (
dense-ended-run)Running turn (
dense-live-run)Verification
webviews/test/transcript-density.test.tsx(4 tests) and the updatedTurnRows.test.tsxpass. Commit 1 adds the tests and commit 2 adds the fix.bun testover the transcript, agent-pane, thread and acpmux suites: 23 failures, the same 23 test names fail on base when files share a run. None are new.tsc --noEmitis clean.vp fmtwas applied. The gallery tests (43) pass.tools.moreandtools.mcp.start, in all 21 locales ofacpmux/Localizable.xcstrings. Non-English values are marked needs_review.Agent session: cosmic-gray
🤖 Generated with Claude Code