anomalyco / anomalyco/opencode
Agent loops stalls randomly silently (working indefinitely)
@nexxeln is already working on this.
Since Aug 30, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
I am using the GLM-5.3-Flash model from Z.AI. After coming to my long running sessions overnight, I am seeing sessions in perpetual working state but stuck on a toolcall. On tab bar most sessions (even noramlly working ones) are getting "!" symbol instead of the animation too.
Happened a lot of times in multiple sessions. No toolcall fail. No API fail reported. It is just animating working indefinitely.
Workaround: <esc><esc> continue <enter>
Plugins
None
OpenCode version
0.0.0.-beta-18743
Steps to reproduce
Multiple tabs and give a long job like compiling and reporting anything, a long job shorts the bg service into thinking "!"(this symbol means input needed from user, I presume) for the background tab and the loop stalls. Can happen on long thinking too.
Screenshot and/or share link
Operating System
debian unstable
Terminal
yggterm
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.