Repository navigation
feat(acp): expose subagents in available modes response - #12563
YichenLi00 wants to merge 1 commit into
Conversation
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
434c91f to
e1feb5b
Compare
- Add optional mode field to ModeOption type - Remove subagent filter, let clients decide visibility - Enables ACP clients to access subagent info for @mentions
|
@rekram1-node Fixed the issues from #12305:
|
|
Any news on this ACP support @rekram1-node ? |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Summary
Expose subagents in ACP available modes response for client-side access.
Closes #11576
Problem
ACP clients (e.g., agent-shell for Emacs) cannot access subagent information through ACP. Users need this to
@mentionspecific subagents.Solution
modefield toModeOptiontypemodefield if they only want primary agentsChanges
Backward Compatibility
Existing clients continue to work. The
modefield is optional and only adds information.