swarm-ui: move the terminal preview's state badges into a state row of the agent details table
The small preview in the detail panel keeps only the connection badge and expand, and no longer follows the agent's state stream; the full terminal tab keeps all its badges. The table gets a state row with the turn state, a paused badge, and the context and billed tokens (not the model, which the inference row shows). The preview's top padding drops to one badge row, and the showHeaderBadges prop goes since the full-tab mount is now the only one with badges.
This commit is contained in:
parent
8899dca807
commit
705160c0fd
1 changed files with 94 additions and 33 deletions
|
|
@ -62,7 +62,6 @@ export function AgentTerminalPage({
|
|||
agentName={name}
|
||||
subagent={subagent}
|
||||
fullHeight
|
||||
showHeaderBadges
|
||||
leading={
|
||||
<>
|
||||
<span ref={badgeRef}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue