feat(config): add default_run_agent schema option

Add optional 'default_run_agent' field to OhMyOpenCodeConfig schema.
This field allows users to configure the default agent for the 'run' command
via oh-my-opencode.json configuration file.

- Add Zod schema: z.string().optional()
- Regenerate JSON schema for IDE support
This commit is contained in:
YeonGyu-Kim
2026-02-02 10:49:07 +09:00
parent 2e7a5fad2b
commit 2e2bd9f8aa
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -11,6 +11,9 @@
"new_task_system_enabled": {
"type": "boolean"
},
"default_run_agent": {
"type": "string"
},
"disabled_mcps": {
"type": "array",
"items": {