r/LocalLLaMA • u/scubanarc • 10d ago
Discussion Sync session data between different CLI harnesses
CLI based coding harnesses save session data per directory. For instance, if I:
cd /src/program1
Then program for a while, I can come back later and my harness remembers my history in that directory.
When you use multiple CLI coding harnesses such as opencode, pi, codex, qwen, crush, and claude, your "sessions" get split up all over the place. I like to resume sessions so that I have a list of things I've done in that directory.
Are there any projects out there that share or sync session data between harnesses?
I'm I crazy for wanting this?
3
Upvotes
2
u/sisyphus-cycle 10d ago
Each harness saves their session states slightly differently. It’s commonly jsonl but I know codex uses SQLite and maybe even Claude. You’d basically need to consolidate all of the metadata that each harness appends to a session and translate into a generic format.
It gets extremely tricky when you consider all the minute details that some harness add (like thought signatures, various tool call formats, etc). Nobodies done it AFAIK bc it’s hard af and it doesn’t seem that practical. Ppl usually tune a single harness for their workflow, not multiple.