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 }}
Repository navigation
Context bloat occurs severely. I have configured automatic session compression and reserved tokens, yet automatic compression never triggers normally. This issue exists in every version of OpenCode. Please fix this problem as soon as possible. #24683
Your context window management is extremely poor, nowhere near as good as Claude Code.The current OpenCode CLI is incapable of multi-round conversations and long-duration continuous work, because context bloat happens constantly. Every time the context explodes, I have to clean it up manually. Claude Code never has this issue at all.
Your system never performs automatic context compression. I have tried numerous workarounds, including the DCP plugin, CodeMN and other solutions, but none of them work. Please fix this urgently.This tool is poorly developed and practically unusable.
Plugins
omo,dcp
OpenCode version
1.4.28
Steps to reproduce
Launch OpenCode;
Assign complex tasks such as code refactoring, code review, and unit test supplementation;
The context quickly becomes full after a while, with no automatic compression taking effect;
I have enabled automatic context compression and set a reserved token limit. Even after configuring a 50% reserved token ratio, compression still fails to trigger, making the settings completely ineffective;
Once the context blows up, all operations are blocked. I have to compress the context manually, which drastically reduces work efficiency.
ZAP prevents this at the source rather than compressing after —
casual turns (~31 tokens), skill injection only when triggered,
AST index replaces blind file reads. Context stays lean per turn
rather than growing and needing compression.
Activity
github-actions commentedon Apr 27, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is already covered by one of the above, please add a comment there with your specific details instead.
slamdunk111 commentedon Apr 28, 2026
similar issue, pleaese fix it ASAP
sanjeev23oct commentedon Jun 17, 2026
ZAP prevents this at the source rather than compressing after —
casual turns (~31 tokens), skill injection only when triggered,
AST index replaces blind file reads. Context stays lean per turn
rather than growing and needing compression.
https://github.com/zap-coding-agent/zap-coding-agent
github-actions commentedon Aug 17, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.