Repository navigation
v0.9.0
New Features
- Configurable compaction threshold: Add
compactionThresholdto~/.config/opencode/micode.jsonto control when auto-compaction triggers (0-1 ratio, default 0.5) - Model context limits from opencode.json: Automatically reads
limit.contextfrom your provider configs instead of relying on hardcoded defaults
Example Configuration
{
"compactionThreshold": 0.3
}This is useful for providers with lower context caps (e.g., github-copilot with ~128k tokens).
Closes #9