Skip to content

Releases: Opencode-DCP/opencode-dynamic-context-pruning

v3.1.5 - Bug fixes and injection improvements

28 Mar 20:27
476d670

Choose a tag to compare

What's Changed

  • Fix: Check hasContent before appending nudge to assistant text parts
  • Refactor: Inject assistant message IDs into last part instead of every part
  • Fix: Clarify DCP ID span semantics in compress prompts

Full Changelog: v3.1.4...v3.1.5

v3.1.4 - Harden injection and pruning logic

27 Mar 18:01
32d053a

Choose a tag to compare

What's Changed

  • Tighten deny handling during message processing.
  • Harden assistant injection guards to prevent unsafe message injection.
  • Simplify hallucination stripping and add regression coverage for hook permissions and message priority.

Full Changelog: v3.1.3...v3.1.4

v3.1.3 - Bug fix and code cleanup

26 Mar 20:02
30256bb

Choose a tag to compare

What's Changed

  • Fix: Skip message ID injection on empty assistant messages (#463)
  • Refactor: Simplify hooks imports
  • Refactor: Move manual trigger handling out of hooks

Full Changelog: v3.1.2...v3.1.3

v3.1.2 - improve compression reporting and XML tag cleanup

26 Mar 01:49
f537689

Choose a tag to compare

What's Changed

  • Improved compress notifications with net savings and compression ratio details.
  • Hardened hallucination stripping to remove stray dcp-prefixed XML tags more reliably.
  • Refined token usage formatting helpers and aligned OpenCode SDK/plugin dependencies.

Full Changelog: v3.1.0...v3.1.2

v3.1.1 - Fix hallucination stripping for dcp-prefixed XML tags

25 Mar 16:44
8105874

Choose a tag to compare

What's Changed

  • Fix: Broadened hallucination stripping to catch all dcp-prefixed XML tags instead of only specific ones

Full Changelog: v3.1.0...v3.1.1

v3.1.0 - Add experimental message-mode compression

25 Mar 02:06
74b5ffc

Choose a tag to compare

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

v3.0.4 - Bug fixes and config improvements

16 Mar 03:51
55e19ab

Choose a tag to compare

What's Changed

  • config: Raise default compress thresholds for better context management
  • compress: Ignore invalid block placeholders instead of erroring
  • prompts: Fix override tag parsing

Full Changelog: v3.0.3...v3.0.4

v3.0.3 - Fix compress subagent refs and metadata tag leaking

13 Mar 20:07
71a37b7

Choose a tag to compare

What's Changed

  • Fix compress tool to rebuild message refs when operating in subagent context
  • Add instruction to prevent model from outputting injected XML metadata tags
  • Add compress subagent integration test

Full Changelog: v3.0.2...v3.0.3

v3.0.2 - Fix host permissions compatibility

13 Mar 10:53
2afc188

Choose a tag to compare

What's Changed

  • Replace findLast with compatible alternative in host permissions for broader runtime support

Full Changelog: v3.0.1...v3.0.2

v3.0.1 - Prompt and permissions improvements

12 Mar 21:44
5b7ee5b

Choose a tag to compare

What's Changed

  • Update context management guidance in compress prompts
  • Align compress gating with opencode host permissions
  • Standardize dcp-system-reminder XML naming convention
  • Update demo readme images

Full Changelog: v3.0.0...v3.0.1