anomalyco / anomalyco/opencode

[FEATURE]: Long-running shell commands block the entire conversation

Open
#39,769 1 comment 0 reactions 1 assignee View on GitHub

@nexxeln is already working on this.

Since Jul 30, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Any command that takes a while (gh run watch, Start-Sleep polling loops, etc.) freezes the whole conversation. You cannot do anything else, cannot cancel, just wait.

I was debugging a flaky CI test. Every time the assistant ran gh run list + Start-Sleep to poll for results, the conversation hung for 60-120s.

Proposed Solution

A simple background flag on the shell tool, similar to timeout.

Command runs in background, conversation stays responsive. Result delivered when done.

Verification

  • I have checked that this feature has not been suggested before

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.