github charmbracelet/crush v0.105.0

one hour ago

Plugins and a whole lot faster 🔌

A huge one! You can now extend Crush with plain Bash plugins that add providers and tools. Configure more and enjoy a faster Crush.

Plugins

A plugin is a Bash script that adds providers or tools to Crush. If you've written a crushrc, you already know how: it's the same commands.

Put one in ~/.config/crush/plugins/, or in .crush/plugins/ to keep it to a project, and Crush loads it the next time it starts. You can also install plugins straight from GitHub:

crush plugin install example/crush-plugins
crush plugin update
crush plugin list

Bring any provider

Provider plugins can do much more than set a URL and a key. They can sign in with OAuth, including the device flow over SSH, fetch your models, and show how much quota you have left in crush usage and the sidebar.

provider add example \
  --type completions \
  --base-url "https://api.example.com/v1" \
  --oauth-issuer "https://auth.example.com" \
  --oauth-client-id crush

Then run crush login example and you're in.

Read more here

Bring your own tools

Tool plugins give the agent new tools backed by any shell command.

tool add jira_search \
  --description "Search Jira issues with a JQL query" \
  --param jql "The JQL query" --required jql \
  --command 'curl -fsS -G -H "Authorization: Bearer $JIRA_TOKEN" \
    --data-urlencode "jql=$jql" https://jira.example.com/rest/api/2/search'

Custom tools ask before they run, and the prompt shows the exact command. A single tool can bundle a set of related actions, so you can wrap a whole CLI without ten separate tools.

Read more here

Caution

A plugin is ordinary Bash that runs with your permissions every time Crush starts. Nothing is signed or sandboxed, so only install plugins you trust, and read them first.

More configs!

Pick a default mode! Start in normal, yolo, sysadmin or plan.

option default-mode plan

Pick your skill folders. Choose which global skill folders load, for example to skip ~/.claude/skills.

option global-skill-path ~/.config/crush/skills

Turn off subagents:

option subagents false

Keep the prompt cache warm! Crush can keep the cache from expiring during long tool runs, so the next turn stays fast and cheap.

option cache-warming true

Set your scroll speed: use options.tui.scroll_speed to make the mouse wheel scroll faster or slower.

Background jobs

The agent can now list the background jobs it started and gets told when each one finishes, so it never has to keep checking. Jobs belong to their session, and the UI shows how many are running. Quitting no longer leaves stray processes behind.

Faster everywhere ⚡

Over 50 performance improvements! Startup and quitting are faster. Language servers start only when they're needed and come back sooner after a crash. Long chats, diffs and the sidebar redraw only what changed, and memory gets freed as messages finish. You'll feel it most in long sessions.

Big thanks to everyone who contributed to this release, and welcome to our first-time contributors! 💘

Have a nice week,
Forever cool, Charm 😎


Changelog

New!

Fixed

Docs

Other stuff


Verifying the artifacts

First, download the checksums.txt file and the checksums.txt.sigstore.json file files, for example, with wget:

wget 'https://github.com/charmbracelet/crush/releases/download/v0.105.0/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.105.0/checksums.txt.sigstore.json'

Then, verify it using cosign:

cosign verify-blob \
  --certificate-identity-regexp '^https://github.com/charmbracelet/crush/\.github/workflows/(release|nightly)\.yml@' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --bundle 'checksums.txt.sigstore.json' \
  ./checksums.txt

If the output is Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum:

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

Don't miss a new crush release

NewReleases is sending notifications on new releases.