github Opencode-DCP/opencode-dynamic-context-pruning v3.1.0
v3.1.0 - Add experimental message-mode compression

5 hours ago

What's Changed

  • Add experimental compress.mode: "message", which lets DCP compress individual raw messages instead of only full ranges.
  • Prioritize compression targets by message size, keep protected refs and completed compress calls visible, and preserve IDs across multipart content for more reliable message-mode behavior.
  • Improve range mode with multi-range compression support and add compress.summaryBuffer so active summaries can extend the effective maxContextLimit in long sessions.
  • Fix stale token and message-id handling after native /compact, count tool arguments more accurately, and clean up prompt/schema/config behavior.
  • Add the scripts/opencode-message-token-counts inspector, expand compression and token-usage test coverage, and add GitHub issue templates.

Full Changelog: v3.0.4...v3.1.0

Don't miss a new opencode-dynamic-context-pruning release

NewReleases is sending notifications on new releases.