assistant2: Add icon for copy-path tool (#27421)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-03-25 09:44:44 -03:00 committed by GitHub
parent f1a9fdddab
commit 9468b9699e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clipboard"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>

After

Width:  |  Height:  |  Size: 358 B

View file

@ -1253,6 +1253,7 @@ impl ActiveThread {
let tool_icon = match tool_use.name.as_ref() {
"bash" => IconName::Terminal,
"copy-path" => IconName::Clipboard,
"delete-path" => IconName::Trash,
"diagnostics" => IconName::Warning,
"edit-files" => IconName::Pencil,

View file

@ -169,6 +169,7 @@ pub enum IconName {
ChevronUp,
ChevronUpDown,
Circle,
Clipboard,
Close,
Code,
Cog,