@prxy-official/compaction-bridge

Compaction Bridge✓ Verified

Survives Claude Code's auto-compaction without state loss. Detects post-compaction requests and re-injects the most relevant pieces of the most recent eviction archive into the system prompt.

contextv1.0.0MITcloudlocal#context#claude-code#compaction#state-preservation

Install

# Cloud
PRXY_PIPE=mcp-optimizer,semantic-cache,@prxy-official/compaction-bridge

# Local
# Built-in module — ships with the gateway, no install needed
PRXY_PIPE=mcp-optimizer,semantic-cache,@prxy-official/compaction-bridge

Add this module to your PRXY_PIPE env var. The order matters — modules run left-to-right on each request.

Configuration

Schema: https://github.com/Ekkos-Technologies-Inc/prxy-monster/blob/main/packages/modules-core/src/compaction-bridge.ts

Author

ekkOS Technologies Inc. · @Ekkos-Technologies-Inc