Repository navigation
Workaround tool: rescue ZCode sessions when /compact hangs or fails on very long contexts #1283
cuixu524541577
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If
/compact(or auto-compact) hangs for many minutes or fails on a very long session (hundreds of thousands of tokens — e.g.context_exceeded,unexpected EOF,retryable=false), here's an unofficial workaround I built while waiting for an official fix:https://github.com/cuixu524541577/zcode-rescue (MIT, single-file Python/tkinter,
启动.batlauncher for Windows)What it does:
~/.zcode/cli/db/db.sqliteto.bak(one-click restore)Caveats:
.bakand please open an issue.Feedback welcome. Hopefully this becomes unnecessary once compaction gets budget checks / chunking upstream.
All reactions