Commands that need sudo access break the UI and make the agent hang
Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.
Same here
Same here, Debian / Kitty
https://github.com/sst/opencode/issues/2268#issue-3357256017
If
git rebase -iis 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.
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
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
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
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
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.
Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private
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.
Seriously, how hard is it to do the same thing that Gemini CLI has with pressing TAB for interacting with the shell command.
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
Why was this issue closed?
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.
