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
228
Star
4.1k
Code
Issues
37
Pull requests
16
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Merge dev into master
- #118
#118
Merged
Tarquinen
merged 76 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
Dec 15, 2025
Conversation
Commits
76
(76)
Checks
Files changed
Merged
Merge dev into master
#118
Tarquinen
merged 76 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 Dec 11, 2025
working through it
jorgenwh
committed
c3e9008
View commit details
Copy full SHA for c3e9008
Browse repository at this point
Merge branch 'master' of github.com:Tarquinen/opencode-dynamic-context-pruning into rewrite-to-use-experimental.chat.messages.transform
jorgenwh
committed
850252a
View commit details
Copy full SHA for 850252a
Browse repository at this point
crazy refactor
jorgenwh
committed
f9fd11a
View commit details
Copy full SHA for f9fd11a
Browse repository at this point
couple of bug fixes
jorgenwh
committed
db25bd2
View commit details
Copy full SHA for db25bd2
Browse repository at this point
new config
jorgenwh
committed
fb11f6a
View commit details
Copy full SHA for fb11f6a
Browse repository at this point
show error toast if loading config file fails
jorgenwh
committed
a57ce23
View commit details
Copy full SHA for a57ce23
Browse repository at this point
building prototype
jorgenwh
committed
951dbcd
View commit details
Copy full SHA for 951dbcd
Browse repository at this point
Commits on Dec 12, 2025
config logic
jorgenwh
committed
90496a3
View commit details
Copy full SHA for 90496a3
Browse repository at this point
small refactor and prepare strategies
jorgenwh
committed
befa392
View commit details
Copy full SHA for befa392
Browse repository at this point
refactor
jorgenwh
committed
58145ba
View commit details
Copy full SHA for 58145ba
Browse repository at this point
delete claude.md
jorgenwh
committed
32d782d
View commit details
Copy full SHA for 32d782d
Browse repository at this point
remove old log watch script
jorgenwh
committed
da85205
View commit details
Copy full SHA for da85205
Browse repository at this point
deduplicate tool id logic
jorgenwh
committed
0e7630d
View commit details
Copy full SHA for 0e7630d
Browse repository at this point
refactor
jorgenwh
committed
8c48761
View commit details
Copy full SHA for 8c48761
Browse repository at this point
Commits on Dec 13, 2025
wip
jorgenwh
committed
1a2fc6c
View commit details
Copy full SHA for 1a2fc6c
Browse repository at this point
deduplication and prune tool works. MUCH nicer code
jorgenwh
committed
3143b87
View commit details
Copy full SHA for 3143b87
Browse repository at this point
pull master
jorgenwh
committed
b47fec3
View commit details
Copy full SHA for b47fec3
Browse repository at this point
readme
jorgenwh
committed
7730dc4
View commit details
Copy full SHA for 7730dc4
Browse repository at this point
reamde
jorgenwh
committed
0914d82
View commit details
Copy full SHA for 0914d82
Browse repository at this point
sync
jorgenwh
committed
7c90034
View commit details
Copy full SHA for 7c90034
Browse repository at this point
ai nudge implementation
jorgenwh
committed
8227d64
View commit details
Copy full SHA for 8227d64
Browse repository at this point
set onIdle and pruneThinkingBlock strategies to disabled by default
jorgenwh
committed
75539fd
View commit details
Copy full SHA for 75539fd
Browse repository at this point
say onIdle is legacy
jorgenwh
committed
5b9493d
View commit details
Copy full SHA for 5b9493d
Browse repository at this point
workflow fix
jorgenwh
committed
07fa3c4
View commit details
Copy full SHA for 07fa3c4
Browse repository at this point
Merge pull request #119 from Opencode-DCP/nudge-frequency-and-config-update
Show description for 72fcc07
jorgenwh
authored
72fcc07
View commit details
Copy full SHA for 72fcc07
Browse repository at this point
disallow subagents to use plugin
jorgenwh
committed
7c70245
View commit details
Copy full SHA for 7c70245
Browse repository at this point
.gitignore
jorgenwh
committed
2d4ae04
View commit details
Copy full SHA for 2d4ae04
Browse repository at this point
Merge pull request #120 from Opencode-DCP/disallow-subagents-to-use-plugin
Show description for 9f043dc
jorgenwh
authored
9f043dc
View commit details
Copy full SHA for 9f043dc
Browse repository at this point
cleanup
jorgenwh
committed
bd48b4e
View commit details
Copy full SHA for bd48b4e
Browse repository at this point
aids
jorgenwh
committed
ebf8151
View commit details
Copy full SHA for ebf8151
Browse repository at this point
on-idle re-implemented
jorgenwh
committed
9d64c42
View commit details
Copy full SHA for 9d64c42
Browse repository at this point
Merge pull request #121 from Opencode-DCP/on-idle-strategy
Show description for 32bde8d
jorgenwh
authored
32bde8d
View commit details
Copy full SHA for 32bde8d
Browse repository at this point
refactor: use shared buildToolIdList from utils
Tarquinen
committed
cc6cc68
View commit details
Copy full SHA for cc6cc68
Browse repository at this point
Merge pull request #122 from Opencode-DCP/fix/remove-duplicate-buildToolIdList
Show description for 9b23955
Tarquinen
authored
9b23955
View commit details
Copy full SHA for 9b23955
Browse repository at this point
Prevents compacted tools from appearing in the prunable tools list
spoons-and-mirrors
committed
8a95101
View commit details
Copy full SHA for 8a95101
Browse repository at this point
Merge branch 'dev' into fix-compacted-filter
spoons-and-mirrors
authored
9a45c98
View commit details
Copy full SHA for 9a45c98
Browse repository at this point
Merge pull request #123 from spoons-and-mirrors/fix-compacted-filter
Show description for 760be9d
spoons-and-mirrors
authored
760be9d
View commit details
Copy full SHA for 760be9d
Browse repository at this point
refactor: consolidate duplicate extractParameterKey function
Tarquinen
committed
c8a5bbc
View commit details
Copy full SHA for c8a5bbc
Browse repository at this point
Merge pull request #124 from Opencode-DCP/refactor/consolidate-extractParameterKey
Show description for 41189c5
Tarquinen
authored
41189c5
View commit details
Copy full SHA for 41189c5
Browse repository at this point
enable pruneTool by default and reorder above onIdle
Tarquinen
committed
583d343
View commit details
Copy full SHA for 583d343
Browse repository at this point
Merge pull request #125 from Opencode-DCP/feature/enable-prune-tool-by-default
Show description for b24a6a7
Tarquinen
authored
b24a6a7
View commit details
Copy full SHA for b24a6a7
Browse repository at this point
refactor: remove dead code from Logger class
Tarquinen
committed
17c22a9
View commit details
Copy full SHA for 17c22a9
Browse repository at this point
Merge pull request #126 from Opencode-DCP/refactor/remove-dead-logger-code
Show description for 78ac18c
Tarquinen
authored
78ac18c
View commit details
Copy full SHA for 78ac18c
Browse repository at this point
refactor: remove unused version-checker module
Tarquinen
committed
188f5ee
View commit details
Copy full SHA for 188f5ee
Browse repository at this point
Merge pull request #127 from Opencode-DCP/refactor/remove-version-checker
Show description for 3a77692
Tarquinen
authored
3a77692
View commit details
Copy full SHA for 3a77692
Browse repository at this point
Commits on Dec 14, 2025
fix: skip pruned tools when counting toward nudge threshold
Tarquinen
committed
acb2543
View commit details
Copy full SHA for acb2543
Browse repository at this point
fix: await session state load before syncing tool cache
Tarquinen
committed
8b5037e
View commit details
Copy full SHA for 8b5037e
Browse repository at this point
Merge pull request #128 from Opencode-DCP/fix/nudge-counter-after-restart
Show description for 07d3a53
Tarquinen
authored
07d3a53
View commit details
Copy full SHA for 07d3a53
Browse repository at this point
fix: save session state after updating token stats
Tarquinen
committed
b5daf99
View commit details
Copy full SHA for b5daf99
Browse repository at this point
Merge pull request #129 from Opencode-DCP/fix/persist-token-stats-after-update
Show description for 84cc8e3
Tarquinen
authored
84cc8e3
View commit details
Copy full SHA for 84cc8e3
Browse repository at this point
refactor: consolidate message utilities and eliminate duplicate iteration
Tarquinen
committed
31cd1d9
View commit details
Copy full SHA for 31cd1d9
Browse repository at this point
cleanup
Tarquinen
committed
1637f1b
View commit details
Copy full SHA for 1637f1b
Browse repository at this point
Merge pull request #130 from Opencode-DCP/refactor/consolidate-message-utils
Show description for 3259b34
Tarquinen
authored
3259b34
View commit details
Copy full SHA for 3259b34
Browse repository at this point
refactor: remove unused reason parameter from buildAnalysisPrompt
Tarquinen
committed
51f4826
View commit details
Copy full SHA for 51f4826
Browse repository at this point
Merge pull request #131 from Opencode-DCP/refactor/remove-unused-reason-param
Show description for 394844e
Tarquinen
authored
394844e
View commit details
Copy full SHA for 394844e
Browse repository at this point
fix: simplify prune tool schema for OAuth plugin compatibility
Tarquinen
committed
f9e47dc
View commit details
Copy full SHA for f9e47dc
Browse repository at this point
Merge pull request #132 from Opencode-DCP/refactor/remove-unused-reason-param
Show description for 5ae736d
Tarquinen
authored
5ae736d
View commit details
Copy full SHA for 5ae736d
Browse repository at this point
1.0.0-beta.1
Tarquinen
committed
968d656
View commit details
Copy full SHA for 968d656
Browse repository at this point
Commits on Dec 15, 2025
fix: properly reset nudge counter after prune tool is used
Show description for b323912
Tarquinen
committed
b323912
View commit details
Copy full SHA for b323912
Browse repository at this point
Merge pull request #133 from Opencode-DCP/fix/nudge-counter-reset
Show description for 4cc05c6
Tarquinen
authored
4cc05c6
View commit details
Copy full SHA for 4cc05c6
Browse repository at this point
v1.0.0-beta.2 - Bump version
Tarquinen
committed
c21a974
View commit details
Copy full SHA for c21a974
Browse repository at this point
Merge pull request #134 from Opencode-DCP/release/v1.0.0-beta.2
Show description for cecaff1
Tarquinen
authored
cecaff1
View commit details
Copy full SHA for cecaff1
Browse repository at this point
fix: prevent protected tools from being pruned
Tarquinen
committed
f4ba0c1
View commit details
Copy full SHA for f4ba0c1
Browse repository at this point
refactor: move prune tool ID validation to prune-tool.ts
Tarquinen
committed
e1ec087
View commit details
Copy full SHA for e1ec087
Browse repository at this point
refactor: simplify bounds check with .some()
Tarquinen
committed
551f0d8
View commit details
Copy full SHA for 551f0d8
Browse repository at this point
Merge pull request #136 from Opencode-DCP/fix/protected-tool-pruning
Show description for 83e4703
Tarquinen
authored
83e4703
View commit details
Copy full SHA for 83e4703
Browse repository at this point
Add system prompt transformation hook for synthetic prompt injection
Tarquinen
committed
ca1f35f
View commit details
Copy full SHA for ca1f35f
Browse repository at this point
Merge pull request #137 from Opencode-DCP/feature/system-prompt-transform
Show description for 1915ee2
Tarquinen
authored
1915ee2
View commit details
Copy full SHA for 1915ee2
Browse repository at this point
Bump version to 1.0.0-beta.3
Tarquinen
committed
9565fc7
View commit details
Copy full SHA for 9565fc7
Browse repository at this point
Merge pull request #138 from Opencode-DCP/release/beta.3
Show description for ef3b8a1
Tarquinen
authored
ef3b8a1
View commit details
Copy full SHA for ef3b8a1
Browse repository at this point
fix: skip inserting prunable tools list when empty
Tarquinen
committed
ff959c3
View commit details
Copy full SHA for ff959c3
Browse repository at this point
Merge pull request #139 from Opencode-DCP/fix/empty-prunable-tools-list
Show description for dfd5270
Tarquinen
authored
dfd5270
View commit details
Copy full SHA for dfd5270
Browse repository at this point
chore: remove pruneThinkingBlocks (not yet implemented)
Tarquinen
committed
a0ee808
View commit details
Copy full SHA for a0ee808
Browse repository at this point
Merge pull request #140 from Opencode-DCP/chore/remove-prune-thinking-blocks
Show description for 4b5c3b4
Tarquinen
authored
4b5c3b4
View commit details
Copy full SHA for 4b5c3b4
Browse repository at this point
feat: support DCP config in OPENCODE_CONFIG_DIR
didacog
authored and
Tarquinen
committed
e1eb62e
View commit details
Copy full SHA for e1eb62e
Browse repository at this point
Merge pull request #135 from didacog/feature/custom-config-path
Show description for 6693dd4
Tarquinen
authored
6693dd4
View commit details
Copy full SHA for 6693dd4
Browse repository at this point
You can’t perform that action at this time.