Skip to content

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

v1.0.0-beta.2 - Fix nudge counter reset

15 Dec 01:02

Choose a tag to compare

Pre-release

What's Changed

  • Fix nudge counter to properly reset after prune tool is used
  • Increase MAX_TOOL_CACHE_SIZE from 500 to 1000 for better session handling
  • Refactor sync logic to correctly track nudge counter across session restarts

Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2

v0.4.17 - Fix case-sensitive tool ID matching

11 Dec 16:46

Choose a tag to compare

What's Changed

  • Fix case-sensitive tool ID comparison in pruning logic that could cause re-processing of already pruned tools
  • Improve lookup performance by using Set instead of array includes()

Full Changelog: v0.4.16...v0.4.17

v0.4.16 - Fix tool result counting on session restart

11 Dec 16:26

Choose a tag to compare

What's Changed

  • Fix tool result counting to not re-count already-pruned tools when a session is restarted
  • Properly clear tool tracker state (seenToolResultIds, skipNextIdle) when switching sessions
  • Prevent premature pruning threshold from being reached after session restart

Full Changelog: v0.4.15...v0.4.16

v0.4.15 - Auto-configure prune as primary tool

11 Dec 04:03

Choose a tag to compare

What's Changed

  • Automatically register prune tool as a primary tool via config hook, eliminating manual experimental.primary_tools configuration
  • Simplify setup by removing the now-unnecessary config from README
  • Clean up redundant subagent check (now handled by OpenCode's primary_tools mechanism)
  • Update @opencode-ai/plugin devDependency

Full Changelog: v0.4.14...v0.4.15

v0.4.14 - Recommend @latest tag

10 Dec 03:11

Choose a tag to compare

What's Changed

  • Update README to recommend @latest tag instead of version pinning for simpler updates
  • Update version notification toast to suggest using @latest for auto-updates

Full Changelog: v0.4.13...v0.4.14

v0.4.13 - Use user messages for prunable list injection

10 Dec 03:03

Choose a tag to compare

What's Changed

  • Revert prunable tool list injection from assistant messages back to user messages for better compatibility with various model providers
  • Add improved message guidance for the prunable tools list

Full Changelog: v0.4.12...v0.4.13

v0.4.12

09 Dec 15:59

Choose a tag to compare

What's Changed

  • Add write and edit to protected tools
  • Fix nudge injection to insert before tool_use blocks (Anthropic)
  • Remove autoUpdate feature and simplify version checking
  • Remove redundant tool list from config comment
  • Update demo image in README

Note: Versions 0.4.3-0.4.11 were unlisted from npm.

Full Changelog: v0.4.11...v0.4.12

v0.4.11 - Fix autoUpdate documentation

09 Dec 07:11

Choose a tag to compare

What's Changed

  • Fix README to accurately document that autoUpdate is disabled by default (opt-in, not auto-enabled)
  • Update description text to clarify DCP "checks for" updates rather than "automatically updates"
  • Correct config table default value from true to false

Full Changelog: v0.4.10...v0.4.11

v0.4.2 - Fix prune tool agent detection

04 Dec 17:53

Choose a tag to compare

What's Changed

  • Fix agent detection in prune tool for consistent notifications between manual and GC pruning
  • Refactor to fetch messages once and reuse for both agent detection and token calculation

Full Changelog: v0.4.1...v0.4.2

v0.4.1 - Documentation update

04 Dec 02:29

Choose a tag to compare

What's Changed

  • Add showUpdateToasts config option to README documentation

Full Changelog: v0.4.0...v0.4.1