Skip to content

v0.8.0 — Close Terminal + XShape & Title Fixes

Latest

Choose a tag to compare

@CuriousTank CuriousTank released this 18 Aug 09:55

New Features

🗑 Close Terminal

Right-click a specific bulb → Close Terminal to gracefully shut down that opencode terminal (EWMH _NET_CLOSE_WINDOW, equivalent to clicking the terminal's ✕ button).

  • Two-step confirmation prevents accidental closes
  • Graceful shutdown: shell exits → opencode receives SIGHUP → plugin dispose fires → bulb disappears automatically
  • Terminal's own protection (e.g. "process running" prompt) still applies

Bug Fixes

XShape click-through dead zone

A stale egui AreaState rect from the right-click menu was permanently added to the XShape input region after the menu was first opened and closed, creating an invisible dead zone that blocked clicks in the transparent tooltip area above the bulbs. (926870c)

Bulb title not updating on session switch

When opencode switched sessions (/resume or new conversation), the bulb tooltip kept showing the old session's title. The plugin now falls back to the most recently active session instead of Map iteration order. (2ac1eac)

Install

sudo dpkg -i opencode-traffic-light_0.8.0_amd64.deb