You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent picker (build/plan) missing in v2 layout #30360
When "New layout and designs" is enabled in settings, the build/plan agent picker is not shown in the composer. It works correctly in the legacy layout.
In packages/app/src/components/prompt-input.tsx:1351, the v2 agent picker is gated behind settings.general.showCustomAgents() which defaults to false. The legacy layout does not have this guard, so the picker always shows there.
Plugins
N/A
OpenCode version
dev branch (latest)
Steps to reproduce
Enable "New layout and designs" in settings
Open a session
Observe that the build/plan toggle is missing from the composer
Disable "New layout and designs" and the toggle reappears
Screenshot and/or share link
N/A
Operating System
Windows
Terminal
N/A (Web UI)
Reacted by Adam Štrauch, PhiDT, Houssam Elbadissi, manfreed, mtrx93 and JStrategic
Reacted by Caleb Reyes, xohmai, Oscar Casarrubias and Houssam Elbadissi
Update: as of 1.17.5 this is no longer necessary; it can be toggled in the UI. See my comment below: #30360 (comment)
Original: For people using opencode web or opencode serve (and may also work on desktop app, but I haven't tested), you can run this snippet in the devtools console to set the settings.general.showCustomAgents internal setting to true:
Closing — addressed by upstream PR #28788 which adds the showCustomAgents setting and ComposerAgentControl agent picker in v2. Enable via Settings → General → Advanced → Custom agents.
Completed by merged PR #28788, which restored the V2 agent control path. Remaining Desktop V2 controls/status concerns stay in #28686 and variant-specific UI work in #30656.
Activity
skaldebane commentedon Jun 12, 2026
Update: as of 1.17.5 this is no longer necessary; it can be toggled in the UI. See my comment below: #30360 (comment)
Original: For people using
opencode weboropencode serve(and may also work on desktop app, but I haven't tested), you can run this snippet in the devtools console to set thesettings.general.showCustomAgentsinternal setting totrue:skaldebane commentedon Jun 13, 2026
As of 1.17.5 visibility options were added under the "Advanced" section, where custom agents can be toggled from the settings:
Still, built-in agents should probably be shown by default regardless of this setting?
dzianisv commentedon Jun 26, 2026
Closing — addressed by upstream PR #28788 which adds the showCustomAgents setting and ComposerAgentControl agent picker in v2. Enable via Settings → General → Advanced → Custom agents.
dzianisv commentedon Jun 26, 2026
Closing — addressed by upstream PR #28788 (showCustomAgents + ComposerAgentControl in v2). Enable via Settings → General → Advanced → Custom agents.
opencode-agent commentedon Jul 5, 2026
Completed by merged PR #28788, which restored the V2 agent control path. Remaining Desktop V2 controls/status concerns stay in #28686 and variant-specific UI work in #30656.