Skip to content

Restore rich TUI agent identity and picker state - #552

Merged
GraciousGazelles merged 11 commits into
mainfrom
fix/tui-agent-identity-picker-20260730
Jul 31, 2026
Merged

GraciousGazelles merged 11 commits into
mainfrom
fix/tui-agent-identity-picker-20260730

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • Preserve effective child model and reasoning effort from V2 spawn activity through the protocol, app-server, and TUI layers.
  • Restore friendly agent names and canonical paths in activity history, waiting states, and pending-agent displays.
  • Make the agent picker rich and searchable: show identity/configuration details, hide stale sidecars by default, and expose them through searches such as closed while preserving existing slash aliases.
  • Add regression coverage and update the downstream divergence documentation and generated app-server schemas.

Validation

  • rust-ci run 30533361637 passed for exact head cfd250ed7453060ad5fa4b2512fff82bd7bfb83b.
  • docs-sanity run 30533351836 passed for the same exact head.
  • just write-app-server-schema
  • cargo fmt --all -- --check
  • git diff --check

The branch was rebased onto the current origin/main before validation.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the TUI sub-agent identity and picker surfaces by propagating the effective model and reasoning effort configurations into the SubAgentActivity thread items, protocol schemas, and TUI displays. It also introduces liveness status terms to the agent picker and implements a mechanism to hide inactive sidecars by default in searchable lists unless explicitly queried. The review feedback highlights several performance optimization opportunities, specifically recommending the use of lazy evaluation (.or_else) to avoid eager cloning in agent_navigation.rs, and suggesting string slicing instead of character collection to reduce heap allocations when formatting short thread IDs in multi_agents.rs.

Comment thread codex-rs/tui/src/multi_agents.rs Resolved
Comment thread codex-rs/tui/src/multi_agents.rs Resolved
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 30, 2026
@GraciousGazelles
GraciousGazelles removed this pull request from the merge queue due to a manual request Jul 30, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jul 30, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 31, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 31, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 9d2d2cc Jul 31, 2026
95 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/tui-agent-identity-picker-20260730 branch July 31, 2026 00:43
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