Commit d9d79e3
committed
fix(tui): pin OpenTUI to 0.3.4 to match OpenCode 1.17.11 (#200)
OpenCode 1.17.11 reverted bundled OpenTUI 0.4.2 -> 0.3.4, but the plugin
pinned ^0.4.2 as a regular dependency, so npm installed a second OpenTUI
0.4.2 in the plugin tree. The sidebar then mounted 0.4.2 renderables into
the host's 0.3.4 renderer, which kept the TUI process burning CPU at idle
(additive per sidebar plugin). Pin @opentui/core + @opentui/solid to 0.3.4
to match the host so the sidebar shares a single, version-matched OpenTUI.
Peer-only deps are not viable: the OpenCode TUI loader does not resolve
host-provided @opentui/* for raw-TS tui.json plugins, so a peer-dep flip
re-breaks with MODULE_NOT_FOUND (the original 1.17.10 failure). A host-side
loader fix is being tracked upstream as the durable resolution.1 parent 93d6f8c commit d9d79e3
4 files changed
Lines changed: 31 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments