Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/docs/4-implementation/web-ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 0a72f212da swarm ui: a terminal keeps 2000 rows and folds a burst of rows in at once
useSwarmTermStream appended each event with [...rows, row] and never dropped one, so a tab on a busy agent grew without bound in memory and DOM and each event cost a copy of the whole list. appendRows (a pure module, tested) folds a batch in with one copy, coalesces as before, and keeps the newest 2000. Events are collected for 50ms and folded in together, so a burst is one render.

The comments that described the old coalescing in useSwarmTermStream.ts's header and in termMsg.ts's TermEnvelope doc named a hook that no longer exists (useLiveStream), so both now point at term-rows.ts, where the rule lives.
2026-11-20 17:18:10 +01:00
..
agent-page.md remove the agent's stats page and its endpoint 2026-11-16 19:00:52 +01:00
css-vars.md frontend: one glass token pair in place of three copied light and dark blocks 2026-11-20 00:22:35 +01:00
dashboard.md hive dashboard: an agent's name links to its terminal in the swarm UI 2026-11-16 23:19:45 +01:00
shape.md frontend: remove the unused vanilla terminal and tab strip, and fix comments that describe removed UI 2026-11-19 21:47:37 +01:00
swarm-ui.md swarm ui: a terminal keeps 2000 rows and folds a burst of rows in at once 2026-11-20 17:18:10 +01:00
terminal-rendering.md swarm ui: show thinking is a toggle of its own, apart from the developer details 2026-11-16 20:52:58 +01:00