claude-compact-controller v1.0.0
claude-compact-controller v1.0.0
First tagged release of the zero-dependency Node.js Claude Code hook bundle that guards against
context loss across auto-compaction (Stop / PreCompact / PostCompact hooks + install/uninstall/status).
Hardened in this release:
- Atomic writes (tmp + rename, 0600) for the shared state/config/vault files, matching the catalyst-ui
consumer; robust stdin parsing (BOM / CRLF / empty); vault-prune off-by-one fixed. status.js --jsonfor machine-readable state; configurable install path
(CLAUDE_COMPACT_CONTROLLER_HOME) with catalyst-ui-aligned dedupe so the two installers never clash.hookEventNameadded to hook output; newdocs/DATA-CONTRACT.mdfreezing the on-disk contract.
Install: npm run install-hooks (needs node on PATH; restart Claude Code after).