Skip to content

fix(goal): OpenCode 2.1 native TUI peers with strict 0.5/0.7 clean consumer matrix (#284) - #287

Merged
ByBrawe merged 5 commits into
mainfrom
fix/opentui-21-peer-compat-20261027
Oct 27, 2026
Merged

ByBrawe merged 5 commits into
mainfrom
fix/opentui-21-peer-compat-20261027

Conversation

@ByBrawe

@ByBrawe ByBrawe commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Why

Published Goal 1.3.49 declares optional @opentui/core and @opentui/solid >=0.5.14 <0.6, whereas OpenCode 2.1.4 native plugin peers permit >=0.6.8, and 2.2 dev uses 0.7.0. Loop contributor @zhek's integration #190 passed actual native Goal+Loop TUI renderer on Windows/Linux at 0.5.14 and 0.7.0 (4/4), but used --legacy-peer-deps and did not prove a strict npm Goal consumer on 2.1.4.

Changes

  • Widen optional UI-only peer constraints for @opentui/core and @opentui/solid from >=0.5.14 <0.6 to >=0.5.14 <0.8. Keep Goal's V1/V2 runtime dependencies and its existing 0.5.14 source/build toolchain unchanged.
  • Add a four-lane Windows/Linux strict consumer install gate, pinning OpenCode 2.0.18+OpenTUI 0.5.14 and OpenCode 2.1.4+OpenTUI 0.7.0. Build and npm pack the actual branch candidate, install into a clean external consumer directory using ordinary strict npm install, never --legacy-peer-deps, --omit=peer, --force, or local node_modules links; log npm ls and exact versions.
  • Copy a standalone Bun native TUI rendering smoke to this clean consumer, import actual @bybrawe/opencode-goal/tui, verify visible sidebar text, remote session switching, correct RPC location, listener cleanup and idempotent slot disposal.
  • Keep existing Goal 0.5.14 native sidebar render, Windows/Linux source tests, host 2.0.18 RPC, and all real V2.1 host/Loop coexistence release gates.

Merge conditions

All 4 strict consumer installs AND native renders, plus existing CI and package/readiness on Node 20/24 pass. A 0.7 peer failure is a release blocker, not a reason to suppress npm warnings. This fixes compatibility for native CLI TUI only; real Windows Desktop/Web plugin slot availability remains unproven. Actual CLI server/client split-cache plugin auto-discovery remains Loop #191/upstream OpenCode #55084.

No published Goal npm version is changed by this PR. Next release only after package gates. See Goal #284 and Loop #192.

Copilot AI balanced review requested due to automatic review settings October 27, 2026 10:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T10:53:05.018254Z f7f11b0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7f11b05d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/native-sidebar.yml
Comment thread scripts/native-tui-clean-consumer-smoke.mjs Outdated
@ByBrawe
ByBrawe merged commit de15109 into main Oct 27, 2026
47 checks passed
@github-actions
github-actions Bot deleted the fix/opentui-21-peer-compat-20261027 branch October 27, 2026 19:23
ByBrawe added a commit that referenced this pull request Oct 27, 2026
…current main

This maintenance mirror preserves exact contributor source/test blob hashes from muhammad-luay/opencode-goal@6e988e5, against Goal main including #286 and #287, without importing fork CI workflows. This is a *test branch*, not a PR merge or published release.

Co-authored-by: muhammad-luay <muhammad-luay@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants