Skip to content

The open source coding agent.

TypeScript

docs: updating config schema

Jay Vf4b69df7a3d3
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index f707d35ffd5..2041ac35f54 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -339,7 +339,10 @@ export namespace Config {
theme: z.string().optional().describe("Theme name to use for the interface"),
keybinds: Keybinds.optional().describe("Custom keybind configurations"),
tui: TUI.optional().describe("TUI specific settings"),
- command: z.record(z.string(), Command).optional(),
+ command: z
+ .record(z.string(), Command)
+ .optional()
+ .describe("Command configuration, see https://opencode.ai/docs/commands"),
plugin: z.string().array().optional(),
snapshot: z.boolean().optional(),
share: z