Releases: open-compress/claw-compactor
Releases · open-compress/claw-compactor
v7.1.0 — Modular Architecture + Repo Polish
What's New
Modular Architecture
- engram.py split (793 → 425 lines): Extracted
engram_http,engram_llm,engram_utilsmodules for better maintainability - All backward-compatible re-exports preserved; no breaking changes
Repo Polish
- CI: Added pytest-cov coverage reporting + Codecov integration
- Docs site: MkDocs Material documentation auto-deployed to GitHub Pages
- Competitor comparison: Side-by-side table vs LLMLingua-2, SelectiveContext, gzip
- CONTRIBUTING.md: Expanded from stub to full contributor guide
- GitHub Topics: Improved discoverability with relevant topic tags
Bug Fixes
- Photon data-URI regex: Fixed greedy
\smatching that broke base64 padding when multiple inline images appeared in the same text - Python 3.9 compat: Fixed
list | Noneandtuple[...]type syntax in test_rewind.py - MkDocs config: Fixed
admonitions→admonitionextension name typo - CI: Badge deploy step no longer fails the entire CI run when GIST_TOKEN is missing
Test Results
- 1611 tests passing across Python 3.9, 3.10, 3.11, 3.12
Full Changelog: v7.0.2...v7.1.0
v7.0.2 — Fix wheel packaging for CI
Fix: explicit package list instead of symlink for proper wheel builds in CI environments.
v7.0.1 — Fix PyPI packaging
Fix: PyPI package now importable
v7.0.0 published an empty shell — import claw_compactor failed with ModuleNotFoundError.
Fixed
- All internal imports migrated from
lib.*toclaw_compactor.* pyproject.tomlnow usespackage-dirmapping for proper package structurecompressed_contextimport made optional in FusionEngine- CLI entry point updated to
claw_compactor.cli:main
Verified
pip install claw-compactor→from claw_compactor.fusion.engine import FusionEngineworks- 1661 tests passed, 13 skipped
v7.0.0 — 14-Stage Fusion Pipeline
See CHANGELOG.md for details
v6.0: Claw Compactor 🦞 — The 98% Crusher
🦞 Claw Compactor v6.0
Built by Bot777 🤖
Highlights
- 5 compression layers (rule engine, dictionary, observation, RLE, CCP)
- ~97% savings on session transcripts
- 50%+ savings on verbose workspaces
- 800+ tests, 10,800+ LOC
- Full CJK support
- Zero LLM cost — all deterministic
installcommand for one-click heartbeat auto-compression
Install
git clone https://github.com/aeromomo/claw-compactor.git
cd claw-compactor
python3 scripts/mem_compress.py /path/to/workspace installQuick Start
python3 scripts/mem_compress.py /path/to/workspace benchmark
python3 scripts/mem_compress.py /path/to/workspace full