fix(config): keep default OpenCode Build agent enabled by default (fixes #2545)#2611
Conversation
The default_builder_enabled config defaults to false, which removes the default OpenCode Build agent on OMO install. This forces users into the full OMO orchestration for every task, including simple ones where the lightweight Build agent would be more appropriate. Changed the default to true so the Build agent remains available alongside Sisyphus. Users who prefer the previous behavior can set default_builder_enabled: false in their config. Fixes code-yeongyu#2545
|
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Restores default agent behavior to fix a reported usability regression. One-line configuration change with no impact on code logic.
fruch
left a comment
There was a problem hiding this comment.
LGTM
I think it's a more sane default, as a user I prefer a plugin would take over or disable default things with asking of without it be documented clearly
|
I am sorry if my previous reply was deleted but I have chronic amnesia, I can't remember if I posted or not a reply. I just wanted to say that after a week of enabling this setting and using opencode daily for nearly all my coding, I confirm that I get utility for all agents in different scenarios, the default plan is very useful to just brainstorm or understand a codebase for example or do small config changes or skill building (among other uses of cours !), which can then be applied with little token usage with the build agent. So I strongly support this PR, as it also follows the software engineering best practice of Least Astonishment for the user. |
|
@MoerAI Thx for this PR. What do you think about making default value of |
Summary
default_builder_enableddefault fromfalsetotrueProblem
When OMO is installed, the default OpenCode Build and Plan agents are removed. This forces all users into the full OMO orchestration (Sisyphus) for every task, even simple ones where the lightweight Build agent would be more appropriate. Multiple users reported this as a significant usability regression (#2545, 7 comments).
Fix
One-line change in
agent-config-handler.ts:Users who prefer the previous behavior (Build agent hidden) can set
default_builder_enabled: falsein their config.Fixes #2545
Summary by cubic
Keep the OpenCode Build agent enabled by default so simple tasks don't require full Sisyphus orchestration (fixes #2545). This flips the fallback for
default_builder_enabledtotrueinsrc/plugin-handlers/agent-config-handler.ts; you can still set it tofalseto hide the agent.Written for commit 6455b85. Summary will update on new commits.