anomalyco / anomalyco/opencode
Bug: Git history filter resets to 'Git changes' when navigating back from subagent chat
@Brendonovich is already working on this.
Since Aug 9, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When a user opens a subagent chat to review the tasks assigned by the main agent, the Git history filter automatically resets from 'Last turn changes' to 'Git changes' upon navigating back. While this isn't an issue for small projects, it causes severe performance lag on larger repositories with over 300 modified files, as reloading the entire Git history reallocates heavy device resources every time.
Plugins
No response
OpenCode version
No response
Steps to reproduce
1․ Choose "Last turn changes"
2. Open subagent
3. Go back, "Last turn changes" changes to "Git changes'
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.