dsh-side-branch 0.1.1 → 0.2.2
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/AGENTS.md +103 -13
- package/README.md +92 -55
- package/docs/AGENTS.en.md +106 -14
- package/docs/CHANGELOG.md +82 -0
- package/docs/README.zh-CN.md +90 -53
- package/docs/TECHNICAL.md +105 -10
- package/docs/TECHNICAL.zh-CN.md +105 -10
- package/lib/client.js +618 -64
- package/lib/index.js +1041 -90
- package/package.json +10 -4
package/package.json
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-side-branch",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "DSH
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "A read-only branch: quote text in the main session to ask follow-ups without polluting its model context. · DSH 只读侧枝:划选文字即可追问,答案不进入主会话的模型上下文。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
7
7
|
"dsh-plugin",
|
|
8
|
+
"deepseek",
|
|
8
9
|
"deepseek-harness",
|
|
9
10
|
"cordis",
|
|
11
|
+
"sidebar",
|
|
10
12
|
"side-chat",
|
|
11
13
|
"side-branch",
|
|
12
14
|
"read-only",
|
|
15
|
+
"context-isolation",
|
|
13
16
|
"prefix-cache"
|
|
14
17
|
],
|
|
15
18
|
"type": "module",
|
|
@@ -40,7 +43,9 @@
|
|
|
40
43
|
],
|
|
41
44
|
"scripts": {
|
|
42
45
|
"smoke": "node scripts/smoke.mjs",
|
|
43
|
-
"
|
|
46
|
+
"client-check": "node scripts/client-check.mjs",
|
|
47
|
+
"check": "node scripts/smoke.mjs && node scripts/client-check.mjs",
|
|
48
|
+
"prepublishOnly": "node scripts/smoke.mjs && node scripts/client-check.mjs"
|
|
44
49
|
},
|
|
45
50
|
"dsh": {
|
|
46
51
|
"bundle": {
|
|
@@ -57,7 +62,8 @@
|
|
|
57
62
|
},
|
|
58
63
|
"license": "MIT",
|
|
59
64
|
"engines": {
|
|
60
|
-
"node": ">=20"
|
|
65
|
+
"node": ">=20",
|
|
66
|
+
"dsh": ">=0.1.5-rc.2"
|
|
61
67
|
},
|
|
62
68
|
"peerDependencies": {
|
|
63
69
|
"@deepseek-ai/cordis": "^4.0.2"
|