anomalyco / anomalyco/opencode

TUI crash: PluginProvider is missing error in /btw

Open
#49,878 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

The OpenCode TUI crashed with an unexpected error.

Error: PluginProvider is missing

Stack trace:

Error: PluginProvider is missing
    at sc (/$bunfs/root/chunk-78sbr86b.js:2593:2804)
    at Qc (/$bunfs/root/chunk-3y6z3143.js:4:248)
    at Xn (/$bunfs/root/chunk-p4ydqyaa.js:2:7348)
    at children (/$bunfs/root/chunk-78sbr86b.js:2590:118420)
    at <anonymous> (/$bunfs/root/chunk-p4ydqyaa.js:2:15047)
    at rA (/$bunfs/root/chunk-p4ydqyaa.js:2:10380)
    at Ye (/$bunfs/root/chunk-p4ydqyaa.js:2:10156)
    at f (/$bunfs/root/chunk-p4ydqyaa.js:2:4465)
    at Xe (/$bunfs/root/chunk-p4ydqyaa.js:2:8653)
    at Xn (/$bunfs/root/chunk-p4ydqyaa.js:2:7348)
Plugins

none

OpenCode version

2.0.8

Steps to reproduce

Reported automatically from the OpenCode crash screen. If you can, describe what you were doing when it crashed.

Screenshot and/or share link

I am on macos 15.7.9 (can't edit the os section). crash happened when asking a btw question on chat, even after restarting

Image
Operating System

macOS 24.6.0 (arm64)

Terminal

WarpTerminal v0.2026.09.16.08.27.stable_02

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.

Research direction

Start by reproducing the crash in the OpenCode TUI by asking a /btw question with no plugins on macOS, using version 2.0.8. Trace the PluginProvider error from the reported stack trace and confirm that the /btw flow no longer crashes when the plugin list is empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.