The hard part was picking when to trigger it. Too early and you're throwing away useful context. Too late and the model's already struggling. I ended up just using a simple token count — nothing clever, but it works.
And yeah, the Swift angle was genuinely fun. Defining tool schemas as Codable structs that auto-generate JSON schemas at compile time, getting compiler errors instead of runtime API failures is a huge win.
I used python+rich, but window resize wrecks UI layout
This isn't the issue with nodejs based stuff.
Also, brave calling it swift-claude-code given Anthropics behavior.
On the naming fair point, already renamed the CLI binary after an earlier comment here. The repo name is more about discoverability.