Repository navigation
Thanks to @sircoderin for #11, with the transcript figures that pinned it down.
Fixed
- After
/compactthe bar kept the size from before the compact (for example 285K instead of a few dozen K) and priced the next message on it. Claude Code still reports the old size when the compact finishes, so the bar now estimates the new size: the summary plus what comes back with it, never more than before. The next reply replaces the estimate with the real figure. (#11)
Changed
-
Sizes the bar used to assume are now learned from your own chats, as the median of your last 20:
- what Claude Code brings back after a
/compact(system, tools, recently read files); - for
/cmaxx-handoff: Haiku's input and output, and the brief's size. The fresh chat's start was already learned.
Defaults apply only until your first sample.
- what Claude Code brings back after a
Update with /cmaxx-update (terminal), or as the README describes for the desktop app and VS Code.