dsh-plugin-sprig 1.0.1 → 1.0.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.
package/client.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * 但把 key='quote' 的表面替换成同时包含三个操作的组件,避免右键时和原生 Copy 菜单叠在一起。
6
6
  */
7
7
  window.__ModuleLoader__.load({
8
- id: '@local/sprig',
8
+ id: 'dsh-plugin-sprig',
9
9
  factory(require) {
10
10
  const React = require('react')
11
11
  const h = React.createElement
package/cordis.patch.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  - insert:
2
2
  - id: sprig-dsh
3
- name: '@local/sprig'
3
+ name: 'dsh-plugin-sprig'
4
4
  config: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-sprig",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "DSH client plugin: send selected conversation text to Sprig and get a source-aware explanation card.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -24,7 +24,10 @@
24
24
  "exports": {
25
25
  ".": "./index.js",
26
26
  "./client": "./client.js",
27
- "./locale/*.json": "./locale/*.json",
27
+ "./cordis.patch.yml": "./cordis.patch.yml",
28
+ "./package.json": "./package.json",
29
+ "./locale/en.json": "./locale/en.json",
30
+ "./locale/zh.json": "./locale/zh.json",
28
31
  "./icon": "./icon.svg"
29
32
  },
30
33
  "files": [
@@ -49,5 +52,6 @@
49
52
  "@deepseek-ai/dsh-message-quotes"
50
53
  ]
51
54
  }
52
- }
55
+ },
56
+ "main": "./index.js"
53
57
  }