Skip to content

Releases: open-compress/claw-compactor

v7.1.0 — Modular Architecture + Repo Polish

20 Mar 00:02

Choose a tag to compare

What's New

Modular Architecture

  • engram.py split (793 → 425 lines): Extracted engram_http, engram_llm, engram_utils modules 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 \s matching that broke base64 padding when multiple inline images appeared in the same text
  • Python 3.9 compat: Fixed list | None and tuple[...] type syntax in test_rewind.py
  • MkDocs config: Fixed admonitionsadmonition extension 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

18 Mar 22:32

Choose a tag to compare

Fix: explicit package list instead of symlink for proper wheel builds in CI environments.

v7.0.1 — Fix PyPI packaging

18 Mar 22:28

Choose a tag to compare

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.* to claw_compactor.*
  • pyproject.toml now uses package-dir mapping for proper package structure
  • compressed_context import made optional in FusionEngine
  • CLI entry point updated to claw_compactor.cli:main

Verified

  • pip install claw-compactorfrom claw_compactor.fusion.engine import FusionEngine works
  • 1661 tests passed, 13 skipped

v7.0.0 — 14-Stage Fusion Pipeline

18 Mar 21:36

Choose a tag to compare

See CHANGELOG.md for details

v6.0: Claw Compactor 🦞 — The 98% Crusher

10 Feb 00:27

Choose a tag to compare

Claw Compactor Banner

🦞 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
  • install command 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 install

Quick Start

python3 scripts/mem_compress.py /path/to/workspace benchmark
python3 scripts/mem_compress.py /path/to/workspace full