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
229
Star
4k
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
- #248
#248
Merged
Tarquinen
merged 19 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
Jan 14, 2026
Conversation
Commits
19
(19)
Checks
Files changed
Merged
merge dev into master
#248
Tarquinen
merged 19 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 13, 2026
feat: add question tool support for pruning
Show description for e8faac5
Tarquinen
committed
e8faac5
View commit details
Copy full SHA for e8faac5
Browse repository at this point
Merge pull request #247 from Opencode-DCP/feat/question-tool-support
Show description for 4fe0a5c
Tarquinen
authored
4fe0a5c
View commit details
Copy full SHA for 4fe0a5c
Browse repository at this point
fix: skip system prompt injection for subagent sessions
Tarquinen
committed
c06dd7f
View commit details
Copy full SHA for c06dd7f
Browse repository at this point
style: fix formatting
Tarquinen
committed
4a18692
View commit details
Copy full SHA for 4a18692
Browse repository at this point
refactor: extract system prompt handler to hooks.ts
Tarquinen
committed
0462d2f
View commit details
Copy full SHA for 0462d2f
Browse repository at this point
cleanup
Tarquinen
committed
5c66449
View commit details
Copy full SHA for 5c66449
Browse repository at this point
format
Tarquinen
committed
72e9d5e
View commit details
Copy full SHA for 72e9d5e
Browse repository at this point
chore: remove redundant AI_SDK_LOG_WARNINGS suppression
Tarquinen
committed
9204bd2
View commit details
Copy full SHA for 9204bd2
Browse repository at this point
Merge pull request #249 from Opencode-DCP/fix/skip-subagent-system-prompt-injection
Show description for d7ea156
Tarquinen
authored
d7ea156
View commit details
Copy full SHA for d7ea156
Browse repository at this point
refactor: simplify and unify prune.ts check ordering
Show description for 0a6a80a
Tarquinen
committed
0a6a80a
View commit details
Copy full SHA for 0a6a80a
Browse repository at this point
Merge pull request #250 from Opencode-DCP/refactor/prune-checks-cleanup
Show description for 0962811
Tarquinen
authored
0962811
View commit details
Copy full SHA for 0962811
Browse repository at this point
refactor: flatten prompts directory structure
Show description for 0668794
Tarquinen
committed
0668794
View commit details
Copy full SHA for 0668794
Browse repository at this point
Merge pull request #251 from Opencode-DCP/refactor/flatten-prompts-directory
Show description for 5849833
Tarquinen
authored
5849833
View commit details
Copy full SHA for 5849833
Browse repository at this point
fix: skip synthetic message injection for GitHub Copilot when last message is user role
Tarquinen
committed
1e0298b
View commit details
Copy full SHA for 1e0298b
Browse repository at this point
Merge pull request #252 from Opencode-DCP/fix/skip-github-copilot-user-role-injection
Show description for 3b3de42
Tarquinen
authored
3b3de42
View commit details
Copy full SHA for 3b3de42
Browse repository at this point
Commits on Jan 14, 2026
Merge master: use unified injection with isAnthropic check
Tarquinen
committed
b21cca3
View commit details
Copy full SHA for b21cca3
Browse repository at this point
Merge pull request #253 from Opencode-DCP/merge-master-into-dev
Show description for 530540c
Tarquinen
authored
530540c
View commit details
Copy full SHA for 530540c
Browse repository at this point
feat: add plan_enter and plan_exit to default protected tools
Show description for 9415b77
Tarquinen
committed
9415b77
View commit details
Copy full SHA for 9415b77
Browse repository at this point
Merge pull request #254 from Opencode-DCP/feat/protect-plan-mode-tools
Show description for 89e311d
Tarquinen
authored
89e311d
View commit details
Copy full SHA for 89e311d
Browse repository at this point
You can’t perform that action at this time.