feat(agents): make OmO default agent via build name hack

- Set build agent's display name to 'OmO' (keeps builtIn: true priority)
- Add OmO as subagent (actual execution target when selected)
- Remove explicit tools list from OmO agent (inherit all)
- Rename omo_agent.disable_build to omo_agent.disabled

This hack works around OpenCode's agent selection by key name.
TODO: Use config.default_agent when PR #5313 is released.

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-14 21:59:17 +09:00
parent cccc7b7443
commit f44555a021
5 changed files with 36 additions and 50 deletions

View File

@@ -96,7 +96,7 @@ export const ClaudeCodeConfigSchema = z.object({
})
export const OmoAgentConfigSchema = z.object({
disable_build: z.boolean().optional(),
disabled: z.boolean().optional(),
})
export const OhMyOpenCodeConfigSchema = z.object({