Repository navigation
OPE-142 Load composer agent picker from server catalog - #233
Merged
Merged
Conversation
OPE-142 Composer agent picker from server catalog
Let Session Chat select any visible primary/ Desktop/TUI already cycles custom primary agents (Tab / Remaining:
Done:
|
Collaborator
Author
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 570a29d. Configure here.
6 of 8 tasks
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
primary/allagents fromGET /agent(v2:GET /api/agent), including custom agents like Review.@mentions stay the non-primary path.Docs
docs/features/session-chat/plan.mdChecks
AgentDomainAdapterTest,AgentProtocolRepositoryTest, and Session Chat send-mode tests passed.Linear
Risks / Follow-ups
GET /agentis requested twice on Session Chat open (picker +@).Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Note
Medium Risk
Changes how the turn-owning agent is chosen and sent on prompts/commands. Failures keep a local Build/Plan fallback, but a bad catalog or id mismatch could send the wrong agent.
Overview
Session Chat’s agent chip is no longer a hardcoded Build/Plan list. It now loads non-hidden
primary/allagents fromGET /agent(v2:GET /api/agent) on iOS and Android, so custom agents (e.g. Review) appear in the picker.The selected agent id is sent on prompts and slash commands instead of mapping display labels to
build/plan.@mentions stay the non-primary path and do not change the turn-owning agent. If the catalog is empty or the current selection disappears, the client falls back tobuildor the first catalog entry.Reviewed by Cursor Bugbot for commit 570a29d. Bugbot is set up for automated code reviews on this repo. Configure here.