Skip to content

Commit 0c23706

Browse files
feat: add OmO agent to config schema for model override support (#46)
1 parent 5827989 commit 0c23706

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

assets/oh-my-opencode.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"propertyNames": {
6666
"type": "string",
6767
"enum": [
68+
"OmO",
6869
"oracle",
6970
"librarian",
7071
"explore",

src/config/schema.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const AgentPermissionSchema = z.object({
1717
})
1818

1919
export const BuiltinAgentNameSchema = z.enum([
20+
"OmO",
2021
"oracle",
2122
"librarian",
2223
"explore",
@@ -27,6 +28,7 @@ export const BuiltinAgentNameSchema = z.enum([
2728

2829
export const OverridableAgentNameSchema = z.enum([
2930
"build",
31+
"OmO",
3032
"oracle",
3133
"librarian",
3234
"explore",
@@ -76,6 +78,7 @@ export const AgentOverrideConfigSchema = z.object({
7678

7779
export const AgentOverridesSchema = z.object({
7880
build: AgentOverrideConfigSchema.optional(),
81+
OmO: AgentOverrideConfigSchema.optional(),
7982
oracle: AgentOverrideConfigSchema.optional(),
8083
librarian: AgentOverrideConfigSchema.optional(),
8184
explore: AgentOverrideConfigSchema.optional(),

0 commit comments

Comments
 (0)