dsh-sidecard-ask 2.0.1 → 2.1.0

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.
Files changed (5) hide show
  1. package/CHANGELOG.md +167 -0
  2. package/README.md +62 -16
  3. package/client.js +505 -103
  4. package/index.js +457 -68
  5. package/package.json +69 -66
package/package.json CHANGED
@@ -1,66 +1,69 @@
1
- {
2
- "name": "dsh-sidecard-ask",
3
- "version": "2.0.1",
4
- "description": "DSH 划词追问(侧边卡片作答):在聊天区与任务区选中文本就地追问,答案由独立子代理在侧边卡片里流式呈现,也可选择落回主对话。",
5
- "type": "module",
6
- "main": "index.js",
7
- "exports": {
8
- ".": "./index.js",
9
- "./client": "./client.js",
10
- "./package.json": "./package.json",
11
- "./locale/*.json": "./locale/*.json"
12
- },
13
- "files": [
14
- "index.js",
15
- "client.js",
16
- "cordis.patch.yml",
17
- "locale/*.json",
18
- "icon.svg",
19
- "README.md",
20
- "CHANGELOG.md",
21
- "LICENSE"
22
- ],
23
- "engines": {
24
- "node": ">=20"
25
- },
26
- "license": "MIT",
27
- "keywords": [
28
- "dsh",
29
- "dsh-plugin",
30
- "deepseek-harness",
31
- "selection",
32
- "划词",
33
- "选中追问",
34
- "ask",
35
- "side-card",
36
- "侧边卡片"
37
- ],
38
- "repository": {
39
- "type": "git",
40
- "url": "git+https://github.com/HERO476/dsh-sidecard-ask.git"
41
- },
42
- "homepage": "https://github.com/HERO476/dsh-sidecard-ask#readme",
43
- "bugs": {
44
- "url": "https://github.com/HERO476/dsh-sidecard-ask/issues"
45
- },
46
- "icon": "./icon.svg",
47
- "meta": {
48
- "title": "侧边卡片追问",
49
- "description": "选中聊天或任务里的文本就地追问;答案由独立子代理在侧边卡片里流式呈现(也可落回主对话)。"
50
- },
51
- "dsh": {
52
- "manifestVersion": 1,
53
- "bundle": {
54
- "patch": "./cordis.patch.yml"
55
- },
56
- "client": {
57
- "platform": "web",
58
- "immediately": true,
59
- "inject": [
60
- "@deepseek-ai/dsh-client-locale",
61
- "@deepseek-ai/dsh-client-ui-slots",
62
- "@deepseek-ai/dsh-client-ui-conversation"
63
- ]
64
- }
65
- }
66
- }
1
+ {
2
+ "name": "dsh-sidecard-ask",
3
+ "version": "2.1.0",
4
+ "description": "DSH 划词追问(侧边卡片作答):在聊天区与任务区选中文本就地追问,答案由独立子代理在侧边卡片里流式呈现,也可选择落回主对话。",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "scripts": {
8
+ "test": "node test/verify.mjs && node test/contract-test.mjs && node test/float-placement.mjs && node test/smoke-test.mjs"
9
+ },
10
+ "exports": {
11
+ ".": "./index.js",
12
+ "./client": "./client.js",
13
+ "./package.json": "./package.json",
14
+ "./locale/*.json": "./locale/*.json"
15
+ },
16
+ "files": [
17
+ "index.js",
18
+ "client.js",
19
+ "cordis.patch.yml",
20
+ "locale/*.json",
21
+ "icon.svg",
22
+ "README.md",
23
+ "CHANGELOG.md",
24
+ "LICENSE"
25
+ ],
26
+ "engines": {
27
+ "node": ">=20"
28
+ },
29
+ "license": "MIT",
30
+ "keywords": [
31
+ "dsh",
32
+ "dsh-plugin",
33
+ "deepseek-harness",
34
+ "selection",
35
+ "划词",
36
+ "选中追问",
37
+ "ask",
38
+ "side-card",
39
+ "侧边卡片"
40
+ ],
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/HERO476/dsh-sidecard-ask.git"
44
+ },
45
+ "homepage": "https://github.com/HERO476/dsh-sidecard-ask#readme",
46
+ "bugs": {
47
+ "url": "https://github.com/HERO476/dsh-sidecard-ask/issues"
48
+ },
49
+ "icon": "./icon.svg",
50
+ "meta": {
51
+ "title": "侧边卡片追问",
52
+ "description": "选中聊天或任务里的文本就地追问;答案由独立子代理在侧边卡片里流式呈现(也可落回主对话)。"
53
+ },
54
+ "dsh": {
55
+ "manifestVersion": 1,
56
+ "bundle": {
57
+ "patch": "./cordis.patch.yml"
58
+ },
59
+ "client": {
60
+ "platform": "web",
61
+ "immediately": true,
62
+ "inject": [
63
+ "@deepseek-ai/dsh-client-locale",
64
+ "@deepseek-ai/dsh-client-ui-slots",
65
+ "@deepseek-ai/dsh-client-ui-conversation"
66
+ ]
67
+ }
68
+ }
69
+ }