Repository navigation
conPACT 1.3.2
conPACT 1.3.2 is the first public release. conPACT lets a coding agent compact its own context when a piece of work is finished, in Claude Code and in ChatGPT Desktop's Codex, after its final answer and without clearing the visible conversation.
What it does:
- Agent-initiated compaction. The agent calls
queue_compaction(MCP) at the end of verified work, optionally with a focus for the summary and a minimum context size. The session is compacted after the turn ends, exactly once. - Claude Code. A Claude Code plugin compacts the session in process: in the terminal through the same operation
/compactuses, and in the Desktop app's Code tab by running/compact. A row above the prompt follows the request: queued (with cancel), compacting, then before and after, with a meter, the saving and the time. Where the plugin cannot load, a Stop hook sends/compactover Remote Control. - Idle toast. Before an idle session's prompt cache expires, a small notification offers to compact it, or does so automatically if you ask.
- ChatGPT Desktop (Codex). A sidecar compacts live Codex threads on Windows, macOS and Linux, and confirms each compaction from the thread's own record before reporting success.
This release changes no behaviour from 1.3.1. It tidies the repository for publication: the records and test data no longer name private sessions or projects, and real thread ids are replaced with placeholders. The project's earlier history is folded into this one commit; CHANGES.md keeps every change since the first version.
Thanks to @LanceSandino for the macOS support, Codex CLI compaction and the read-only doctor, the macOS sidecar's move to ChatGPT Desktop's new layout, and confirming compactions with very large history records.
Validation: the Windows suite passes on this tree, as does the plugin's own suite through Claude Code's test host, with strict plugin validation. The wheel and source archive are built from the tagged commit; the wheel was installed in a fresh environment and its command-line help checked. Linux and macOS were last run in full before 1.3.0.