swarm-ui: replace an agent's message box with a reconnect bar when its terminal stream is closed
A closed stream showed only a small red dot and a quiet badge in the top row, so a terminal that had given up looked like a live one. The pill the operator types in is now swapped for a red bar that says disconnected and holds the reconnect button; the form stays mounted underneath so an unsent message survives. A subagent terminal has no message box and keeps its reconnect badge.
This commit is contained in:
parent
d8ac52b77d
commit
48ce818bb7
1 changed files with 103 additions and 8 deletions
|
|
@ -283,9 +283,12 @@ An agent's terminal opens with its last 100 rows from the past 24 hours, then
|
|||
follows new ones; a reconnect picks up after the last row it showed. A subagent
|
||||
terminal does the same with that subagent's rows, and has no turn-state badges.
|
||||
The browser retries a dropped connection by itself. When the swarm answers the
|
||||
stream with an error status, the browser gives up and the badge reads
|
||||
**disconnected**. The **reconnect** button beside it opens the stream again, and
|
||||
the stream replays the rows. The message log card works the same way.
|
||||
stream with an error status, the browser gives up. An agent's terminal then
|
||||
swaps its message box for a red bar that reads **disconnected**, with a
|
||||
**reconnect** button that opens the stream again and replays the rows. The
|
||||
unsent text in the box stays. A subagent terminal has no message box, so its
|
||||
**reconnect** badge sits in the top row. The message log card works the same
|
||||
way.
|
||||
|
||||
The settings menu in the header has a **theme** select: **auto**, which follows
|
||||
the OS and picks hyperhive light or hyperhive dark, then hyperhive light,
|
||||
|
|
|
|||
Loading…
Reference in a new issue