diff --git a/postcss.config.js b/postcss.config.js index a3b666f..ba8f906 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -21,6 +21,8 @@ export default { case '.fa-user:before': case '.fa-screwdriver-wrench:before': case '.fa-desktop:before': + case '.fa-mouse-pointer:before': + case '.fa-hourglass-half:before': case '.fa-brands:before': case '.fa-solid:before': case '.fa-regular:before': diff --git a/src/lib/AnthropicTab.svelte b/src/lib/AnthropicTab.svelte index ea0f6d5..6666234 100644 --- a/src/lib/AnthropicTab.svelte +++ b/src/lib/AnthropicTab.svelte @@ -58,6 +58,21 @@ if (tool.action === "screenshot") { icon = "fa-desktop"; messageContent = "Screenshot"; + } else if (tool.action === "mouse_move") { + icon = "fa-mouse-pointer"; + var coords = tool.coordinate; + messageContent = `Mouse at (${coords[0]}, ${coords[1]})`; + } else if (tool.action === "left_click") { + icon = "fa-mouse-pointer"; + var coords = tool.coordinate; + messageContent = `Left click at (${coords[0]}, ${coords[1]})`; + } else if (tool.action === "right_click") { + icon = "fa-mouse-pointer"; + var coords = tool.coordinate; + messageContent = `Right click at (${coords[0]}, ${coords[1]})`; + } else if (tool.action === "wait") { + icon = "fa-hourglass-half"; + messageContent = "Waiting"; } else { icon = "fa-screwdriver-wrench"; messageContent = "Use the system";