v0.1.6
Fixed
- Session handling (TUI). Sidebar slot renderers resolve the active session from
ctx.session_id,sessionID/sessionIdon ctx or slot props,route.params, andsession.current()/session.active(). - Event coverage. Subscribes to
message.part.delta,session.next.text.delta,session.next.reasoning.delta, and relatedsession.next.*events; normalizes message/part/delta payload shapes. - Session summary fallback. When
session.messages()is empty, aggregates fromsession.get()token totals and polls token growth for live throughput. - Observed messages cache.
message.updatedassistant payloads merge into the view model when state APIs are partial.
Added
plugins/tps/session.js— pure session-id and event-payload helpers (unit-tested).- Plugin verify asserts session id resolution from ctx, props, and route fallback.
Install: npm i @devinoldenburg/opencode-tps-meter@0.1.6 then restart the OpenCode TUI.
Full Changelog: v0.1.5...v0.1.6