Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
Opencode-DCP
/
opencode-dynamic-context-pruning
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
227
Star
4k
Code
Issues
36
Pull requests
15
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
merge dev into master (v2.0.0)
- #342
#342
Merged
Tarquinen
merged 123 commits into
master
Opencode-DCP/opencode-dynamic-context-pruning:master
from
dev
Opencode-DCP/opencode-dynamic-context-pruning:dev
Copy head branch name to clipboard
Feb 5, 2026
Conversation
Commits
123
(123)
Checks
Files changed
Merged
merge dev into master (v2.0.0)
#342
Tarquinen
merged 123 commits into
master
Opencode-DCP/opencode-dynamic-context-pruning:master
from
dev
Opencode-DCP/opencode-dynamic-context-pruning:dev
Copy head branch name to clipboard
Commits
Commits on Jan 30, 2026
WIP: dev stash changes
Tarquinen
committed
0d8147e
View commit details
Copy full SHA for 0d8147e
Browse repository at this point
feat: add squash tool and combo prompt variants
Show description for cd77e3d
Tarquinen
committed
cd77e3d
View commit details
Copy full SHA for cd77e3d
Browse repository at this point
refactor: use ulid for synthetic message ID generation
Show description for 278f862
Tarquinen
committed
278f862
View commit details
Copy full SHA for 278f862
Browse repository at this point
refactor: move squashSummaries to top-level state
Show description for 6ce83d6
Tarquinen
committed
6ce83d6
View commit details
Copy full SHA for 6ce83d6
Browse repository at this point
refactor: move squash utility functions to tools/utils.ts
Show description for 41a7c08
Tarquinen
committed
41a7c08
View commit details
Copy full SHA for 41a7c08
Browse repository at this point
fix: add secure mode authentication support
Show description for adfdd71
Tarquinen
committed
adfdd71
View commit details
Copy full SHA for adfdd71
Browse repository at this point
refactor: append context info to existing assistant messages instead of creating new ones
Tarquinen
committed
ca972e0
View commit details
Copy full SHA for ca972e0
Browse repository at this point
fix: improve discard/extract robustness and fix missing cache sync (DCP-305)
Tarquinen
committed
8e57d9d
View commit details
Copy full SHA for 8e57d9d
Browse repository at this point
v1.3.0-beta.1 - Bump beta version
Tarquinen
committed
db08fc3
View commit details
Copy full SHA for db08fc3
Browse repository at this point
docs: sync schema and README with implementation of protected tools
Tarquinen
committed
0e803ea
View commit details
Copy full SHA for 0e803ea
Browse repository at this point
docs: add ko-fi badge to README
Tarquinen
committed
80f1a7e
View commit details
Copy full SHA for 80f1a7e
Browse repository at this point
swap readme buttons
Tarquinen
committed
a39c766
View commit details
Copy full SHA for a39c766
Browse repository at this point
validate extraction is array
Tarquinen
committed
ff132f1
View commit details
Copy full SHA for ff132f1
Browse repository at this point
improve squash tool error messages to specify which boundary string failed
Tarquinen
committed
3470c06
View commit details
Copy full SHA for 3470c06
Browse repository at this point
revert prompt style to dev branch format with semantic improvements
Show description for d3cbf5d
Tarquinen
committed
d3cbf5d
View commit details
Copy full SHA for d3cbf5d
Browse repository at this point
v1.3.1-beta.0 - Bump version
Tarquinen
committed
74cdce5
View commit details
Copy full SHA for 74cdce5
Browse repository at this point
docs: move demo images to assets/images directory
Tarquinen
committed
286b309
View commit details
Copy full SHA for 286b309
Browse repository at this point
fix: ensure tool count accuracy in context breakdown using unique callIDs
Tarquinen
committed
ce86682
View commit details
Copy full SHA for ce86682
Browse repository at this point
cleanup
Tarquinen
committed
2255691
View commit details
Copy full SHA for 2255691
Browse repository at this point
refactor: inject assistant text parts instead of tool parts
Tarquinen
committed
0a381d8
View commit details
Copy full SHA for 0a381d8
Browse repository at this point
refactor: hybrid injection strategy for DeepSeek/Kimi models
Show description for f963d8a
Tarquinen
committed
f963d8a
View commit details
Copy full SHA for f963d8a
Browse repository at this point
injection guide comments
Tarquinen
committed
e1f5312
View commit details
Copy full SHA for e1f5312
Browse repository at this point
refactor: new prompt structure and dx cli
spoons-and-mirrors
authored and
Tarquinen
committed
a74cb8b
View commit details
Copy full SHA for a74cb8b
Browse repository at this point
inline tags to avoid unwanted linebreak
spoons-and-mirrors
authored and
Tarquinen
committed
0bcec1d
View commit details
Copy full SHA for 0bcec1d
Browse repository at this point
nudge
spoons-and-mirrors
authored and
Tarquinen
committed
c645e69
View commit details
Copy full SHA for c645e69
Browse repository at this point
gitignore
spoons-and-mirrors
authored and
Tarquinen
committed
06ce131
View commit details
Copy full SHA for 06ce131
Browse repository at this point
DCP: Distill Compress Prune
spoons-and-mirrors
authored and
Tarquinen
committed
53e2c15
View commit details
Copy full SHA for 53e2c15
Browse repository at this point
reorder tool registering
spoons-and-mirrors
authored and
Tarquinen
committed
5863a1d
View commit details
Copy full SHA for 5863a1d
Browse repository at this point
Merge pull request #327 from Opencode-DCP/prompt/refactor
Show description for 3d9e4df
Tarquinen
authored
3d9e4df
View commit details
Copy full SHA for 3d9e4df
Browse repository at this point
fix: generate .ts from .md at build time for bundler compatibility
Show description for efead8f
Tarquinen
committed
efead8f
View commit details
Copy full SHA for efead8f
Browse repository at this point
refactor: consolidate cli/ into scripts/
Tarquinen
committed
cdb5862
View commit details
Copy full SHA for cdb5862
Browse repository at this point
Fix context summary output to handle cases where only tools or only messages are pruned
Show description for f123eb3
Tarquinen
committed
f123eb3
View commit details
Copy full SHA for f123eb3
Browse repository at this point
revert: show cooldown for errored tools to prevent loop behavior
Show description for 2cd85fc
Tarquinen
committed
2cd85fc
View commit details
Copy full SHA for 2cd85fc
Browse repository at this point
spell check
Tarquinen
committed
866bdc1
View commit details
Copy full SHA for 866bdc1
Browse repository at this point
docs: standardize DCP tool order to distill, compress, prune
Show description for d66a6c2
Tarquinen
committed
d66a6c2
View commit details
Copy full SHA for d66a6c2
Browse repository at this point
Rename compress tool config from showSummary to showCompression
Tarquinen
committed
22f5848
View commit details
Copy full SHA for 22f5848
Browse repository at this point
chore: bump version to 1.3.1-beta.2
Tarquinen
committed
9ad912c
View commit details
Copy full SHA for 9ad912c
Browse repository at this point
Commits on Jan 31, 2026
Merge pull request #331 from Opencode-DCP/beta
Show description for fbf3bd8
Tarquinen
authored
fbf3bd8
View commit details
Copy full SHA for fbf3bd8
Browse repository at this point
stuff
Tarquinen
committed
d71f5c6
View commit details
Copy full SHA for d71f5c6
Browse repository at this point
maybe
Tarquinen
committed
4bd1fb8
View commit details
Copy full SHA for 4bd1fb8
Browse repository at this point
cc cache readme stuff
Tarquinen
committed
85b0aeb
View commit details
Copy full SHA for 85b0aeb
Browse repository at this point
cleanup
Tarquinen
committed
b8d7486
View commit details
Copy full SHA for b8d7486
Browse repository at this point
cleanup tool cache logic
Tarquinen
committed
0fc988a
View commit details
Copy full SHA for 0fc988a
Browse repository at this point
update dependencies and migrate to v2 sdk
Tarquinen
committed
a8b2551
View commit details
Copy full SHA for a8b2551
Browse repository at this point
feat: add full tool pruning for edit and write tools
Show description for a21285a
Tarquinen
committed
a21285a
View commit details
Copy full SHA for a21285a
Browse repository at this point
fix: move schema validation to execute() for better error messages
Show description for dc104e2
Tarquinen
committed
dc104e2
View commit details
Copy full SHA for dc104e2
Browse repository at this point
v1.3.2-beta.0 - Bump version
Tarquinen
committed
7453ed4
View commit details
Copy full SHA for 7453ed4
Browse repository at this point
Commits on Feb 1, 2026
refactor: use Set for prune ID storage
Show description for 4e03a4b
Tarquinen
committed
4e03a4b
View commit details
Copy full SHA for 4e03a4b
Browse repository at this point
feat: support toast notifications via notificationType config option
essinghigh
committed
b3d9e5b
View commit details
Copy full SHA for b3d9e5b
Browse repository at this point
prettier
essinghigh
committed
8f469ad
View commit details
Copy full SHA for 8f469ad
Browse repository at this point
Merge branch 'dev' into notification-toast-dev
Tarquinen
authored
7e3a43c
View commit details
Copy full SHA for 7e3a43c
Browse repository at this point
Merge pull request #340 from essinghigh/notification-toast-dev
Show description for e96796d
Tarquinen
authored
e96796d
View commit details
Copy full SHA for e96796d
Browse repository at this point
refactor: revert to simpler tool part injection for all models
Show description for 6148868
Tarquinen
committed
6148868
View commit details
Copy full SHA for 6148868
Browse repository at this point
fix: restore Gemini thoughtSignature bypass for synthetic tool parts
Tarquinen
committed
698392e
View commit details
Copy full SHA for 698392e
Browse repository at this point
refactor: rename prunedCount to prunedToolCount for clarity
Tarquinen
committed
0bcacfb
View commit details
Copy full SHA for 0bcacfb
Browse repository at this point
docs: add pruneNotificationType to README config example
Tarquinen
committed
e595928
View commit details
Copy full SHA for e595928
Browse repository at this point
feat: add message count tracking to stats display
Tarquinen
committed
e82ed4d
View commit details
Copy full SHA for e82ed4d
Browse repository at this point
v1.3.3-beta.0 - Bump version
Tarquinen
committed
1d93287
View commit details
Copy full SHA for 1d93287
Browse repository at this point
Commits on Feb 2, 2026
refactor: inject context as text part in existing user message
Tarquinen
committed
5166df3
View commit details
Copy full SHA for 5166df3
Browse repository at this point
feat: use synthetic assistant messages for non-DeepSeek/Kimi injection
Tarquinen
committed
3a1bfd6
View commit details
Copy full SHA for 3a1bfd6
Browse repository at this point
Commits on Feb 3, 2026
refactor: use tool parts for all non-user-message injections
Tarquinen
committed
0467654
View commit details
Copy full SHA for 0467654
Browse repository at this point
chore: track tests/, gitignore tests/results/
Tarquinen
committed
7e44bd7
View commit details
Copy full SHA for 7e44bd7
Browse repository at this point
feat: add session analysis utility scripts
Show description for 5df9e01
Tarquinen
committed
5df9e01
View commit details
Copy full SHA for 5df9e01
Browse repository at this point
test: add DCP cache testing script
Tarquinen
committed
16c8f25
View commit details
Copy full SHA for 16c8f25
Browse repository at this point
refactor: simplify context injection to use tool parts universally
Show description for 1a3b7f3
Tarquinen
committed
1a3b7f3
View commit details
Copy full SHA for 1a3b7f3
Browse repository at this point
chore: remove unused variant variable from inject.ts
Tarquinen
committed
cbbf60a
View commit details
Copy full SHA for cbbf60a
Browse repository at this point
feat: add token counting for prunable tools
Tarquinen
committed
e5b2038
View commit details
Copy full SHA for e5b2038
Browse repository at this point
feat: add context usage info to prunable tools list
Tarquinen
committed
7304f0a
View commit details
Copy full SHA for 7304f0a
Browse repository at this point
refactor: use userInfo consistently in synthetic part creation
Tarquinen
committed
b5a4d05
View commit details
Copy full SHA for b5a4d05
Browse repository at this point
readme update
Tarquinen
committed
e76a8ce
View commit details
Copy full SHA for e76a8ce
Browse repository at this point
Commits on Feb 4, 2026
Relicense to AGPL-3.0 and add Contributor License Agreement (CLA)
Tarquinen
committed
19484ca
View commit details
Copy full SHA for 19484ca
Browse repository at this point
Add PR template and update CONTRIBUTING.md with official CLA info
Tarquinen
committed
3828d47
View commit details
Copy full SHA for 3828d47
Browse repository at this point
Clarify CLA process and reference SAP template in CONTRIBUTING.md
Tarquinen
committed
2f036c6
View commit details
Copy full SHA for 2f036c6
Browse repository at this point
chore: format legal and PR files
Tarquinen
committed
ebf8ba2
View commit details
Copy full SHA for ebf8ba2
Browse repository at this point
chore: switch to implicit CLA model
Tarquinen
committed
5b88376
View commit details
Copy full SHA for 5b88376
Browse repository at this point
docs: add uniform token pricing providers to best use cases
Show description for 4e43419
azais-corentin
authored
4e43419
View commit details
Copy full SHA for 4e43419
Browse repository at this point
WIP: system prompt refactor
spoons-and-mirrors
committed
e27a997
View commit details
Copy full SHA for e27a997
Browse repository at this point
progress
spoons-and-mirrors
committed
7baf250
View commit details
Copy full SHA for 7baf250
Browse repository at this point
system
spoons-and-mirrors
committed
e5c56fc
View commit details
Copy full SHA for e5c56fc
Browse repository at this point
Update system.md
spoons-and-mirrors
committed
6ea2001
View commit details
Copy full SHA for 6ea2001
Browse repository at this point
compress default ask permission
spoons-and-mirrors
committed
9722f54
View commit details
Copy full SHA for 9722f54
Browse repository at this point
system
spoons-and-mirrors
committed
47406be
View commit details
Copy full SHA for 47406be
Browse repository at this point
system done
spoons-and-mirrors
committed
8878b39
View commit details
Copy full SHA for 8878b39
Browse repository at this point
reorg
spoons-and-mirrors
committed
becbcd9
View commit details
Copy full SHA for becbcd9
Browse repository at this point
migration: cleanup old gen files
spoons-and-mirrors
committed
c7ffaf7
View commit details
Copy full SHA for c7ffaf7
Browse repository at this point
fix: tool permission
spoons-and-mirrors
committed
ae98667
View commit details
Copy full SHA for ae98667
Browse repository at this point
distill
spoons-and-mirrors
committed
edb8353
View commit details
Copy full SHA for edb8353
Browse repository at this point
prune
spoons-and-mirrors
committed
fed4501
View commit details
Copy full SHA for fed4501
Browse repository at this point
compress: restructure schema with topic primary, content nested (startString/endString)
spoons-and-mirrors
committed
e3b6f8b
View commit details
Copy full SHA for e3b6f8b
Browse repository at this point
fix: sync package-lock.json with package.json
Tarquinen
authored and
spoons-and-mirrors
committed
cf90194
View commit details
Copy full SHA for cf90194
Browse repository at this point
style: fix formatting
Tarquinen
authored and
spoons-and-mirrors
committed
8b79e95
View commit details
Copy full SHA for 8b79e95
Browse repository at this point
fix compress ask permission overwrite
spoons-and-mirrors
committed
b8ace83
View commit details
Copy full SHA for b8ace83
Browse repository at this point
vocab mix
spoons-and-mirrors
committed
1d8e000
View commit details
Copy full SHA for 1d8e000
Browse repository at this point
small compress change
spoons-and-mirrors
committed
01cfafb
View commit details
Copy full SHA for 01cfafb
Browse repository at this point
system timing
spoons-and-mirrors
committed
ff89f13
View commit details
Copy full SHA for ff89f13
Browse repository at this point
typos
spoons-and-mirrors
committed
451fb00
View commit details
Copy full SHA for 451fb00
Browse repository at this point
PR #332: prompts rewrite, build prompt gen, tool schemas, compress default permission
spoons-and-mirrors
authored
418ad56
View commit details
Copy full SHA for 418ad56
Browse repository at this point
Merge branch 'dev' into patch-1
Tarquinen
authored
1e211d4
View commit details
Copy full SHA for 1e211d4
Browse repository at this point
Merge pull request #348 from azais-corentin/patch-1
Show description for 93a5e5b
Tarquinen
authored
93a5e5b
View commit details
Copy full SHA for 93a5e5b
Browse repository at this point
Order DCP tool listings
Tarquinen
committed
daa8d46
View commit details
Copy full SHA for daa8d46
Browse repository at this point
Implement contextLimit config and update system prompts
Tarquinen
committed
b2276c7
View commit details
Copy full SHA for b2276c7
Browse repository at this point
Fix schema syntax and format
Tarquinen
committed
3877f31
View commit details
Copy full SHA for 3877f31
Browse repository at this point
fix: respect XDG base directory env vars for config and log paths
Show description for b4f8765
NamedIdentity
committed
b4f8765
View commit details
Copy full SHA for b4f8765
Browse repository at this point
Add apply_patch and multiedit support to file path extraction
Tarquinen
committed
4ea8591
View commit details
Copy full SHA for 4ea8591
Browse repository at this point
Set showCompression to false by default and sync schema
Tarquinen
committed
e916cab
View commit details
Copy full SHA for e916cab
Browse repository at this point
v1.4.0-beta.0 - Bump version
Tarquinen
committed
9f3903f
View commit details
Copy full SHA for 9f3903f
Browse repository at this point
fix: respect XDG_DATA_HOME in state persistence storage path
Show description for 29191fe
NamedIdentity
committed
29191fe
View commit details
Copy full SHA for 29191fe
Browse repository at this point
Commits on Feb 5, 2026
Replace compress enabled with permission enum (ask/allow/deny)
spoons-and-mirrors
committed
7971886
View commit details
Copy full SHA for 7971886
Browse repository at this point
distill and prune
spoons-and-mirrors
committed
59d2f98
View commit details
Copy full SHA for 59d2f98
Browse repository at this point
Merge pull request #350 from NamedIdentity/fix/xdg-base-directory-paths
Show description for e7cdd3c
Tarquinen
authored
e7cdd3c
View commit details
Copy full SHA for e7cdd3c
Browse repository at this point
format
Tarquinen
committed
f968fb9
View commit details
Copy full SHA for f968fb9
Browse repository at this point
Merge branch 'dev' into permissions
Tarquinen
authored
c9b41c2
View commit details
Copy full SHA for c9b41c2
Browse repository at this point
Merge pull request #351 from Opencode-DCP/permissions
Show description for 47b1703
Tarquinen
authored
47b1703
View commit details
Copy full SHA for 47b1703
Browse repository at this point
replace context header with token-triggered compress nudge
Tarquinen
committed
424249c
View commit details
Copy full SHA for 424249c
Browse repository at this point
revert: use XDG_CONFIG_HOME for logs instead of XDG_DATA_HOME
Tarquinen
committed
6e12c5a
View commit details
Copy full SHA for 6e12c5a
Browse repository at this point
fix: cache toolIdList to prevent prune ID mismatch
Tarquinen
committed
e0ea460
View commit details
Copy full SHA for e0ea460
Browse repository at this point
v1.4.0-beta.1 - Bump version
Tarquinen
committed
f4bebd7
View commit details
Copy full SHA for f4bebd7
Browse repository at this point
v1.4.1-beta.0 - Bump version
Tarquinen
committed
177c176
View commit details
Copy full SHA for 177c176
Browse repository at this point
logic/prompts: prioritize and restyle compress nudge
Tarquinen
committed
afeb5e3
View commit details
Copy full SHA for afeb5e3
Browse repository at this point
v1.4.2-beta.0 - Bump version
Tarquinen
committed
e30d0fe
View commit details
Copy full SHA for e30d0fe
Browse repository at this point
contextLimit readme cleanup
Tarquinen
committed
e27f47d
View commit details
Copy full SHA for e27f47d
Browse repository at this point
cleanup
Tarquinen
committed
5731262
View commit details
Copy full SHA for 5731262
Browse repository at this point
more
Tarquinen
committed
67684be
View commit details
Copy full SHA for 67684be
Browse repository at this point
You can’t perform that action at this time.