# =============================================================================
# CRUSH - Charm's multi-model AI coding assistant
# =============================================================================
# Single Responsibility: Manages Crush tool configuration and settings

[tool]
display_name = "Crush"
config_key = "crush"
description = "Charm's multi-model AI assistant with LSP"
homepage = "https://charm.sh/crush"
documentation = "https://github.com/charmbracelet/crush"
cli_command = "crush"
requires_npm = true
requires_sudo = true
status = "new"

[tool.install]
command = "npm"
args = ["install", "-g", "@charmland/crush"]
verify_command = "crush --version"
post_install_message = "Crush installed successfully! Set CHARM_API_KEY to get started."

[tool.update]
command = "npm"
args = ["update", "-g", "@charmland/crush"]
verify_command = "crush --version"

[tool.auth]
env_vars = ["CHARM_API_KEY"]
setup_url = "https://charm.sh/account"
browser_auth = false
auth_instructions = "Visit Charm account page to generate your API key"

[tool.features]
supports_files = true
supports_streaming = true
supports_conversation = true
max_context_tokens = 64000
supported_languages = ["python", "javascript", "rust", "go", "java", "cpp", "typescript", "lua"]
lsp_integration = true
charm_ecosystem = true
new_tool = true