Skip to content

v0.1.3

Choose a tag to compare

@pistonex pistonex released this 14 Sep 00:16
· 2 commits to main since this release

Fix: the widget stayed stuck on 'loading...' forever when installed as an npm package, even though the usage request succeeded.

Root cause: loaded from inside node_modules, Bun resolves bare imports (solid-js, @opentui/solid, the JSX runtime) against the package's own copies instead of the OpenCode TUI host, creating a second Solid runtime the host renderer never sees.

Fix: all runtime imports now go through the host's virtual modules (opentui:runtime-module:*), and the markup is built with explicit jsx()/jsxs() calls (no auto-generated bare JSX-runtime import). Peer dependencies are optional again so npm does not install shadow copies.