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

Danilo Leal created

Release Notes:

- N/A

Change summary

assets/icons/clipboard.svg             | 1 +
crates/assistant2/src/active_thread.rs | 1 +
crates/ui/src/components/icon.rs       | 1 +
3 files changed, 3 insertions(+)

Detailed changes

assets/icons/clipboard.svg 🔗

@@ -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>

crates/assistant2/src/active_thread.rs 🔗

@@ -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,