Skip to content

Commit ab522af

Browse files
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>
1 parent 40c1e62 commit ab522af

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

assets/oh-my-opencode.schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"librarian",
2828
"explore",
2929
"frontend-ui-ux-engineer",
30-
"document-writer"
30+
"document-writer",
31+
"multimodal-looker"
3132
]
3233
}
3334
},
@@ -63,7 +64,8 @@
6364
"librarian",
6465
"explore",
6566
"frontend-ui-ux-engineer",
66-
"document-writer"
67+
"document-writer",
68+
"multimodal-looker"
6769
]
6870
},
6971
"additionalProperties": {

src/config/schema.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const AgentNameSchema = z.enum([
2222
"explore",
2323
"frontend-ui-ux-engineer",
2424
"document-writer",
25+
"multimodal-looker",
2526
])
2627

2728
export const HookNameSchema = z.enum([
@@ -65,6 +66,7 @@ export const AgentOverridesSchema = z
6566
explore: AgentOverrideConfigSchema.optional(),
6667
"frontend-ui-ux-engineer": AgentOverrideConfigSchema.optional(),
6768
"document-writer": AgentOverrideConfigSchema.optional(),
69+
"multimodal-looker": AgentOverrideConfigSchema.optional(),
6870
})
6971
.partial()
7072

0 commit comments

Comments
 (0)