hermes-agent/ui-tui/src
zabih-sudo 64882bc684 perf(tui): bound reasoning-clean input to the displayed tail
CI caught a split defect in this salvage: the PR's long-reasoning tail
test was kept but its production hunk was dropped as 'cosmetics'. It
isn't — cleanThinkingText runs several full-string regex passes and
reasoning grows on every streamed token, so re-cleaning the whole
accumulated string per chunk is O(n) per token / O(n^2) per stream.
Only the tail is displayed (boundedLiveRenderText caps it downstream),
so bound the input to 1.5x LIVE_RENDER_MAX_CHARS first.

Restores the one text.ts hunk from cd99e65fc (author preserved); the
italic-thinking display change and profile script from that commit
remain out of scope.
2026-08-04 13:07:44 +05:30
..
__tests__ test: add cross-thread put_threadsafe + long-reasoning tail tests 2026-08-04 13:07:44 +05:30
app fmt(js): `npm run fix` on merge (#78271) 2026-08-04 07:10:23 +00:00
components refactor(ui-tui): single source for the floating-panel kind set 2026-08-03 10:00:24 +05:30
config feat(tui): double ESC discards the draft, even mid-stream 2026-07-30 04:26:48 -05:00
content feat(tui): reach the model picker without wrecking your draft, and switch mid-turn (#74756) 2026-07-30 10:18:30 +00:00
domain fix(tui): stop announcing attachments outside the composer 2026-07-30 23:42:58 -05:00
hooks perf(tui): bound scroll rendering and preserve anchors 2026-08-03 09:53:51 +05:30
lib perf(tui): bound reasoning-clean input to the displayed tail 2026-08-04 13:07:44 +05:30
protocol
sdk refactor(ui-tui): host placement router + grid-test width-floor fix 2026-07-21 20:59:55 -05:00
types perf(tui): bound scroll rendering and preserve anchors 2026-08-03 09:53:51 +05:30
app.tsx
banner.ts
entry.tsx perf(tui): skin switches stay hot — MCP gating, pooled reload, swap repaint 2026-07-21 16:36:57 -05:00
gatewayClient.ts fix(tui): defer buffered gateway events to stop dashboard chat #301 (#36658) 2026-06-28 14:18:47 +05:30
gatewayTypes.ts feat(tui): reach the model picker without wrecking your draft, and switch mid-turn (#74756) 2026-07-30 10:18:30 +00:00
theme.ts fix(tui): paint the OSC-10 default foreground on quantizing terminals 2026-07-27 01:59:51 -05:00
types.ts fix(tui): keep MoA reference blocks visible when the thinking section is hidden 2026-07-23 18:11:57 -07:00