Skip to content

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

v2.1.7 - Prune origin tracking and sync improvements

21 Feb 19:43
87d9ee4

Choose a tag to compare

What's Changed

  • Track prune origins to improve undo reconciliation behavior
  • Add sync message flow and rename reconcile to sync origins
  • Prevent compress tool summary modification during prune
  • Add write/edit to default protected tools and skip already-pruned IDs

Full Changelog: v2.1.6...v2.1.7

v2.1.6 - SQLite migration and prune hardening

19 Feb 05:02
b9f0018

Choose a tag to compare

What's Changed

  • Migrated opencode helper scripts from API-backed reads to sqlite-backed access for session/message tooling.
  • Added malformed-summary guards in pruning logic to prevent invalid compress operations.
  • Bumped package version metadata to 2.1.6 for release.

Full Changelog: v2.1.5...v2.1.6

v2.1.5 - Compress permission gating update

18 Feb 14:21
49d5c61

Choose a tag to compare

What's Changed

  • Gate message ID injection when compress tool permission is denied.
  • Update message injection and prompt handling for compress permission checks.
  • Bump package version to 2.1.5.

Full Changelog: v2.1.4...v2.1.5

v2.1.4 - Compress ID boundary migration and stability fixes

18 Feb 07:22
761569e

Choose a tag to compare

What's Changed

  • Migrated compress to use message ID boundaries and block placeholders, improving reliability while preserving context links during compression.
  • Added deterministic synthetic injection IDs to make compression targeting stable across turns.
  • Bug fixes

Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3 - compress summary handling fix

11 Feb 20:35
a49cf11

Choose a tag to compare

What's Changed

  • Fix compress summary prefix handling

Full Changelog: v2.1.2...v2.1.3

v2.1.2 - Bug fixes for compress tool

11 Feb 19:16
8ec0dde

Choose a tag to compare

What's Changed

  • fix: Compress tool now works hopefully

Full Changelog: v2.1.1...v2.1.2

v2.1.1 - Prompt guidance update

10 Feb 23:20
11e3774

Choose a tag to compare

What's Changed

  • Improve prompt guidance for reliable compress boundary matching.

Full Changelog: v2.1.0...v2.1.1

v2.1.0 - Manual mode, model-specific limits, and compress fixes

10 Feb 19:50
c01cbf2

Choose a tag to compare

What's Changed

New Features

  • Manual Mode Controls - New manual mode for context management tools, giving users direct control over when DCP tools run. Includes /dcp commands with focus arguments, ephemeral trigger prompts via chat transform, and configurable manual mode settings
  • Model-Specific Context Limits - New toolSettings.modelLimits config allows per-model context limits as absolute token values or percentages, with contextLimit as fallback (#366)

Fixes

  • Compress boundary matching - Fix compress tool to correctly search transformed message views for start/end boundary strings (#375)
  • Compress token calculation - Fix bugs related to compress tool calculating tokens incorrectly
  • Compress multi-match error - Fix compress tool incorrectly finding multiple start and end strings then erroring out
  • Map null assertions - Fix unsafe non-null assertions in Map operations (#369)

Improvements

  • Refactor: use pre-computed token counts in prune state instead of re-scanning messages
  • Refactor: simplify manual trigger return type for cleaner control interface
  • Refactor: internalize manual-mode guards into strategies
  • Docs: add manual mode config and commands to README

Contributors

Full Changelog: v2.0.2...v2.1.0

v2.0.2 - Fuzzy compress matching improvements

07 Feb 02:55
9aa2692

Choose a tag to compare

What's Changed

  • Significant improvements to compact tool validation

Full Changelog: v2.0.1...v2.0.2

v2.0.1 - Percentage contextLimit support

06 Feb 20:56
7883615

Choose a tag to compare

What's Changed

Features

  • Percentage contextLimit support - Configure contextLimit with percentage values like "60%" instead of just absolute token counts

Improvements

  • Default contextLimit now set to 60% for optimal context management
  • Default compress permission changed to deny, this tool is experimental for now

Breaking Changes

  • Removed "model" option from contextLimit configuration - use percentage or absolute values instead

Contributors

Full Changelog: v2.0.0...v2.0.1