feat(config): add configurable agent ordering
This commit is contained in:
@@ -32,6 +32,8 @@ export const OhMyOpenCodeConfigSchema = z.object({
|
||||
new_task_system_enabled: z.boolean().optional(),
|
||||
/** Default agent name for `oh-my-opencode run` (env: OPENCODE_DEFAULT_AGENT) */
|
||||
default_run_agent: z.string().optional(),
|
||||
/** Preferred display order for known agents. Invalid names are ignored with a toast warning. */
|
||||
agent_order: z.array(z.string().max(128)).max(64).optional(),
|
||||
/** Paths to external agent definition files (.md or .json) */
|
||||
agent_definitions: AgentDefinitionsConfigSchema,
|
||||
disabled_mcps: z.array(AnyMcpNameSchema).optional(),
|
||||
|
||||
Reference in New Issue
Block a user