Skip to content
C

Crush v0.103.0

Released · Charm

Security fix

What the release notes say

Client/server, OSC 7511, Turtle 🐢

Lots of new stuff in this one, plus a ton of fixes. Read on!

Second life 🛟

<img width="1000" alt="Rex demo" src="https://github.com/user-attachments/assets/6c0aed7f-7a2e-40be-884b-2ecab27f482d" />

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 10

Or in JSON:

"options": {
  "experimental": {
    "client_server": true
  }
}

Read more on this here!

Watch Commands Run

<img width="1000" alt="Live output" src="https://github.com/user-attachments/assets/7feb2660-fcd9-4750-99b5-1c020aec9e9a" />

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

<img width="1000" alt="Switch model demo" src="https://github.com/user-attachments/assets/949fa43a-43a0-4378-9207-675d8b24776b" />

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 entirely

Security

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!

  • cff500642bbafdb8b290108bf60f3592ec993861: feat(mcp): cap large tool output and fix doc link (#4436) (@andrinoff)

  • 4971300bbf9e3ad6363dff9436818536b711c29e: feat(server): add to config as "experemental" feature (#4324) (@andrinoff)

  • ee51fe87bb306a945bf9057edf94f5574b192fd2: feat(ui): show bash and job output live while commands run (#4276) (@KunoDLK)

  • 3d00da85c17004fecc68a5f6d0c5a854aee336ba: feat: allow to change the model and reasoning during a run (#4325) (@andrinoff)

  • fb464363ff54e2dae6286b6ede8096fb51946d74: feat: integrate charm.land/turtle core utilities (#4423) (@andreynering)

  • f79634b5f58b9f6e7682841ff6a7ca30a8846745: feat: program resume protocol (OSC 7577) (#4434) (@andrinoff)

Fixed

  • 47b41662f55591ab8d9c226447d384204f5cd447: fix(cmd): let crush session follow the client_server config option (#4415) (@andrinoff)

  • 963ec056279666c5f6acedcdfdd43557dffbbfb1: fix(cmd): make --host connect to the server and read sessions there (#4394) (@andrinoff)

  • b9ffb038d96e8495744fc36be7297763147bf796: fix(cmd): resolve relative --host and --prompt paths before using --cwd (#4417) (@andrinoff)

  • aba74b50c09d5487444a899cabeda44e16d1d90f: fix(cmd): show the workspace creation error once instead of twice (#4395) (@andrinoff)

  • 9a8b845337752b0a2c5df14d64aff2be9b1fa79d: fix(cmd): stop commands hanging on exit when the server stops answering (#4408) (@andrinoff)

  • b21ff3f723153820f9e7bd87aaa6b2886576e2b2: fix(cmd): stop crush logout from starting a server in local mode (#4413) (@andrinoff)

  • 56a64e41bace4425d8989bf54d1962dd750eeed8: fix(cmd): warn about the permission mode a project really runs in (#4416) (@andrinoff)

  • 7fa693e9373197be757fad530ca9b24634789e99: fix(config): make crushrc exports reach Crush and stop expanding values twice (@taciturnaxolotl)

  • d638d3b6bfb798862fcd8ae018ede748f0e8b5b9: fix(mcp): keep MCP servers running after the call that started them (#4407) (@andrinoff)

  • a787a05d887dcfea72a04fff3b9e3a4bd08c5000: fix(run): print the whole answer in crush run (#4270) (@AnyCPU)

  • b0c450b84d547778eae4dea4c222ca8e6f031380: fix(server): keep --prompt overrides when a client reconnects (#4404) (@andrinoff)

  • 04293685f90be381d456573817f9483ff9d88674: fix(server): keep a server started with crush server running for other builds (#4410) (@andrinoff)

  • b63cdbdf7763b7a5aee9813f80c3d33f2d2b4ac7: fix(server): keep a session's usage and summary when a client saves it (#4402) (@andrinoff)

  • 76f74e4c50378ac94f5af69b1b23653543adee3c: fix(server): keep plan mode in step across windows on a project (#4418) (@andrinoff)

  • 66ef12162c80982ae58702629ba98375ae13d818: fix(server): resume a run waiting for re-login once the user signs in (#4403) (@andrinoff)

  • 56372273e41fa91181b1006ce1e680d6efd31321: fix(server): send file history with its timestamps to clients (#4405) (@andrinoff)

  • 56e0bda307564a9adbfac6b03beaef3e51a8187d: fix(server): show global skill and MCP toggles in every window (#4409) (@andrinoff)

  • 6e54ac296b159b282433193d2dd21db51b0f2365: fix(server): stop a new window from getting other sessions' prompts (#4406) (@andrinoff)

  • 27aeb6cae5bb4d08a17d2e3a0f308b93f2b1cb53: fix(server): stop clients warning about other clients' session switches (#4401) (@andrinoff)

  • e596bad90522445cbf473fae3d4baa0bfc9a9fb3: fix(server): stop crush server from leaking the env (#4391) (@andrinoff)