fix(config): keep default OpenCode Build agent enabled by default

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 #2545
This commit is contained in:
MoerAI
2026-03-16 19:18:46 +09:00
committed by sspark-kisane
parent f31f50abec
commit 6455b851b8

View File

@@ -137,7 +137,7 @@ export async function applyAgentConfig(params: {
const isSisyphusEnabled = params.pluginConfig.sisyphus_agent?.disabled !== true;
const builderEnabled =
params.pluginConfig.sisyphus_agent?.default_builder_enabled ?? false;
params.pluginConfig.sisyphus_agent?.default_builder_enabled ?? true;
const plannerEnabled = params.pluginConfig.sisyphus_agent?.planner_enabled ?? true;
const replacePlan = params.pluginConfig.sisyphus_agent?.replace_plan ?? true;
const shouldDemotePlan = plannerEnabled && replacePlan;