Description
The upstream Lossless Claw plugin uses English-biased token estimation, which underestimates Chinese, Japanese, and Korean character costs by roughly 2-4x. In practice that makes compaction fire at the wrong moment and causes context windows to overflow without warning.
Lossless Claw Enhanced is a fork that corrects the CJK mapping (closer to 1.5 tokens per character) and cherry-picks a set of upstream fixes around authentication errors, session rotation, and empty message accumulation. It is the more practical choice whenever the conversation is CJK-heavy and you still want the DAG-based lossless context model.
- CJK token estimation corrected from ~0.25 to ~1.5 tokens per character.
- Cherry-picked fixes for authentication errors, session rotation, and empty message accumulation.
- Drop-in replacement that keeps the DAG-based lossless context model from the upstream plugin.