Skip to content

v0.30.2

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Jun 10:33

v0.30.2

A patch release fixing high idle CPU from the TUI sidebar.

Fixes

  • High idle CPU from the TUI sidebar (#200). The sidebar polled the plugin every 500ms over a localhost connection. Because the TUI and the plugin run in separate runtimes inside the same process, each poll opened a brand-new loopback connection, so an idle session kept burning CPU continuously (a few percent on fast machines, noticeably more on slower ones, and additive when other sidebar plugins were also installed). The sidebar now holds a single persistent WebSocket to the plugin and receives updates the instant they happen, instead of polling. Idle CPU drops back to baseline. Thanks to @null-axiom for the report and the cross-plugin cross-check that pointed at the shared mechanism.

    As part of this, the plugin's detection of whether a TUI is connected is now based on the live connection itself rather than a recent-poll timeout, so server-initiated dialogs (/ctx-status, /ctx-recomp, the upgrade prompt) route to the TUI reliably instead of depending on timing.