github charmbracelet/crush v0.49.0

latest release: nightly
7 hours ago

Friday patch

Hope you had a great weekend! Here's a patch with some small fixes and improvements.

No background

Added new command on the command palette (ctrl+p) to toggle on/off the background color (a.k.a. enable "transparent mode"). This will be persisted.

Screenshots image image

Easier Bedrock

If you use AWS Bedrock, you'll now be able to just paste your API key in the input as any other provider.

Before, it was working only via environment setup (AWS_BEARER_TOKEN_BEDROCK env or aws login).

Updated OpenAI SDK from v2 to v3

Note that this SDK is used not only for OpenAI, but for any provider that is OpenAI compatible.

This might look like a technical detail, but it means we're covered with the latest bug fixes. A couple users confirmed this fixed some rare errors on some providers.

auto_background_after

@portertech contributed by adding a new auto_background_after param to the Bash tool.

With this param, the model can ask Crush how many seconds it should wait before moving that command into a background job. Before it was always 60 seconds, which is still the current default.

Enjoy your weekend!
The Charm team ™️

Changelog

New!

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.49.0/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.49.0/checksums.txt.sigstore.json'

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' \
  --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.