Might be a dumb question but do you have to read the files in the same order in new sessions to ensure the correct prefix for the cache?
HN user
halfwhey
My two favorite tmux QoL improvements are enabling seamless navigation between neovim and tmux (there are many plugins but i use this one https://github.com/aserowy/tmux.nvim) and extrakto which lets you fuzzy select anything in the tmux buffer and insert into the cursor or copy it to the clipboard. (https://github.com/laktak/extrakto)
The extra stuff is that you can automate interactions with Claude Code sessions using a CLI (which just tmux send-keys under the hood), an HTTP server, and ACP server (so you can embed claude code in other IDEs), and typescript library. So it's meant to make CC more embeddable in your workflows.
Not everyone has tmux. I default to tmux if you have it and fallback to xterm.js
Some people open a claude code session and just talk with it. And some use hooks, custom commands, agent-teams..and so on. You can definitely be a power user. But I’m sure whether that translates to actual “power” is up for debate.
MIT License added
Fixed
That's a good point, I'll look into tackling this soon
This is my interpretation as well, Anthropic wants to be in full control of the connection between the client and their servers, and that's compatible with what I'm trying to do.
Codex and Gemini have ACP servers already:
https://github.com/zed-industries/codex-acp https://geminicli.com/docs/cli/acp-mode/
In fact Codex, in OpenAI fashion, have their own protocol as well:
https://developers.openai.com/codex/app-server
Opencode too. These tools are already so programmable and embeddable, it's just Claude Code is a sticking point. But maybe it would be useful to provide a unified CLI and Daemon for all of them.
That’s neat I was working on a skill for this exact purpose:
https://github.com/halfwhey/skills/tree/master/plugins/tmux
Two use cases I use this for is debugging with GDB/PDB and giving me walkthroughs on how to use TUIs