GeezerVison is showing github.com — Commands that need sudo access break the UI and make the agent hang · Issue #1852 · anomalyco/opencode
Commands that need sudo access break the UI and make the agent hang #1852DescriptionTool uses that need sudo access end up not receiving the input and break the UI / hang the process.
 Reacted by Pedro Macedo, John Bakhmat, CodingPassionYT, Chay, Jean Diaz, Logan Bunch, Denis Perov, DDKP, Lucas Bezerra, Adithya Kozham Burath Bijoy and 1 more ActivityCodingPassionYT commented on Aug 12, 2025 FringeDweller commented on Aug 13, 2025 Same here, Debian / Kitty samholmes commented on Aug 26, 2025 #2268 (comment)
If git rebase -i is run by the agent, then the command is run interactively and halts the agent. How about we allow the user to focus into commands and interact with them? This way an interactive command can be intervened by the proompter.
Eventually, opencode could just give the agent tools to interact with CLI that was run, but for now this could be useful until that tool is ship to prod and we inch further to AGI and cool coconuts on the beach.
rekram1-node commented on Dec 28, 2025 [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this! ParticleRift commented on Jan 13, 2026
Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.

easy fix, just tell the agent your sudo password in your prompt Reacted by SchneeHertz, Adithya Kozham Burath Bijoy, Emmanuel Morales, Benjamin Sølberg and Kusal Lamsal Reacted by Minhal Valiya Peedikakkal kylegrieder commented on Mar 23, 2026
Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.
easy fix, just tell the agent your sudo password in your prompt
i really hope this is sarcasm ParticleRift commented on Apr 11, 2026 Why would it be? if you are using your main machine and don't want a company to have the password you can just change the password temporarily, other than that their is no reason not to adikpb commented on Apr 11, 2026
Why would it be? if you are using your main machine and don't want a company to have the password you can just change the password temporarily, other than that their is no reason not to
Changing your password every single time sudo access is required, doesn't feel like good ux. Reacted by Seyed Mohammad ParticleRift commented on Apr 11, 2026 Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private adikpb commented on Apr 11, 2026
Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private
Opencode isn't just used for local models, the whole point of this tool is to use mostly any llm provider. Acters commented on Apr 14, 2026 Seriously, how hard is it to do the same thing that Gemini CLI has with pressing TAB for interacting with the shell command. Reacted by xmmanuellx and rauldzmartin MegaDyneSystems commented on Jun 17, 2026 issue fixed, at install you set your password and the agent will pipe the password to sudo commands without seeing it so you don't share sudo password to cloud models but still get to run sudo commands https://github.com/MegaDyneSystems/prism32 tmzhuang commented on Nov 1, 2026 Why was this issue closed? Acters commented on Nov 1, 2026 I have since moved to telling the agent to use pkexec. Having a fido2 key is nice here cause you can tap to auth instead of trying to type the password as fast as possible every single time authentication is needed and pkexec doesn't retain root privileges after the command is ran. Good for security while still being able to do root level work with an agent.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|