From ab522aff1a1d24adda1f1786e6a83b05291f845d Mon Sep 17 00:00:00 2001 From: Nguyen Quang Huy <31732865+huynguyen03dev@users.noreply.github.com> Date: Sat, 13 Dec 2025 17:47:35 +0700 Subject: [PATCH] fix: add multimodal-looker to Zod config schema (#36) The agent was missing from AgentNameSchema and AgentOverridesSchema, causing model overrides in oh-my-opencode.json to be silently dropped. Co-authored-by: Amp --- assets/oh-my-opencode.schema.json | 6 ++++-- src/config/schema.ts | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 22acbcf..2a8eba9 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -27,7 +27,8 @@ "librarian", "explore", "frontend-ui-ux-engineer", - "document-writer" + "document-writer", + "multimodal-looker" ] } }, @@ -63,7 +64,8 @@ "librarian", "explore", "frontend-ui-ux-engineer", - "document-writer" + "document-writer", + "multimodal-looker" ] }, "additionalProperties": { diff --git a/src/config/schema.ts b/src/config/schema.ts index 40fb348..d823181 100644 --- a/src/config/schema.ts +++ b/src/config/schema.ts @@ -22,6 +22,7 @@ export const AgentNameSchema = z.enum([ "explore", "frontend-ui-ux-engineer", "document-writer", + "multimodal-looker", ]) export const HookNameSchema = z.enum([ @@ -65,6 +66,7 @@ export const AgentOverridesSchema = z explore: AgentOverrideConfigSchema.optional(), "frontend-ui-ux-engineer": AgentOverrideConfigSchema.optional(), "document-writer": AgentOverrideConfigSchema.optional(), + "multimodal-looker": AgentOverrideConfigSchema.optional(), }) .partial()