### Description <img width="2998" height="1997" alt="Image" src="https://github.com/user-attachments/assets/498fc2c1-cfb4-41ac-83dd-5aebe5e18293" /> v1.18.1 desktop connect to opencode serve assistant can't stop on any task even just say a simple Hi change model still the same ### Plugins no plugin ### OpenCode version 1.18.1 ### Steps to reproduce 1. opencode serve --port 20202 --hostname x.x.x.x 2. use opencode desktop connect to this server 3. open any project and say hi ### Screenshot and/or share link <img width="2998" height="1997" alt="Image" src="https://github.com/user-attachments/assets/09b4f4c4-065f-4e0d-874f-5904a04ed8ff" /> ### Operating System desktop(windows11) server(ubuntu 22.04) ### Terminal zsh
Activity
github-actions commentedon Jul 15, 2026
This issue might be a duplicate of existing issues. Please check:
opencode serve+opencode attachif any permission is set to "ask" #16367: Agent hangs indefinitely when usingopencode serve+opencode attachif any permission is set to "ask" — very similar scenario:opencode serve+ remote client, agent enters infinite loop/never completes. Includes a workaround (set permissions toallowin config).If your issue is the same as #16367, the workaround there (setting permissions to
"allow"inopencode.json) may help while a fix is developed.[-]assistant infinite loop[/-][+][Bug] assistant infinite loop[/+]github-actions commentedon Sep 14, 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.