Skip to content

Commands lock opencode #3154

Closed
Closed

Description

@tomaswilhelmsson

Some commands in prisma etc can lock opencode, i tried to make a fix for it, some parts might be usable atleast .. dont know how to handle it tho as it times out in about 60s, might be an idea to implement as it locks opencode idefinently

shell_blocking_fix.patch

Activity

  1. github-actions commented on Oct 13, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Oct 13, 2025

    @rekram1-node
    Collaborator

    so like agent runs a command using bash tool and then evne if you double escape it does nothing?

  3. tomaswilhelmsson commented on Oct 13, 2025

    @tomaswilhelmsson
    Author

    so like agent runs a command using bash tool and then evne if you double escape it does nothing?

    yes, cant double escape or anything, have to kill the process it runs in a seperate shell or kill opencode and reload the session

  4. rekram1-node commented on Oct 13, 2025

    @rekram1-node
    Collaborator

    hm got it thx for sharing

  5. fpv-dev commented on Oct 14, 2025

    @fpv-dev

    Yeah, I faced with the same problem using simple command. TUI just stuck eating CPU and doesn't respond to anything

    Image
    ---
    description: run request as a subtask
    subtask: true
    ---
    
    $ARGUMENTS
  6. rekram1-node commented on Oct 14, 2025

    @rekram1-node
    Collaborator

    @fpv-dev I think this is about shell commands not slash commands, your issue comes down to 2 things:

    • bubble tea eats a lot of cpu and the tui is inefficient (we are working on fixing this)
    • the command ux when using subagents is poor and it isnt easy to tell when an agent is finished
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