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 <amp@ampcode.com>
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user