anomalyco / anomalyco/opencode
Desktop: Plan/Build buttons not visible until switching tabs
Open
@Brendonovich is already working on this.
Since Aug 3, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Bug report
In OpenCode Desktop, the agent mode Plan/Build buttons are not visible until you switch tabs. After switching to another tab and back, the buttons appear.
Environment
- OpenCode Desktop version: 1.18.11
- OS: Linux (CachyOS), Wayland
- Install: AppImage (Electron)
Steps to reproduce
- Start OpenCode Desktop in a fresh session (or after a restart).
- Look at the composer/input area — the Plan and Build buttons are not shown.
- Switch to another tab and back (or open a new tab).
- The Plan/Build buttons now appear and stay visible.
Expected behavior
The Plan/Build buttons should be visible immediately when the app starts, without needing to switch tabs.
Actual behavior
The buttons only render after a tab switch forces a re-render. This happens every time the app is restarted (the state is not persisted).
Notes
- The buttons exist in the settings (
general.showCustomAgents= true in the desktop app'sdefault.dat); they just do not paint until a tab change triggers a redraw. - Possibly related to the
newLayoutDesigns/layoutTransitionEligiblesettings observed in the desktop app config.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.