fix: preserve status bar context tokens on interrupt, skip redundant auto-title DB calls
Status bar: only update lastContextTokens when the new value is non-zero. On ESC interrupt the turn-error event reports 0 context tokens (no step finished), which was overwriting the previous valid value and hiding the ctx segment from the status bar. Auto-title: add a `titled` boolean to ActiveSession so autoTitleSession is called only on the first turn. Previously every turn hit the DB with a no-op UPDATE (WHERE title = "").
xonecas2026-03-21
4b62adba554c43908e7eb11a6f7aa120e35b3c46
parent bfda23b