diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 3cdf6b6c4..3a1d1d4a1 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -5044,8 +5044,5 @@ } } }, - "required": [ - "git_master" - ], "additionalProperties": false } \ No newline at end of file diff --git a/src/config/schema/oh-my-opencode-config.ts b/src/config/schema/oh-my-opencode-config.ts index 5db7b0559..348affdf4 100644 --- a/src/config/schema/oh-my-opencode-config.ts +++ b/src/config/schema/oh-my-opencode-config.ts @@ -64,7 +64,7 @@ export const OhMyOpenCodeConfigSchema = z.object({ commit_footer: true, include_co_authored_by: true, git_env_prefix: "GIT_MASTER=1", - }), + }).optional(), browser_automation_engine: BrowserAutomationConfigSchema.optional(), websearch: WebsearchConfigSchema.optional(), tmux: TmuxConfigSchema.optional(),