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 = JSON.stringify(elements, null, 2);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-ai-annotator",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "AI-powered element annotator for Vite - Pick elements and get instant AI code modifications",
5
5
  "type": "module",
6
6
  "main": "dist/vite-plugin.js",