dsh-recall-plugin 2.2.0 → 2.3.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.
- package/CHANGELOG.md +19 -0
- package/README.md +2 -8
- package/lib/client.js +1476 -1472
- package/lib/index.js +446 -411
- package/lib/routes-manage.js +624 -619
- package/package.json +65 -65
package/package.json
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-recall-plugin",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "DSH 消息撤回插件:在用户消息气泡旁加「撤回」按钮,把项目文件(独立影子 git 仓库快照)与对话历史(官方 fork)一并回退到该消息发送之前。",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/limbo947/dsh-recall-plugin.git"
|
|
9
|
-
},
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
|
-
"main": "lib/index.js",
|
|
14
|
-
"exports": {
|
|
15
|
-
".": "./lib/index.js",
|
|
16
|
-
"./client": "./lib/client.js",
|
|
17
|
-
"./package.json": "./package.json"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"lib",
|
|
21
|
-
"cordis.patch.yml",
|
|
22
|
-
"README.md",
|
|
23
|
-
"README.en.md",
|
|
24
|
-
"CHANGELOG.md",
|
|
25
|
-
"LICENSE"
|
|
26
|
-
],
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=20"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"check:dsh": "node scripts/check-dsh-version.mjs",
|
|
32
|
-
"build": "node scripts/build-client.mjs",
|
|
33
|
-
"test": "vitest run tests/unit",
|
|
34
|
-
"test:probe": "vitest run tests/probe",
|
|
35
|
-
"verify:host": "node scripts/verify-host.mjs"
|
|
36
|
-
},
|
|
37
|
-
"dsh": {
|
|
38
|
-
"bundle": {
|
|
39
|
-
"patch": "./cordis.patch.yml"
|
|
40
|
-
},
|
|
41
|
-
"client": {
|
|
42
|
-
"platform": "web",
|
|
43
|
-
"inject": [
|
|
44
|
-
"@deepseek-ai/dsh-client-web-react"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
50
|
-
"@deepseek-ai/dsh-client-web-react": "^0.1.1-rc.2",
|
|
51
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2",
|
|
52
|
-
"@deepseek-ai/dsh-sandbox-policy": "^0.1.1-rc.2",
|
|
53
|
-
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
54
|
-
"@deepseek-ai/dsh-session-query": "^0.1.1-rc.2",
|
|
55
|
-
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
|
|
56
|
-
"@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
|
|
57
|
-
"@deepseek-ai/schemastery": "^3.18.1",
|
|
58
|
-
"react": "^18.2.0"
|
|
59
|
-
},
|
|
60
|
-
"license": "MIT",
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"esbuild": "^0.28.1",
|
|
63
|
-
"vitest": "^4.1.11"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-recall-plugin",
|
|
3
|
+
"version": "2.3.0",
|
|
4
|
+
"description": "DSH 消息撤回插件:在用户消息气泡旁加「撤回」按钮,把项目文件(独立影子 git 仓库快照)与对话历史(官方 fork)一并回退到该消息发送之前。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/limbo947/dsh-recall-plugin.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"main": "lib/index.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./lib/index.js",
|
|
16
|
+
"./client": "./lib/client.js",
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"cordis.patch.yml",
|
|
22
|
+
"README.md",
|
|
23
|
+
"README.en.md",
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"check:dsh": "node scripts/check-dsh-version.mjs",
|
|
32
|
+
"build": "node scripts/build-client.mjs",
|
|
33
|
+
"test": "vitest run tests/unit",
|
|
34
|
+
"test:probe": "vitest run tests/probe",
|
|
35
|
+
"verify:host": "node scripts/verify-host.mjs"
|
|
36
|
+
},
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"platform": "web",
|
|
43
|
+
"inject": [
|
|
44
|
+
"@deepseek-ai/dsh-client-web-react"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
50
|
+
"@deepseek-ai/dsh-client-web-react": "^0.1.1-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.1-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-session-query": "^0.1.1-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
|
|
57
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
58
|
+
"react": "^18.2.0"
|
|
59
|
+
},
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"esbuild": "^0.28.1",
|
|
63
|
+
"vitest": "^4.1.11"
|
|
64
|
+
}
|
|
65
|
+
}
|