anomalyco / anomalyco/opencode

OpenCode stops executing every task after ~30 seconds and requires manual resume

Open
#38,766 4 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Jul 24, 2026.

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

Description

Description

What happened?

Whenever I ask OpenCode to perform any task, it starts working normally but always stops after approximately 30 seconds without completing the task.

There is no visible error message. The execution simply stops as if it had been interrupted.

If I ask OpenCode to continue or resume, it starts working again for another ~30 seconds before stopping once more. This behavior happens consistently on every task.

What I tried

  • Completely uninstalled OpenCode
  • Cleared the application cache
  • Restarted my computer
  • Reinstalled OpenCode

None of these steps fixed the issue.

Expected behavior

OpenCode should continue executing the requested task until it is completed instead of stopping after around 30 seconds.

Plugins

None

OpenCode version

1.18.5

Steps to reproduce
  1. Open OpenCode.
  2. Ask it to perform any task (code generation, editing, analysis, etc.).
  3. Wait approximately 30 seconds.
  4. The task stops by itself without completing.
  5. Ask OpenCode to continue.
  6. It resumes for another ~30 seconds and then stops again.
Screenshot and/or share link
Image
Operating System

Windows 11

Terminal

Desktop app

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.