feat(tui): Add /agent slash command for ACP agent selection#87
Closed
CSRessel wants to merge 1 commit into
Closed
Conversation
Add a new /agent slash command that lets users switch between ACP agents at runtime. The agent selection is tracked as "pending" and only applied when a new prompt is submitted, preventing disruption to in-flight turns. Key changes: - Add SlashCommand::Agent variant with ACP agent picker popup - Add list_available_agents() to expose available ACP agents from registry - Track pending_agent state in ChatWidget with visual indicator - Refactor spawn_acp_agent() to support dynamic model switching via loop - Add SetPendingAgent app event for coordinating UI state - Disable /model picker in ACP mode (agents use /agent instead) - Add 7 new E2E tests verifying agent picker behavior - Fix flaky tool_parallelism test timing threshold
Collaborator
Author
|
Code is heavily entangled with codex-tui module, closing in favor of #84 |
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
🤖 Generated with Nori
/agentslash command for switching between ACP agents at runtime/modelpicker in ACP mode (ACP agents use/agentinstead)Test Plan
Share Nori with your team: https://www.npmjs.com/package/nori-ai