fix: Add UUID disambiguation for duplicate agent names#539
Open
szmania wants to merge 12 commits into
Open
Conversation
added 12 commits
May 27, 2026 22:08
Co-authored-by: cecli (openai/gemini_ai_studio/gemini-3-flash-preview)
Co-authored-by: cecli (openai/nvidia_nim/deepseek-ai/deepseek-v4-pro)
Co-authored-by: cecli (openai/gemini_cli_local/gemini-2.5-pro)
Co-authored-by: cecli (openai/nvidia_nim/deepseek-ai/deepseek-v4-pro)
Co-authored-by: cecli (openai/agentic)
Co-authored-by: cecli (openai/agentic)
Co-authored-by: cecli (openai/agentic)
Co-authored-by: cecli (openai/gemini_cli_local/gemini-2.5-pro)
Co-authored-by: cecli (openai/gemini_cli_local/gemini-2.5-pro)
Co-authored-by: cecli (openai/gemini_cli_local/gemini-2.5-pro)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the TUI to provide better visibility into which agent is performing tasks, especially when multiple sub-agents are active. It also improves how status messages (spinners, confirmations, and errors) are attributed to specific agents using their UUIDs.
Changes
🤖 Agent Identification & Disambiguation
cecli/tui/app.pyto resolve agent names fromcoder_uuid.(primary)in the TUI.researcher (a1b)).🔄 Improved Status Attribution
BaseCoderandTUI.IOto passcoder_uuidthrough spinner and other status updates. This ensures that TUI updates are correctly routed to the appropriate agent context.MainFooternow displays the active agent's name alongside the spinner.StatusBarnow prefixes notifications and confirmation prompts with the agent's name.🛠️ Refactors & Fixes
oslex.joinwithshlex.joinincecli/utils.pyfor better shell command escaping.tests/tui/test_app.pyto verify agent name prefixing in various status message types.Impact
Users will now have a clearer understanding of which agent is currently active and performing work in the TUI, improving the overall experience when using complex agentic workflows.