Skip to content

v3.1.0 - Add experimental message-mode compression

Choose a tag to compare

@Tarquinen Tarquinen released this 25 Mar 02:06
· 28 commits to master since this release
74b5ffc

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