vite-plugin-ai-annotator 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7777,7 +7777,7 @@
|
|
|
7777
7777
|
this.showToast("No elements selected");
|
|
7778
7778
|
return;
|
|
7779
7779
|
}
|
|
7780
|
-
const text =
|
|
7780
|
+
const text = `I have selected ${elements.length} element(s) in the browser. Use the \`annotator_get_selected_elements\` tool to retrieve them and modify the code.`;
|
|
7781
7781
|
try {
|
|
7782
7782
|
await navigator.clipboard.writeText(text);
|
|
7783
7783
|
this.showToast(`Copied ${elements.length} element(s)`);
|
package/package.json
CHANGED