dsh-recall-plugin 2.2.1 → 2.3.1

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.
@@ -328,7 +328,7 @@ export function diffScript(root, store, gitExe, tag, base) {
328
328
  'set -e -o pipefail',
329
329
  collectListsBlock(store, gitExe, root, tag, base),
330
330
  "trap 'rm -f \"$tmpc\" \"$tmpt\"' EXIT",
331
- 'awk -F\'\\t\' -v OFS=\'\\t\' \'.',
331
+ 'awk -F\'\\t\' -v OFS=\'\\t\' \'',
332
332
  ' FNR==1 { fidx++ }',
333
333
  ' fidx==1 { split($1, a, " "); cur[$2]=a[2]; next }',
334
334
  ' { split($1, a, " "); tgt[$2]=a[3] }',
package/package.json CHANGED
@@ -1,65 +1,66 @@
1
- {
2
- "name": "dsh-recall-plugin",
3
- "version": "2.2.1",
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.1",
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
+ "check:upgrade": "node scripts/check-upgrade.mjs",
33
+ "build": "node scripts/build-client.mjs",
34
+ "test": "vitest run tests/unit",
35
+ "test:probe": "vitest run tests/probe",
36
+ "verify:host": "node scripts/verify-host.mjs"
37
+ },
38
+ "dsh": {
39
+ "bundle": {
40
+ "patch": "./cordis.patch.yml"
41
+ },
42
+ "client": {
43
+ "platform": "web",
44
+ "inject": [
45
+ "@deepseek-ai/dsh-client-web-react"
46
+ ]
47
+ }
48
+ },
49
+ "peerDependencies": {
50
+ "@deepseek-ai/cordis": "^4.0.1",
51
+ "@deepseek-ai/dsh-client-web-react": "^0.1.1-rc.2",
52
+ "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2",
53
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.1-rc.2",
54
+ "@deepseek-ai/dsh-session": "^0.1.1-rc.2",
55
+ "@deepseek-ai/dsh-session-query": "^0.1.1-rc.2",
56
+ "@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
57
+ "@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
58
+ "@deepseek-ai/schemastery": "^3.18.1",
59
+ "react": "^18.2.0"
60
+ },
61
+ "license": "MIT",
62
+ "devDependencies": {
63
+ "esbuild": "^0.28.1",
64
+ "vitest": "^4.1.11"
65
+ }
66
+ }