Skip to content

v1.2.6 — New strategy: tool-use-result-strip (up to 50% savings)

Choose a tag to compare

@junaidtitan junaidtitan released this 22 Mar 21:59
· 515 commits to main since this release

New strategy: `tool-use-result-strip`

Claude Code stores full Edit diffs (`oldString`, `newString`, `structuredPatch`) in a top-level `toolUseResult` envelope field on every Edit operation. This field is never sent to the Claude API — it's purely internal UI metadata. Cozempic was previously blind to it.

Real-world impact on this session: 6.52MB saved (48.1%) — 13.55MB → 6.65MB.

Added to the standard and aggressive prescriptions. Avg ~6.5KB per Edit call.

pip install --upgrade cozempic