dsh-capability-trimmer 0.0.0-stage → 1.0.3

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/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
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "能力裁剪台",
4
+ "description": "把模型能看到的技能与 MCP 工具变成一张可审计、可裁剪、可撤销的清单:自动检测能力重合,注册表层一键禁用(即时生效、可恢复),就地改写技能描述,关闭前看上下游引用影响面——帮模型省 token、少挑错工具。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,58 @@
1
1
  {
2
2
  "name": "dsh-capability-trimmer",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.3",
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
+ }