Skip to content

P1: Native TUI sidebar discovery must survive remote/split-cache OpenCode 2 hosts (#165) #191

Open

Description

@ByBrawe

User-facing risk

The read-only sidebar contributed by @zhek in #165 is being integrated with Loop+Goal in PR #190. Its OpenTUI render and two-plugin slot co-render matrix verifies correct rendering after loading, but does not prove the actual CLI automatically loads ./tui for every install/network topology.

Upstream OpenCode #55084 reproduces a real problem: when the server has a plugin package registered (features.tui=true) but the separately started CLI/TUI has a distinct npm cache (remote backend or split XDG_CACHE_HOME), the TUI may silently skip its ./tui module. The original reporter refined and confirmed the narrower case; upstream bot and contributor independently reproduced split cache and are working on a fix. Normal shared-cache installs can work. This is upstream plugin discovery, not proof of a Loop scheduler bug or a Windows Desktop GUI fix.

Completion criteria

  • Run a real OpenCode 2.1.4 CLI/TUI (not only testRender) with independently packed Loop ./server and ./tui and separately installed Goal 1.3.49. Record native plugin.list features, CLI-rendered panel text and exact package and OpenTUI versions.
  • Cases: shared npm cache, deliberately split TUI/server cache, remote --server backend, different project worktrees, TUI attached after server starts, reconnect and host reload. Confirm local shared-cache pass; explicitly capture silent skip in split cache and link upstream #55084.
  • Verify a documented version-specific optional TUI plugin config/install workaround with cli.json on OpenCode 2.1.x; check newer tui.json layout only where the host actually supports it. Never invent legacy Markdown slash-command bridges.
  • A missing panel must never disable /loop jobs, trigger Goal/Loop messages or weaken stop and session ownership. Goal panel remains independent.
  • Keep Windows Desktop/Web GUI outside TUI evidence; track Windows app commands separately in #169.
  • Before shipping, distinguish proven Loop TUI rendering (PR feat(loop): integrate @zhek native OpenCode 2 Loop sidebar (#165) #190 matrix) from unresolved real CLI plugin auto-discovery (upstream #55084). Require a real CLI integration smoke or clear caveat in release notes.

Related: Goal #284 and Loop #185.

Metadata

Metadata

Assignees

No one assigned

    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