vite-plugin-opencode-assistant 1.1.4 → 1.1.6

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.
@@ -569,7 +569,7 @@ function generateBridgeScript(options) {
569
569
  });
570
570
 
571
571
  const span = document.createElement('span');
572
- span.setAttribute('data-type', 'file');
572
+ span.setAttribute('data-mention', 'file');
573
573
  span.setAttribute('data-path', jsonStr);
574
574
  span.setAttribute('contenteditable', 'false');
575
575
 
@@ -593,7 +593,7 @@ function generateBridgeScript(options) {
593
593
  });
594
594
 
595
595
  const span = document.createElement('span');
596
- span.setAttribute('data-type', 'file');
596
+ span.setAttribute('data-mention', 'file');
597
597
  span.setAttribute('data-path', jsonStr);
598
598
  span.setAttribute('contenteditable', 'false');
599
599
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-opencode-assistant",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Embed OpenCode Web UI in your Vite dev server for real-time code modification and preview",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",
@@ -37,15 +37,15 @@
37
37
  "dependencies": {
38
38
  "unplugin-vue-inspector": "^3.0.0",
39
39
  "execa": "^9.6.1",
40
- "@vite-plugin-opencode-assistant/components": "1.1.4",
41
- "@vite-plugin-opencode-assistant/shared": "1.1.4",
42
- "@vite-plugin-opencode-assistant/opencode": "1.1.4"
40
+ "@vite-plugin-opencode-assistant/opencode": "1.1.6",
41
+ "@vite-plugin-opencode-assistant/components": "1.1.6",
42
+ "@vite-plugin-opencode-assistant/shared": "1.1.6"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "vite": ">=5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@vite-plugin-opencode-assistant/client": "1.1.4"
48
+ "@vite-plugin-opencode-assistant/client": "1.1.6"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "pagoda-cli build && vite build -c vite.client.config.ts",