# v0.40.1: TUI loads on OpenCode 1.17.10

A patch fix for the AFT sidebar and `/aft-status` failing to load on OpenCode 1.17.10.

## Fix

OpenCode 1.17.10 bumped its bundled OpenTUI to 0.4.2. AFT's TUI entry is raw TSX that needs `@opentui/solid` and `solid-js` at import, and the plugin had been relying on the host providing them. On 1.17.10 that copy became unreachable from the plugin, so the sidebar and `/aft-status` failed to load with `Cannot find module '@opentui/solid/jsx-dev-runtime'`.

The plugin now declares `@opentui/core`, `@opentui/solid`, and `solid-js` as its own dependencies, matching the host's pinned versions, so the TUI resolves its rendering runtime regardless of how the host bundles it. A new test imports the TUI entry the way OpenCode loads it, so this class of breakage is caught in CI going forward.

If you updated to OpenCode 1.17.10 and lost the AFT sidebar or `/aft-status`, this restores them.

---

Questions or feedback? Join us on [Discord](https://discord.gg/DSa65w8wuf).
