chore(tui): strip noise comments

This commit is contained in:
Brooklyn Nicholson 2026-04-16 19:14:05 -05:00
parent 7f1204840d
commit ca30803d89
9 changed files with 2 additions and 60 deletions

View file

@ -167,13 +167,10 @@ export function createGatewayEventHandler(ctx: GatewayEventHandlerContext): (ev:
patchUiState(state => ({
...state,
info,
// agent just came online → flip the 'starting agent…' placeholder.
// leave running/interrupted/error statuses alone.
status: state.status === 'starting agent…' ? 'ready' : state.status,
usage: info.usage ? { ...state.usage, ...info.usage } : state.usage
}))
// upgrade the seeded/partial intro row in-place with the real info
setHistoryItems(prev => prev.map(m => (m.kind === 'intro' ? { ...m, info } : m)))
return