[PR #9656] feat(opencode): trigger compaction earlier and add multi-file read #13175

Open
opened 2026-02-16 18:18:02 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9656

State: open
Merged: No


Summary

  • trigger session compaction earlier to avoid overflow at high context usage
  • add multi-file read validation and update read tool guidance
  • expand read and compaction tests to cover filePaths edge cases and early threshold

Testing

  • bun test test/tool/read.test.ts
  • bun test test/session/compaction.test.ts

References

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9656 **State:** open **Merged:** No --- ## Summary - trigger session compaction earlier to avoid overflow at high context usage - add multi-file read validation and update read tool guidance - expand read and compaction tests to cover filePaths edge cases and early threshold ## Testing - `bun test test/tool/read.test.ts` - `bun test test/session/compaction.test.ts` ## References - Fixes #9045
yindo added the pull-request label 2026-02-16 18:18:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13175