github charmbracelet/crush v0.4.0

latest releases: v0.26.0, v0.25.0, v0.24.0...
4 months ago

Yolo, Builtins, Perf and More Mouse

Another day, another release. We've been working hard on Crush! Let's see what's new.

Yolo on Demand

Yolo Mode is when you bypass all permission dialogs and let Crush run free.

So far, you've been able to start Crush in Yolo Mode with crush --yolo. The thing about yolo'ing, however, is that you never know when the desire to yolo might strike. That's why we added a yolo toggle to the menu. Just press ctrl+p and choose Toggle Yolo Mode to yolo and un-yolo to your heart's content.

Warning

Yolo Mode is cray cray and can theoretically really mess stuff up. Be careful.

Mouse Around Your Diffs

Real developers use mice. That’s why we introduced mouse mode in the diff view. Keep using those mice!

Windows Powerups

We love Windows. It's great for gaming, and great for Crushing. Windows users now have the following coreutils built-in:

  • base64
  • gzip
  • mktemp
  • shasum
  • tar

For everyone else: because these utilities are now compiled in they're much faster as there's no longer a need to shell out to them.

CPU: Now Less CPU-y

We did some work deep under the hood to prevent rogue CPU spikes, so Crush should now run better than ever.

Env Prefixes

Want to restrict environment variables to Crush? Thanks to @taigrr, now you can with a CRUSH_ prefix. So go on, set that CRUSH_ANTHROPIC_API_KEY.

Thank You

💘 Your feedback's been so helpful in helping us understand what you want where your pain points are. Thanks, everyone, and please keep it coming.

Changelog

New!

Fixed!

Perf

Other Stuff


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/crush/releases/download/v0.4.0/checksums.txt'

Then, verify it using cosign:

cosign verify-blob \
  --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --cert 'https://github.com/charmbracelet/crush/releases/download/v0.4.0/checksums.txt.pem' \
  --signature 'https://github.com/charmbracelet/crush/releases/download/v0.4.0/checksums.txt.sig' \
  ./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 Twitter, Discord, Slack, The Fediverse.

Don't miss a new crush release

NewReleases is sending notifications on new releases.