summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-04-28 08:46:09 -0500
committeradamdottv <[email protected]>2025-04-30 07:46:34 -0500
commit61b605e724eb4cc50ab831534fcdd18e031d68eb (patch)
treeb15b074a8fed1931e179a8d3df08d05b753c7aa3 /cmd
parent61d9dc95111d2645a49816f6d9d6cc1014be1a22 (diff)
downloadopencode-61b605e724eb4cc50ab831534fcdd18e031d68eb.tar.gz
opencode-61b605e724eb4cc50ab831534fcdd18e031d68eb.zip
feat: themes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/schema/main.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/schema/main.go b/cmd/schema/main.go
index cd550d3fe..10767f525 100644
--- a/cmd/schema/main.go
+++ b/cmd/schema/main.go
@@ -98,6 +98,19 @@ func generateSchema() map[string]any {
},
}
+ schema["properties"].(map[string]any)["tui"] = map[string]any{
+ "type": "object",
+ "description": "Terminal User Interface configuration",
+ "properties": map[string]any{
+ "theme": map[string]any{
+ "type": "string",
+ "description": "TUI theme name",
+ "default": "catppuccin",
+ "enum": []string{"catppuccin", "gruvbox"}, // Will be expanded as new themes are added
+ },
+ },
+ }
+
// Add MCP servers
schema["properties"].(map[string]any)["mcpServers"] = map[string]any{
"type": "object",