2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/charmbracelet/crush/internal/config/config",
4 "$ref": "#/$defs/Config",
9 "additionalProperties": {
10 "$ref": "#/$defs/SelectedModel"
13 "description": "Model configurations for different model types"
16 "additionalProperties": {
17 "$ref": "#/$defs/ProviderConfig"
20 "description": "AI provider configurations"
23 "$ref": "#/$defs/MCPs",
24 "description": "Model Context Protocol server configurations"
27 "$ref": "#/$defs/LSPs",
28 "description": "Language Server Protocol configurations"
31 "$ref": "#/$defs/Options",
32 "description": "General application options"
35 "$ref": "#/$defs/Permissions",
36 "description": "Permission settings for tool usage"
39 "additionalProperties": false,
46 "description": "Whether this LSP server is disabled",
51 "description": "Command to execute for the LSP server",
61 "description": "Arguments to pass to the LSP server command"
64 "description": "LSP server-specific configuration options"
67 "additionalProperties": false,
74 "additionalProperties": {
75 "$ref": "#/$defs/LSPConfig"
83 "description": "Command to execute for stdio MCP servers",
89 "additionalProperties": {
93 "description": "Environment variables to set for the MCP server"
100 "description": "Arguments to pass to the MCP server command"
109 "description": "Type of MCP connection",
115 "description": "URL for HTTP or SSE MCP servers",
117 "http://localhost:3000/mcp"
122 "description": "Whether this MCP server is disabled",
126 "additionalProperties": {
130 "description": "HTTP headers for HTTP/SSE MCP servers"
133 "additionalProperties": false,
140 "additionalProperties": {
141 "$ref": "#/$defs/MCPConfig"
159 "cost_per_1m_in_cached": {
162 "cost_per_1m_out_cached": {
168 "default_max_tokens": {
174 "has_reasoning_efforts": {
177 "default_reasoning_effort": {
180 "supports_attachments": {
184 "additionalProperties": false,
191 "cost_per_1m_in_cached",
192 "cost_per_1m_out_cached",
194 "default_max_tokens",
196 "has_reasoning_efforts",
197 "supports_attachments"
211 "description": "Paths to files containing context information for the AI"
214 "$ref": "#/$defs/TUIOptions",
215 "description": "Terminal user interface options"
219 "description": "Enable debug logging",
224 "description": "Enable debug logging for LSP servers",
227 "disable_auto_summarize": {
229 "description": "Disable automatic conversation summarization",
234 "description": "Directory for storing application data (relative to working directory)",
241 "additionalProperties": false,
255 "description": "List of tools that don't require permission prompts"
258 "additionalProperties": false,
265 "description": "Unique identifier for the provider",
272 "description": "Human-readable name for the provider",
280 "description": "Base URL for the provider's API",
282 "https://api.openai.com/v1"
294 "description": "Provider type that determines the API format",
299 "description": "API key for authentication with the provider",
306 "description": "Whether this provider is disabled",
309 "system_prompt_prefix": {
311 "description": "Custom prefix to add to system prompts for this provider"
314 "additionalProperties": {
318 "description": "Additional HTTP headers to send with requests"
322 "description": "Additional fields to include in request bodies"
326 "$ref": "#/$defs/Model"
329 "description": "List of models available from this provider"
332 "additionalProperties": false,
339 "description": "The model ID as used by the provider API",
346 "description": "The model provider ID that matches a key in the providers config",
351 "reasoning_effort": {
358 "description": "Reasoning effort level for OpenAI models that support it"
364 "description": "Maximum number of tokens for model responses",
371 "description": "Enable thinking mode for Anthropic models that support reasoning"
374 "additionalProperties": false,
385 "description": "Enable compact mode for the TUI interface",
389 "additionalProperties": false,
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