Skip to content

Commands that need sudo access break the UI and make the agent hang #1852

Closed

Description

@arthur404dev

Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.

Image

Activity

  1. CodingPassionYT commented on Aug 12, 2025

    @CodingPassionYT

    Same here

  2. self-assigned this
    on Aug 12, 2025
  3. FringeDweller commented on Aug 13, 2025

    @FringeDweller

    Same here, Debian / Kitty

  4. samholmes commented on Aug 26, 2025

    @samholmes

    #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.

  5. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Collaborator

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

  6. ParticleRift commented on Jan 13, 2026

    @ParticleRift

    Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.
    Image

    easy fix, just tell the agent your sudo password in your prompt

  7. kylegrieder commented on Mar 23, 2026

    @kylegrieder

    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

  8. ParticleRift commented on Apr 11, 2026

    @ParticleRift

    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

  9. adikpb commented on Apr 11, 2026

    @adikpb

    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.

  10. ParticleRift commented on Apr 11, 2026

    @ParticleRift

    Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private

  11. adikpb commented on Apr 11, 2026

    @adikpb

    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.

  12. Acters commented on Apr 14, 2026

    @Acters

    Seriously, how hard is it to do the same thing that Gemini CLI has with pressing TAB for interacting with the shell command.

  13. MegaDyneSystems commented on Jun 17, 2026

    @MegaDyneSystems

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions