swarm ui: the agent card has a terminal icon beside the wanted menu
It opens the agent's terminal tab without opening the card.
This commit is contained in:
parent
0912e2ca06
commit
5b66a83112
1 changed files with 38 additions and 2 deletions
|
|
@ -105,3 +105,24 @@ export function FilterIcon() {
|
|||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
// A prompt in a window (`>_`), the standard "terminal" glyph — the agent
|
||||
// card's shortcut to the agent's terminal tab. Same recipe as `LinkIcon`.
|
||||
export function TerminalIcon() {
|
||||
return (
|
||||
<svg
|
||||
width="1.3em"
|
||||
height="1.3em"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<polyline points="4 17 10 11 4 5" />
|
||||
<line x1="12" y1="19" x2="20" y2="19" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue