dsh-capability-trimmer 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.en.md +37 -0
- package/README.md +36 -2
- package/client.js +1066 -0
- package/cordis.patch.yml +3 -0
- package/core.mjs +284 -0
- package/icon.svg +8 -0
- package/index.js +1071 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +56 -4
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Capability Trimmer",
|
|
4
|
+
"description": "Turns what the model can see (skills and MCP tools) into an auditable, trimmable, reversible list: detects overlapping capabilities, disables them at the registry layer (instant and reversible), edits skill descriptions in place, and shows upstream/downstream impact before you turn anything off — saving tokens and wrong-tool mistakes."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-capability-trimmer",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "cuoduidui",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/cuoduidui/dsh-capability-trimmer.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/cuoduidui/dsh-capability-trimmer#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/cuoduidui/dsh-capability-trimmer/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"description": "Turns what the model can see (skills and MCP tools) into an auditable, trimmable, reversible list: overlap detection, registry-level disable, in-place description editing, and impact graphs.",
|
|
17
|
+
"engines": {
|
|
18
|
+
"dsh": ">=0.2.2-rc.5"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"dsh",
|
|
22
|
+
"deepseek-harness",
|
|
23
|
+
"capability",
|
|
24
|
+
"overlap",
|
|
25
|
+
"token",
|
|
26
|
+
"skills",
|
|
27
|
+
"mcp"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": "./index.js",
|
|
31
|
+
"./client": "./client.js",
|
|
32
|
+
"./locale/*.json": "./locale/*.json",
|
|
33
|
+
"./icon": "./icon.svg",
|
|
34
|
+
"./package.json": "./package.json",
|
|
35
|
+
"./cordis.patch.yml": "./cordis.patch.yml"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"index.js",
|
|
39
|
+
"client.js",
|
|
40
|
+
"core.mjs",
|
|
41
|
+
"cordis.patch.yml",
|
|
42
|
+
"locale/*.json",
|
|
43
|
+
"icon.svg"
|
|
44
|
+
],
|
|
45
|
+
"dsh": {
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": "./cordis.patch.yml"
|
|
48
|
+
},
|
|
49
|
+
"client": {
|
|
50
|
+
"platform": "web",
|
|
51
|
+
"immediately": true,
|
|
52
|
+
"inject": [
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
54
|
+
"@deepseek-ai/dsh-client-locale"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|