dsh-plugin-thinking-guard 0.0.0-stage → 0.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 +64 -0
- package/LICENSE +21 -0
- package/README.en.md +196 -0
- package/README.md +184 -2
- package/cordis.patch.yml +39 -0
- package/icon.svg +19 -0
- package/index.js +47 -0
- package/lib/guard.js +630 -0
- package/lib/lead-wrapper.js +209 -0
- package/lib/tool-markup.js +662 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +61 -4
package/package.json
CHANGED
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-thinking-guard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Thinking guard for DeepSeek Harness: rewrite chain-of-thought and leaked tool-call markup that an OpenAI-compatible relay put into assistant text back into reasoning blocks and real tool calls. 把漏进正文的思考与伪工具调用还原成真正的 reasoning / tool call。",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"icon": "icon.svg",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"dsh",
|
|
12
|
+
"dsh-plugin",
|
|
13
|
+
"deepseek-harness",
|
|
14
|
+
"deepseek",
|
|
15
|
+
"chain-of-thought",
|
|
16
|
+
"reasoning",
|
|
17
|
+
"thinking",
|
|
18
|
+
"stream",
|
|
19
|
+
"tool-call",
|
|
20
|
+
"openai-compatible",
|
|
21
|
+
"relay"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://github.com/yuna78/dsh-thinking-guard#readme",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/yuna78/dsh-thinking-guard.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/yuna78/dsh-thinking-guard/issues"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"dsh": ">=0.2.1-rc.2 <0.3.0"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@deepseek-ai/dsh": ">=0.2.1-rc.2 <0.3.0"
|
|
36
|
+
},
|
|
37
|
+
"exports": {
|
|
38
|
+
".": "./index.js",
|
|
39
|
+
"./locale/*.json": "./locale/*.json",
|
|
40
|
+
"./icon": "./icon.svg",
|
|
41
|
+
"./package.json": "./package.json"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"index.js",
|
|
45
|
+
"lib/",
|
|
46
|
+
"cordis.patch.yml",
|
|
47
|
+
"locale/*.json",
|
|
48
|
+
"icon.svg",
|
|
49
|
+
"README.md",
|
|
50
|
+
"README.en.md",
|
|
51
|
+
"CHANGELOG.md",
|
|
52
|
+
"LICENSE"
|
|
53
|
+
],
|
|
54
|
+
"scripts": {
|
|
55
|
+
"test": "node --test test/*.test.mjs",
|
|
56
|
+
"prepublishOnly": "node verify/smoke.mjs"
|
|
57
|
+
},
|
|
58
|
+
"dsh": {
|
|
59
|
+
"bundle": {
|
|
60
|
+
"patch": "./cordis.patch.yml"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|