crush/opencode-schema.json
2 "$schema": "http://json-schema.org/draft-07/schema#",
5 "description": "Agent configuration",
8 "description": "Maximum tokens for the agent",
13 "description": "Model ID for the agent",
16 "bedrock.claude-3.7-sonnet",
32 "gemini-2.0-flash-lite",
41 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
56 "description": "Configuration schema for the OpenCode application",
59 "additionalProperties": {
60 "description": "Agent configuration",
63 "description": "Maximum tokens for the agent",
68 "description": "Model ID for the agent",
71 "bedrock.claude-3.7-sonnet",
87 "gemini-2.0-flash-lite",
96 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
110 "description": "Agent configurations",
113 "$ref": "#/definitions/agent"
116 "$ref": "#/definitions/agent"
119 "$ref": "#/definitions/agent"
125 "description": "Storage configuration",
128 "default": ".opencode",
129 "description": "Directory where application data is stored",
140 "description": "Enable debug mode",
145 "description": "Enable LSP debug mode",
149 "additionalProperties": {
150 "description": "LSP configuration for a language",
153 "description": "Command arguments for the LSP server",
160 "description": "Command to execute for the LSP server",
165 "description": "Whether the LSP is disabled",
169 "description": "Additional options for the LSP server",
178 "description": "Language Server Protocol configurations",
182 "additionalProperties": {
183 "description": "MCP server configuration",
186 "description": "Command arguments for the MCP server",
193 "description": "Command to execute for the MCP server",
197 "description": "Environment variables for the MCP server",
204 "additionalProperties": {
207 "description": "HTTP headers for SSE type MCP servers",
212 "description": "Type of MCP server",
220 "description": "URL for SSE type MCP servers",
229 "description": "Model Control Protocol server configurations",
233 "additionalProperties": {
234 "description": "Provider configuration",
237 "description": "API key for the provider",
242 "description": "Whether the provider is disabled",
246 "description": "Provider type",
259 "description": "LLM provider configurations",
263 "description": "Working directory for the application",
267 "title": "OpenCode Configuration",
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list