2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/charmbracelet/crush/internal/config/config",
4 "$ref": "#/$defs/Config",
15 "description": "Style of attribution trailer to add to commits",
16 "default": "assisted-by"
20 "description": "Deprecated: use trailer_style instead",
25 "description": "Add Generated with Crush line to commit messages and issues and PRs",
29 "additionalProperties": false,
36 "description": "Maximum depth for the ls tool",
44 "description": "Maximum number of items to return for the ls tool",
51 "additionalProperties": false,
60 "additionalProperties": {
61 "$ref": "#/$defs/SelectedModel"
64 "description": "Model configurations for different model types"
67 "additionalProperties": {
68 "$ref": "#/$defs/ProviderConfig"
71 "description": "AI provider configurations"
74 "$ref": "#/$defs/MCPs",
75 "description": "Model Context Protocol server configurations"
78 "$ref": "#/$defs/LSPs",
79 "description": "Language Server Protocol configurations"
82 "$ref": "#/$defs/Options",
83 "description": "General application options"
86 "$ref": "#/$defs/Permissions",
87 "description": "Permission settings for tool usage"
90 "$ref": "#/$defs/Tools",
91 "description": "Tool configurations"
94 "additionalProperties": false,
101 "description": "Whether this LSP server is disabled",
106 "description": "Command to execute for the LSP server",
116 "description": "Arguments to pass to the LSP server command"
119 "additionalProperties": {
123 "description": "Environment variables to set to the LSP server command"
138 "description": "File types this LSP server handles"
150 "description": "Files or directories that indicate the project root"
154 "description": "Initialization options passed to the LSP server during initialize request"
158 "description": "LSP server-specific settings passed during initialization"
161 "additionalProperties": false,
165 "additionalProperties": {
166 "$ref": "#/$defs/LSPConfig"
174 "description": "Command to execute for stdio MCP servers",
180 "additionalProperties": {
184 "description": "Environment variables to set for the MCP server"
191 "description": "Arguments to pass to the MCP server command"
200 "description": "Type of MCP connection",
206 "description": "URL for HTTP or SSE MCP servers",
208 "http://localhost:3000/mcp"
213 "description": "Whether this MCP server is disabled",
224 "description": "List of tools from this MCP server to disable"
228 "description": "Timeout in seconds for MCP server connections",
237 "additionalProperties": {
241 "description": "HTTP headers for HTTP/SSE MCP servers"
244 "additionalProperties": false,
251 "additionalProperties": {
252 "$ref": "#/$defs/MCPConfig"
270 "cost_per_1m_in_cached": {
273 "cost_per_1m_out_cached": {
279 "default_max_tokens": {
285 "reasoning_levels": {
291 "default_reasoning_effort": {
294 "supports_attachments": {
298 "$ref": "#/$defs/ModelOptions"
301 "additionalProperties": false,
308 "cost_per_1m_in_cached",
309 "cost_per_1m_out_cached",
311 "default_max_tokens",
313 "supports_attachments",
328 "frequency_penalty": {
331 "presence_penalty": {
334 "provider_options": {
338 "additionalProperties": false,
352 "description": "Paths to files containing context information for the AI"
358 "~/.config/crush/skills",
363 "description": "Paths to directories containing Agent Skills (folders with SKILL.md files)"
366 "$ref": "#/$defs/TUIOptions",
367 "description": "Terminal user interface options"
371 "description": "Enable debug logging",
376 "description": "Enable debug logging for LSP servers",
379 "disable_auto_summarize": {
381 "description": "Disable automatic conversation summarization",
386 "description": "Directory for storing application data (relative to working directory)",
401 "description": "List of built-in tools to disable and hide from the agent"
403 "disable_provider_auto_update": {
405 "description": "Disable providers auto-update",
408 "disable_default_providers": {
410 "description": "Ignore all default/embedded providers. When enabled",
414 "$ref": "#/$defs/Attribution",
415 "description": "Attribution settings for generated content"
419 "description": "Disable sending metrics",
424 "description": "Name of the context file to create/update during project initialization",
425 "default": "AGENTS.md",
435 "description": "Automatically setup LSPs based on root markers",
440 "description": "Show indeterminate progress updates during long operations",
444 "additionalProperties": false,
458 "description": "List of tools that don't require permission prompts"
461 "additionalProperties": false,
468 "description": "Unique identifier for the provider",
475 "description": "Human-readable name for the provider",
483 "description": "Base URL for the provider's API",
485 "https://api.openai.com/v1"
498 "description": "Provider type that determines the API format",
503 "description": "API key for authentication with the provider",
509 "$ref": "#/$defs/Token",
510 "description": "OAuth2 token for authentication with the provider"
514 "description": "Whether this provider is disabled",
517 "system_prompt_prefix": {
519 "description": "Custom prefix to add to system prompts for this provider"
522 "additionalProperties": {
526 "description": "Additional HTTP headers to send with requests"
530 "description": "Additional fields to include in request bodies"
532 "provider_options": {
534 "description": "Additional provider-specific options for this provider"
538 "$ref": "#/$defs/Model"
541 "description": "List of models available from this provider"
544 "additionalProperties": false,
551 "description": "The model ID as used by the provider API",
558 "description": "The model provider ID that matches a key in the providers config",
563 "reasoning_effort": {
570 "description": "Reasoning effort level for OpenAI models that support it"
574 "description": "Enable thinking mode for Anthropic models that support reasoning"
579 "description": "Maximum number of tokens for model responses",
588 "description": "Sampling temperature",
597 "description": "Top-p (nucleus) sampling parameter",
604 "description": "Top-k sampling parameter"
606 "frequency_penalty": {
608 "description": "Frequency penalty to reduce repetition"
610 "presence_penalty": {
612 "description": "Presence penalty to increase topic diversity"
614 "provider_options": {
616 "description": "Additional provider-specific options for the model"
619 "additionalProperties": false,
630 "description": "Enable compact mode for the TUI interface",
639 "description": "Diff mode for the TUI interface"
642 "$ref": "#/$defs/Completions",
643 "description": "Completions UI options"
646 "additionalProperties": false,
667 "additionalProperties": false,
680 "description": "Maximum depth for the ls tool",
688 "description": "Maximum number of items to return for the ls tool",
695 "additionalProperties": false,
701 "$ref": "#/$defs/ToolLs"
704 "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