Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

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

v2.0.0 - Major Release

05 Feb 20:22
12a422b

Choose a tag to compare

What's Changed

New Features

  • Compress Tool - New boundary-string matching conversation collapse tool for managing long conversations
  • Standardized DCP Tools - Unified Distill, Compress, and Prune as the core context management toolkit
  • Prompt System Rewrite - Complete overhaul of the prompt system with build-time generation for better maintainability
  • Token Usage Tracking - Real-time session token tracking with configurable contextLimit
  • Secure Mode Auth - HTTP Basic Auth support via OPENCODE_SERVER_PASSWORD environment variable
  • Toast Notifications - Configurable pruneNotificationType for notification style
  • Full Tool Pruning - Edit and write tool outputs are now prunable (no longer protected by default)
  • supersedeWrites Enabled by Default - Write tool outputs are automatically superseded
  • Message Count Tracking - Message counts now displayed in stats and context info
  • apply_patch and multiedit Support - File path extraction for apply_patch and multiedit tools
  • XDG Base Directory Support - Respects XDG_CONFIG_HOME and XDG_DATA_HOME environment variables
  • Tool Permission Config - New ask/allow/deny permission model replacing boolean config

Fixes

  • Opus 4.6 fix for unsupported prefill errors
  • Improved error messages across all DCP tools
  • Various bugfixes and performance improvements

Other

  • Relicensed to AGPL-3.0
  • Documentation and provider guidance improvements (cache limits, uniform pricing providers)

Contributors

Full Changelog: v1.2.8...v2.0.0

Morty Proxy This is a proxified and sanitized view of the page, visit original site.