mirror of
https://github.com/cline/cline.git
synced 2026-08-30 17:20:20 +08:00
98024c4243
@opentui-ui/dialog@0.1.2 is built against @opentui/core ^0.1.69, whose Renderable.remove(id) took a string id. Core 0.4.x renamed it to remove(child) and throws when handed anything but a renderable, so the dialog package's removeDialog()/provider teardown aborted before detaching the panel: the React portal content unmounted but the imperative grey box stayed on screen over the chat after every dialog close (model picker, help, command palette, ...). The upstream package is abandoned at 0.1.2, so pin the fix with a bun patch that passes the renderable object on all three bindings (react, solid, core container). A tui-test opens and dismisses the help dialog and asserts the panel's #262626 background is fully gone, not just its text. Fixes #12506 Co-authored-by: Cline Agent <cline-agent@users.noreply.github.com>