Long Sesh in Claude Max? No problem.
This release improves how Crush refresh tokens from Claude Code or API key templates. It'll now automatically refresh when it expires and continue transparently. This affected long session only (8+ hours), and was only partially working until now. Kudos to @taciturnaxolotl for reporting and helping with this fix!
Additionally, @taigrr made a change to sort sessions by activity instead of creation on the dialog opened by ctrl+s.
@meowgorithm also fixed the need to press ctrl+c twice to close crush run. Pressing a single time will now work.
Happy coding! 🎄
Changelog
Fixed
- ab55cb6: fix(claude): add authentication refresh on 401 errors (#1581) (@taciturnaxolotl)
- 3c7ee39: fix(noninteractive): cancel on signal (#1584) (@meowgorithm)
- be746ce: fix: typo choise -> choice (#1579) (@caarlos0)
Other stuff
- 4097732: perf: improve startup, specifically provider updates (#1577) (@caarlos0)
- 94a8750: sort sessions by most recently used instead of creation (#1467) (@taigrr)
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.22.2/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.22.2/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.txtIf 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.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.