Skip to content

feat(workbench): present built-in tool activity - #6840

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/tool-activity-presentation
Nov 12, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/tool-activity-presentation

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Give all 65 built-in tools readable activity titles and tailored details. Chat and Trajectory share the presentation, and original tool data remains available from the expanded row.
  • Put results first, with explicit failures and delivery states. Collapsed rows do not make new Host queries.
  • Use NSH's read-only DiffView for Write when before-text was recorded, Edit replacements, and ApplyPatch hunks. ApplyPatch also identifies files already changed when a batch stops partway through.
  • Localize UI labels and statuses in English, Simplified Chinese, and Traditional Chinese. Recorded text, paths, and commands retain their original wording.

Verification

  • Passed type checking and 14 focused presentation, trajectory, and transcript tests.
  • Passed macOS native desktop tests for SessionSend/SessionWork, nested tool calls, and the checklist. The native gallery exercised production cards and DiffView using synthetic recorded tool sources.
  • Checked 65 built-in titles and 447 sample detail sections against the three real locale dictionaries. Captured Simplified and Traditional Chinese in the macOS renderer.
  • Windows, Linux, and the full test suite were not run.

Screenshots

All 35 screenshots are included below. The 19 gallery frames cover every built-in tool with synthetic payloads. The 14 conversation and trajectory screenshots use the real Host integration fixture. The final two frames show localized samples.

Conversations and models

SessionSend, SessionWork, SessionCreate, SessionHistory

SessionSend, SessionWork, SessionCreate, SessionHistory

ModelList, SessionList, SessionRead, SessionExecution

ModelList, SessionList, SessionRead, SessionExecution

SessionFork, SessionUpdate, SessionChange, SessionStop

SessionFork, SessionUpdate, SessionChange, SessionStop

SessionContinueRun, SessionPendingInteractions, SessionInteraction, SessionRespond

SessionContinueRun, SessionPendingInteractions, SessionInteraction, SessionRespond

SessionQueue, SessionEditQueue

SessionQueue, SessionEditQueue

Workspace, processes and web

Read, ReadImage, Glob, Grep

Read, ReadImage, Glob, Grep

Write, Edit, ApplyPatch, Shell

Write, Edit, ApplyPatch, Shell

ProcessRead, BackgroundTaskHealth, ProcessInput, ProcessStop

ProcessRead, BackgroundTaskHealth, ProcessInput, ProcessStop

WebFetch, WebSearch

WebFetch, WebSearch

Computer use, questions and skills

cua_repl, cua_reset, AskUserQuestion, SkillSearch

cua_repl, cua_reset, AskUserQuestion, SkillSearch

Skill

Skill

Plugins and deployment

PluginReadDeployment, PluginReadUiCatalog, PluginInstances, PluginReadDeploymentDocument

PluginReadDeployment, PluginReadUiCatalog, PluginInstances, PluginReadDeploymentDocument

PluginReadPackage, PluginInstallSource, PluginInstallUrl, PluginEditComposition

PluginReadPackage, PluginInstallSource, PluginInstallUrl, PluginEditComposition

PluginSetEnabled, PluginReadSettings, PluginConfigure, PluginBindingCandidates

PluginSetEnabled, PluginReadSettings, PluginConfigure, PluginBindingCandidates

PluginPackageSettings, PluginReplaceDeployment

PluginPackageSettings, PluginReplaceDeployment

Recall, goals and Code Mode

Recall, RecallMore, RecallMaterial, CreateGoal

Recall, RecallMore, RecallMaterial, CreateGoal

GetGoal, GoalStatus, todo_read, todo_write

GetGoal, GoalStatus, todo_read, todo_write

ScheduledTask, SendUser, sleep, exec

ScheduledTask, SendUser, sleep, exec

wait, tool_search

wait, tool_search

Real Host integration screenshots

Completed answer folded work

Completed answer folded work

Script tools

Script tools

Session send collapsed

Session send collapsed

Session send expanded

Session send expanded

Session work expanded

Session work expanded

Streaming thinking order

Streaming thinking order

Todo strip collapsed dark wide

Todo strip collapsed dark wide

Todo strip complete dark wide

Todo strip complete dark wide

Todo strip expanded dark wide

Todo strip expanded dark wide

Trajectory ledger

Trajectory ledger

Trajectory model request

Trajectory model request

Trajectory record inspector

Trajectory record inspector

Trajectory selected range

Trajectory selected range

Trajectory zoomed request

Trajectory zoomed request

Simplified and Traditional Chinese

Simplified Chinese conversation tools

Simplified Chinese conversation tools

Traditional Chinese file diffs

Traditional Chinese file diffs

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool and scope: OpenAI Codex implemented the activity and file-change UI, added focused tests, and captured the native screenshots.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@M4n5ter
M4n5ter merged commit cb9c92c into rust-preview Nov 12, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/tool-activity-presentation branch November 12, 2026 16:01
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.

1 participant