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",
20 "gemini-2.0-flash-lite",
21 "meta-llama/llama-4-maverick-17b-128e-instruct",
29 "meta-llama/llama-4-scout-17b-16e-instruct",
30 "bedrock.claude-3.7-sonnet",
35 "llama-3.3-70b-versatile",
36 "deepseek-r1-distill-llama-70b",
46 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
61 "description": "Configuration schema for the OpenCode application",
64 "additionalProperties": {
65 "description": "Agent configuration",
68 "description": "Maximum tokens for the agent",
73 "description": "Model ID for the agent",
80 "gemini-2.0-flash-lite",
81 "meta-llama/llama-4-maverick-17b-128e-instruct",
89 "meta-llama/llama-4-scout-17b-16e-instruct",
90 "bedrock.claude-3.7-sonnet",
95 "llama-3.3-70b-versatile",
96 "deepseek-r1-distill-llama-70b",
106 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
120 "description": "Agent configurations",
123 "$ref": "#/definitions/agent"
126 "$ref": "#/definitions/agent"
129 "$ref": "#/definitions/agent"
135 "description": "Storage configuration",
138 "default": ".opencode",
139 "description": "Directory where application data is stored",
150 "description": "Enable debug mode",
155 "description": "Enable LSP debug mode",
159 "additionalProperties": {
160 "description": "LSP configuration for a language",
163 "description": "Command arguments for the LSP server",
170 "description": "Command to execute for the LSP server",
175 "description": "Whether the LSP is disabled",
179 "description": "Additional options for the LSP server",
188 "description": "Language Server Protocol configurations",
192 "additionalProperties": {
193 "description": "MCP server configuration",
196 "description": "Command arguments for the MCP server",
203 "description": "Command to execute for the MCP server",
207 "description": "Environment variables for the MCP server",
214 "additionalProperties": {
217 "description": "HTTP headers for SSE type MCP servers",
222 "description": "Type of MCP server",
230 "description": "URL for SSE type MCP servers",
239 "description": "Model Control Protocol server configurations",
243 "additionalProperties": {
244 "description": "Provider configuration",
247 "description": "API key for the provider",
252 "description": "Whether the provider is disabled",
256 "description": "Provider type",
269 "description": "LLM provider configurations",
273 "description": "Working directory for the application",
277 "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