2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/charmbracelet/crush/internal/config/config",
4 "$ref": "#/$defs/Config",
10 "description": "Add Co-Authored-By trailer to commit messages",
15 "description": "Add Generated with Crush line to commit messages and issues and PRs",
19 "additionalProperties": false,
26 "description": "Maximum depth for the ls tool",
34 "description": "Maximum number of items to return for the ls tool",
41 "additionalProperties": false,
50 "additionalProperties": {
51 "$ref": "#/$defs/SelectedModel"
54 "description": "Model configurations for different model types"
57 "additionalProperties": {
58 "$ref": "#/$defs/ProviderConfig"
61 "description": "AI provider configurations"
64 "$ref": "#/$defs/MCPs",
65 "description": "Model Context Protocol server configurations"
68 "$ref": "#/$defs/LSPs",
69 "description": "Language Server Protocol configurations"
72 "$ref": "#/$defs/Options",
73 "description": "General application options"
76 "$ref": "#/$defs/Permissions",
77 "description": "Permission settings for tool usage"
80 "$ref": "#/$defs/Tools",
81 "description": "Tool configurations"
84 "additionalProperties": false,
94 "description": "Whether this LSP server is disabled",
99 "description": "Command to execute for the LSP server",
109 "description": "Arguments to pass to the LSP server command"
112 "additionalProperties": {
116 "description": "Environment variables to set to the LSP server command"
131 "description": "File types this LSP server handles"
143 "description": "Files or directories that indicate the project root"
147 "description": "Initialization options passed to the LSP server during initialize request"
151 "description": "LSP server-specific settings passed during initialization"
154 "additionalProperties": false,
161 "additionalProperties": {
162 "$ref": "#/$defs/LSPConfig"
170 "description": "Command to execute for stdio MCP servers",
176 "additionalProperties": {
180 "description": "Environment variables to set for the MCP server"
187 "description": "Arguments to pass to the MCP server command"
196 "description": "Type of MCP connection",
202 "description": "URL for HTTP or SSE MCP servers",
204 "http://localhost:3000/mcp"
209 "description": "Whether this MCP server is disabled",
214 "description": "Timeout in seconds for MCP server connections",
223 "additionalProperties": {
227 "description": "HTTP headers for HTTP/SSE MCP servers"
230 "additionalProperties": false,
237 "additionalProperties": {
238 "$ref": "#/$defs/MCPConfig"
256 "cost_per_1m_in_cached": {
259 "cost_per_1m_out_cached": {
265 "default_max_tokens": {
271 "reasoning_levels": {
277 "default_reasoning_effort": {
280 "supports_attachments": {
284 "$ref": "#/$defs/ModelOptions"
287 "additionalProperties": false,
294 "cost_per_1m_in_cached",
295 "cost_per_1m_out_cached",
297 "default_max_tokens",
299 "supports_attachments",
314 "frequency_penalty": {
317 "presence_penalty": {
320 "provider_options": {
324 "additionalProperties": false,
338 "description": "Paths to files containing context information for the AI"
341 "$ref": "#/$defs/TUIOptions",
342 "description": "Terminal user interface options"
346 "description": "Enable debug logging",
351 "description": "Enable debug logging for LSP servers",
354 "disable_auto_summarize": {
356 "description": "Disable automatic conversation summarization",
361 "description": "Directory for storing application data (relative to working directory)",
372 "description": "Tools to disable"
374 "disable_provider_auto_update": {
376 "description": "Disable providers auto-update",
380 "$ref": "#/$defs/Attribution",
381 "description": "Attribution settings for generated content"
385 "description": "Disable sending metrics",
389 "additionalProperties": false,
406 "description": "List of tools that don't require permission prompts"
409 "additionalProperties": false,
416 "description": "Unique identifier for the provider",
423 "description": "Human-readable name for the provider",
431 "description": "Base URL for the provider's API",
433 "https://api.openai.com/v1"
445 "description": "Provider type that determines the API format",
450 "description": "API key for authentication with the provider",
457 "description": "Whether this provider is disabled",
460 "system_prompt_prefix": {
462 "description": "Custom prefix to add to system prompts for this provider"
465 "additionalProperties": {
469 "description": "Additional HTTP headers to send with requests"
473 "description": "Additional fields to include in request bodies"
475 "provider_options": {
477 "description": "Additional provider-specific options for this provider"
481 "$ref": "#/$defs/Model"
484 "description": "List of models available from this provider"
487 "additionalProperties": false,
494 "description": "The model ID as used by the provider API",
501 "description": "The model provider ID that matches a key in the providers config",
506 "reasoning_effort": {
513 "description": "Reasoning effort level for OpenAI models that support it"
517 "description": "Enable thinking mode for Anthropic models that support reasoning"
523 "description": "Maximum number of tokens for model responses",
532 "description": "Sampling temperature",
541 "description": "Top-p (nucleus) sampling parameter",
548 "description": "Top-k sampling parameter"
550 "frequency_penalty": {
552 "description": "Frequency penalty to reduce repetition"
554 "presence_penalty": {
556 "description": "Presence penalty to increase topic diversity"
558 "provider_options": {
560 "description": "Additional provider-specific options for the model"
563 "additionalProperties": false,
574 "description": "Enable compact mode for the TUI interface",
583 "description": "Diff mode for the TUI interface"
586 "$ref": "#/$defs/Completions",
587 "description": "Completions UI options"
590 "additionalProperties": false,
600 "description": "Maximum depth for the ls tool",
608 "description": "Maximum number of items to return for the ls tool",
615 "additionalProperties": false,
621 "$ref": "#/$defs/ToolLs"
624 "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