@@ -1,4 +1,4 @@
1−# ⌬ OpenCode
1+# ⌬ Crush
3<p align="center"><img src="https://github.com/user-attachments/assets/9ae61ef6-70e5-4876-bc45-5bcb4e52c714" width="800"></p>
3<p align="center"><img src="https://github.com/user-attachments/assets/9ae61ef6-70e5-4876-bc45-5bcb4e52c714" width="800"></p>
@@ -8,10 +8,10 @@ A powerful terminal-based AI assistant for developers, providing intelligent cod
11−OpenCode is a Go-based CLI application that brings AI assistance to your terminal. It provides a TUI (Terminal User Interface) for interacting with various AI models to help with coding tasks, debugging, and more.
11+Crush is a Go-based CLI application that brings AI assistance to your terminal. It provides a TUI (Terminal User Interface) for interacting with various AI models to help with coding tasks, debugging, and more.
13<p>For a quick video overview, check out
13<p>For a quick video overview, check out
14−<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="25" src="https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg"> OpenCode + Gemini 2.5 Pro: BYE Claude Code! I'm SWITCHING To the FASTEST AI Coder!</a></p>
14+<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="25" src="https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg"> Crush + Gemini 2.5 Pro: BYE Claude Code! I'm SWITCHING To the FASTEST AI Coder!</a></p>
16<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="550" src="https://i3.ytimg.com/vi/P8luPmEa1QI/maxresdefault.jpg"></a><p>
16<a href="https://www.youtube.com/watch?v=P8luPmEa1QI"><img width="550" src="https://i3.ytimg.com/vi/P8luPmEa1QI/maxresdefault.jpg"></a><p>
@@ -64,7 +64,7 @@ go install github.com/charmbracelet/crush@latest
65## Configuration
65## Configuration
67−OpenCode looks for configuration in the following locations:
67+Crush looks for configuration in the following locations:
69- `$HOME/.crush.json`
69- `$HOME/.crush.json`
70- `$XDG_CONFIG_HOME/crush/.crush.json`
70- `$XDG_CONFIG_HOME/crush/.crush.json`
@@ -72,7 +72,7 @@ OpenCode looks for configuration in the following locations:
73### Auto Compact Feature
73### Auto Compact Feature
75−OpenCode includes an auto compact feature that automatically summarizes your conversation when it approaches the model's context window limit. When enabled (default setting), this feature:
75+Crush includes an auto compact feature that automatically summarizes your conversation when it approaches the model's context window limit. When enabled (default setting), this feature:
77- Monitors token usage during your conversation
77- Monitors token usage during your conversation
78- Automatically triggers summarization when usage reaches 95% of the model's context window
78- Automatically triggers summarization when usage reaches 95% of the model's context window
@@ -89,7 +89,7 @@ You can enable or disable this feature in your configuration file:
90### Environment Variables
90### Environment Variables
92−You can configure OpenCode using environment variables:
92+You can configure Crush using environment variables:
94| Environment Variable | Purpose |
94| Environment Variable | Purpose |
95| -------------------------- | ------------------------------------------------------ |
95| -------------------------- | ------------------------------------------------------ |
@@ -110,7 +110,7 @@ You can configure OpenCode using environment variables:
111### Shell Configuration
111### Shell Configuration
113−OpenCode allows you to configure the shell used by the bash tool. By default, it uses the shell specified in the `SHELL` environment variable, or falls back to `/bin/bash` if not set.
113+Crush allows you to configure the shell used by the bash tool. By default, it uses the shell specified in the `SHELL` environment variable, or falls back to `/bin/bash` if not set.
115You can override this in your configuration file:
115You can override this in your configuration file:
@@ -190,7 +190,7 @@ This is useful if you want to use a different shell than your default system she
191## Supported AI Models
191## Supported AI Models
193−OpenCode supports a variety of AI models from different providers:
193+Crush supports a variety of AI models from different providers:
195### OpenAI
195### OpenAI
@@ -247,7 +247,7 @@ OpenCode supports a variety of AI models from different providers:
250−# Start OpenCode
250+# Start Crush
253# Start with debug logging
253# Start with debug logging
@@ -259,7 +259,7 @@ crush -c /path/to/project
260## Non-interactive Prompt Mode
260## Non-interactive Prompt Mode
262−You can run OpenCode in non-interactive mode by passing a prompt directly as a command-line argument. This is useful for scripting, automation, or when you want a quick answer without launching the full TUI.
262+You can run Crush in non-interactive mode by passing a prompt directly as a command-line argument. This is useful for scripting, automation, or when you want a quick answer without launching the full TUI.
265# Run a single prompt and print the AI's response to the terminal
265# Run a single prompt and print the AI's response to the terminal
@@ -272,13 +272,13 @@ crush -p "Explain the use of context in Go" -f json
272crush -p "Explain the use of context in Go" -q
272crush -p "Explain the use of context in Go" -q
275−In this mode, OpenCode will process your prompt, print the result to standard output, and then exit. All permissions are auto-approved for the session.
275+In this mode, Crush will process your prompt, print the result to standard output, and then exit. All permissions are auto-approved for the session.
277−By default, a spinner animation is displayed while the model is processing your query. You can disable this spinner with the `-q` or `--quiet` flag, which is particularly useful when running OpenCode from scripts or automated workflows.
277+By default, a spinner animation is displayed while the model is processing your query. You can disable this spinner with the `-q` or `--quiet` flag, which is particularly useful when running Crush from scripts or automated workflows.
279### Output Formats
279### Output Formats
281−OpenCode supports the following output formats in non-interactive mode:
281+Crush supports the following output formats in non-interactive mode:
283| Format | Description |
283| Format | Description |
284| ------ | ------------------------------- |
284| ------ | ------------------------------- |
@@ -369,7 +369,7 @@ The output format is implemented as a strongly-typed `OutputFormat` in the codeb
370## AI Assistant Tools
370## AI Assistant Tools
372−OpenCode's AI assistant has access to various tools to help with coding tasks:
372+Crush's AI assistant has access to various tools to help with coding tasks:
374### File and Code Tools
374### File and Code Tools
@@ -395,7 +395,7 @@ OpenCode's AI assistant has access to various tools to help with coding tasks:
396## Architecture
396## Architecture
398−OpenCode is built with a modular architecture:
398+Crush is built with a modular architecture:
400- **cmd**: Command-line interface using Cobra
400- **cmd**: Command-line interface using Cobra
401- **internal/app**: Core application services
401- **internal/app**: Core application services
@@ -410,7 +410,7 @@ OpenCode is built with a modular architecture:
411## Custom Commands
411## Custom Commands
413−OpenCode supports custom commands that can be created by users to quickly send predefined prompts to the AI assistant.
413+Crush supports custom commands that can be created by users to quickly send predefined prompts to the AI assistant.
415### Creating Custom Commands
415### Creating Custom Commands
@@ -449,7 +449,7 @@ This creates a command called `user:prime-context`.
450### Command Arguments
450### Command Arguments
452−OpenCode supports named arguments in custom commands using placeholders in the format `$NAME` (where NAME consists of uppercase letters, numbers, and underscores, and must start with a letter).
452+Crush supports named arguments in custom commands using placeholders in the format `$NAME` (where NAME consists of uppercase letters, numbers, and underscores, and must start with a letter).
454For example:
454For example:
@@ -461,7 +461,7 @@ RUN git grep --author="$AUTHOR_NAME" -n .
461RUN grep -R "$SEARCH_PATTERN" $DIRECTORY
461RUN grep -R "$SEARCH_PATTERN" $DIRECTORY
464−When you run a command with arguments, OpenCode will prompt you to enter values for each unique placeholder. Named arguments provide several benefits:
464+When you run a command with arguments, Crush will prompt you to enter values for each unique placeholder. Named arguments provide several benefits:
466- Clear identification of what each argument represents
466- Clear identification of what each argument represents
467- Ability to use the same argument multiple times
467- Ability to use the same argument multiple times
@@ -487,16 +487,16 @@ The content of the command file will be sent as a message to the AI assistant.
488### Built-in Commands
488### Built-in Commands
490−OpenCode includes several built-in commands:
490+Crush includes several built-in commands:
492| Command | Description |
492| Command | Description |
493| ------------------ | --------------------------------------------------------------------------------------------------- |
493| ------------------ | --------------------------------------------------------------------------------------------------- |
494−| Initialize Project | Creates or updates the OpenCode.md memory file with project-specific information |
494+| Initialize Project | Creates or updates the Crush.md memory file with project-specific information |
495| Compact Session | Manually triggers the summarization of the current session, creating a new session with the summary |
495| Compact Session | Manually triggers the summarization of the current session, creating a new session with the summary |
497## MCP (Model Context Protocol)
497## MCP (Model Context Protocol)
499−OpenCode implements the Model Context Protocol (MCP) to extend its capabilities through external tools. MCP provides a standardized way for the AI assistant to interact with external services and tools.
499+Crush implements the Model Context Protocol (MCP) to extend its capabilities through external tools. MCP provides a standardized way for the AI assistant to interact with external services and tools.
501### MCP Features
501### MCP Features
@@ -537,7 +537,7 @@ Once configured, MCP tools are automatically available to the AI assistant along
538## LSP (Language Server Protocol)
538## LSP (Language Server Protocol)
540−OpenCode integrates with Language Server Protocol to provide code intelligence features across multiple programming languages.
540+Crush integrates with Language Server Protocol to provide code intelligence features across multiple programming languages.
542### LSP Features
542### LSP Features
@@ -576,13 +576,13 @@ While the LSP client implementation supports the full LSP protocol (including co
577## Using a self-hosted model provider
577## Using a self-hosted model provider
579−OpenCode can also load and use models from a self-hosted (OpenAI-like) provider.
579+Crush can also load and use models from a self-hosted (OpenAI-like) provider.
580This is useful for developers who want to experiment with custom models.
580This is useful for developers who want to experiment with custom models.
582### Configuring a self-hosted provider
582### Configuring a self-hosted provider
584You can use a self-hosted model by setting the `LOCAL_ENDPOINT` environment variable.
584You can use a self-hosted model by setting the `LOCAL_ENDPOINT` environment variable.
585−This will cause OpenCode to load and use the models from the specified endpoint.
585+This will cause Crush to load and use the models from the specified endpoint.
588LOCAL_ENDPOINT=http://localhost:1235/v1
588LOCAL_ENDPOINT=http://localhost:1235/v1
@@ -625,7 +625,7 @@ go build -o crush
626## Acknowledgments
626## Acknowledgments
628−OpenCode gratefully acknowledges the contributions and support from these key individuals:
628+Crush gratefully acknowledges the contributions and support from these key individuals:
630- [@isaacphi](https://github.com/isaacphi) - For the [mcp-language-server](https://github.com/isaacphi/mcp-language-server) project which provided the foundation for our LSP client implementation
630- [@isaacphi](https://github.com/isaacphi) - For the [mcp-language-server](https://github.com/isaacphi/mcp-language-server) project which provided the foundation for our LSP client implementation
631- [@adamdottv](https://github.com/adamdottv) - For the design direction and UI/UX architecture
631- [@adamdottv](https://github.com/adamdottv) - For the design direction and UI/UX architecture
@@ -634,7 +634,7 @@ Special thanks to the broader open source community whose tools and libraries ha
635## License
635## License
637−OpenCode is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
637+Crush is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
639## Contributing
639## Contributing