Repository navigation
Client/server, OSC 7511, Turtle π’
Lots of new stuff in this one, plus a ton of fixes. Read on!
Second life π
Terminals that support the Program Resume Protocol (OSC 7577), such as Rex, can now bring Crush back after they restart, whether from an update, a crash, or a reboot. You'll land in the same session, in the same project folder. If you started Crush with a custom data folder or server, those come back too.
Client/Server Mode, Now in Your Config
Client/server mode has had a lot of fixes over the last few releases, and now it's ready to release. Turn it on as an experimental feature:
# crushrc
option experimental client-server true
option experimental server-ready-timeout 30
option experimental server-idle-timeout 60
option experimental server-detach-grace 10Or in JSON:
"options": {
"experimental": {
"client_server": true
}
}Read more on this here!
Watch Commands Run
Now Bash output streams into the chat while the command runs, and switches to the final result when it's done. Thanks @KunoDLK!
Change Your Mind Mid-Run
You can now switch the model and the reasoning effort while the agent is working, without waiting for it to finish!
Turtle Core Utilities π’
Crush's built-in core utilities now come from charm.land/turtle, our new implementation. You choose how they're used with an setting:
# crushrc
option coreutils turtle # always use turtle
option coreutils system # prefer system tools, fall back to turtle
option coreutils auto # turtle on Windows, system elsewhere
option coreutils off # turn it off entirelySecurity
In client/server mode, the server returned each workspace's full environment, API keys and tokens included, to any client that listed workspaces. Workspace responses now leave the environment out. Clients still send it when creating a workspace, so tools and shells run with the right variables. If you've used client/server mode, we recommend upgrading. (#4391)
There is so much more, read below ππ»
Have a wonderful week,
Charm XX π
Changelog
New!
- cff5006: feat(mcp): cap large tool output and fix doc link (#4436) (@andrinoff)
- 4971300: feat(server): add to config as "experemental" feature (#4324) (@andrinoff)
- ee51fe8: feat(ui): show bash and job output live while commands run (#4276) (@KunoDLK)
- 3d00da8: feat: allow to change the model and reasoning during a run (#4325) (@andrinoff)
- fb46436: feat: integrate
charm.land/turtlecore utilities (#4423) (@andreynering) - f79634b: feat: program resume protocol (OSC 7577) (#4434) (@andrinoff)
Fixed
- 47b4166: fix(cmd): let crush session follow the client_server config option (#4415) (@andrinoff)
- 963ec05: fix(cmd): make --host connect to the server and read sessions there (#4394) (@andrinoff)
- b9ffb03: fix(cmd): resolve relative --host and --prompt paths before using --cwd (#4417) (@andrinoff)
- aba74b5: fix(cmd): show the workspace creation error once instead of twice (#4395) (@andrinoff)
- 9a8b845: fix(cmd): stop commands hanging on exit when the server stops answering (#4408) (@andrinoff)
- b21ff3f: fix(cmd): stop crush logout from starting a server in local mode (#4413) (@andrinoff)
- 56a64e4: fix(cmd): warn about the permission mode a project really runs in (#4416) (@andrinoff)
- 7fa693e: fix(config): make crushrc exports reach Crush and stop expanding values twice (@taciturnaxolotl)
- d638d3b: fix(mcp): keep MCP servers running after the call that started them (#4407) (@andrinoff)
- a787a05: fix(run): print the whole answer in crush run (#4270) (@AnyCPU)
- b0c450b: fix(server): keep --prompt overrides when a client reconnects (#4404) (@andrinoff)
- 0429368: fix(server): keep a server started with crush server running for other builds (#4410) (@andrinoff)
- b63cdbd: fix(server): keep a session's usage and summary when a client saves it (#4402) (@andrinoff)
- 76f74e4: fix(server): keep plan mode in step across windows on a project (#4418) (@andrinoff)
- 66ef121: fix(server): resume a run waiting for re-login once the user signs in (#4403) (@andrinoff)
- 5637227: fix(server): send file history with its timestamps to clients (#4405) (@andrinoff)
- 56e0bda: fix(server): show global skill and MCP toggles in every window (#4409) (@andrinoff)
- 6e54ac2: fix(server): stop a new window from getting other sessions' prompts (#4406) (@andrinoff)
- 27aeb6c: fix(server): stop clients warning about other clients' session switches (#4401) (@andrinoff)
- e596bad: fix(server): stop crush server from leaking the env (#4391) (@andrinoff)
- 18bc386: fix(server): title sessions started with a ! command in client/server mode (#4411) (@andrinoff)
- 8fa8bb1: fix(ui): keep an open permission dialog when its request is sent again (#4414) (@andrinoff)
- 2609410: fix(ui): list the quit shortcut once on the project setup screen (#4400) (@andrinoff)
- d9a3849: fix(ui): show ! commands run from another window on the same session (#4412) (@andrinoff)
- aaf1eeb: fix: allow for session improvements (#4318) (@andrinoff)
Docs
- 70a46fb: docs: add the client / server mode specs (#4322) (@andrinoff)
- 535dad0: docs: move the channels out of the README (#4421) (@andrinoff)
Other stuff
- 07f4baf: Fix/bash process cleanup (#4339) (@janearc)
- 6ce1491: chore(nix): update nixpkgs so the dev shell's linter can read Go 1.27 packages (#4366) (@taciturnaxolotl)
- f84f6c6: chore: add a
.taskrc.yml(@andreynering) - 603a22a: ci(labeler): label on a schedule instead of pull_request_target (@taciturnaxolotl)
- 11cc53e: server: keep explicit servers and their workspaces alive (#4352) (@meowgorithm)
- db8e2ef: server: only log source in debug mode, with a short path (@meowgorithm)
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.103.0/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.103.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.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.
