dsh-project-mcp 0.2.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/LICENSE +21 -0
- package/README.md +983 -0
- package/cordis.patch.yml +7 -0
- package/locale/en.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +106 -0
- package/src/activation.ts +1632 -0
- package/src/bridge.ts +486 -0
- package/src/client/design-fixtures.ts +399 -0
- package/src/client/design.ts +410 -0
- package/src/client/index.ts +255 -0
- package/src/client/locales/host.ts +570 -0
- package/src/client/locales/ui.ts +914 -0
- package/src/client/plugin-config.ts +721 -0
- package/src/client/policy.ts +277 -0
- package/src/client/settings-tools.ts +1136 -0
- package/src/client/settings.ts +3603 -0
- package/src/client/tab-locale.ts +94 -0
- package/src/client/toasts.ts +553 -0
- package/src/client/usage-view.ts +190 -0
- package/src/client/view.ts +4120 -0
- package/src/discovery.ts +211 -0
- package/src/guidance.ts +415 -0
- package/src/index.ts +685 -0
- package/src/logs.ts +184 -0
- package/src/naming.ts +134 -0
- package/src/notifications.ts +254 -0
- package/src/parse.ts +637 -0
- package/src/policy.ts +425 -0
- package/src/runtime.ts +4222 -0
- package/src/shared.ts +130 -0
- package/src/types.ts +662 -0
- package/src/ui.ts +579 -0
- package/src/usage.ts +442 -0
- package/src/write.ts +447 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Mount the per-project MCP manager on the profile host plane. It resolves the
|
|
2
|
+
# project of every live session and mounts that project's MCP servers on the
|
|
3
|
+
# session's own Cordis scope, so `.kimi-code/mcp.json` / `.dsh/mcp.json` apply
|
|
4
|
+
# only where they are declared.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: project-mcp
|
|
7
|
+
name: dsh-project-mcp
|
package/locale/en.json
ADDED
package/locale/ru.json
ADDED
package/locale/zh.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-project-mcp",
|
|
3
|
+
"description": "Per-project MCP servers for DeepSeek Harness: mounts the MCP servers a project declares into the sessions working in it",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/borgez/dsh-project-mcp.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/borgez/dsh-project-mcp#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/borgez/dsh-project-mcp/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"dsh",
|
|
19
|
+
"deepseek-harness",
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"cordis",
|
|
23
|
+
"plugin"
|
|
24
|
+
],
|
|
25
|
+
"files": [
|
|
26
|
+
"lib",
|
|
27
|
+
"src",
|
|
28
|
+
"locale",
|
|
29
|
+
"cordis.patch.yml",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./lib/index.d.ts",
|
|
36
|
+
"default": "./lib/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./client": {
|
|
39
|
+
"types": "./lib/client.d.ts",
|
|
40
|
+
"default": "./lib/client.js"
|
|
41
|
+
},
|
|
42
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"dsh": {
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": "./cordis.patch.yml"
|
|
48
|
+
},
|
|
49
|
+
"client": {
|
|
50
|
+
"platform": "web",
|
|
51
|
+
"inject": [
|
|
52
|
+
"@deepseek-ai/dsh-client-locale",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"@deepseek-ai/cordis": ">=4.0.2",
|
|
62
|
+
"@deepseek-ai/dsh-mcp-client": ">=0.1.5-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-scope": ">=0.1.5-rc.2",
|
|
64
|
+
"dsh-better-sidebar": ">=0.19.0",
|
|
65
|
+
"react": ">=18.2.0"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"dsh-better-sidebar": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"react": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
77
|
+
"@deepseek-ai/dsh-mcp-client": "0.1.5-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-scope": "0.1.5-rc.2",
|
|
79
|
+
"@types/node": "^22.20.0",
|
|
80
|
+
"@types/react": "^18.3.31",
|
|
81
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
82
|
+
"@vitest/ui": "5.0.1",
|
|
83
|
+
"dsh-better-sidebar": "^0.19.1",
|
|
84
|
+
"react": "^18.3.1",
|
|
85
|
+
"tsdown": "^0.22.2",
|
|
86
|
+
"unrun": "^0.2.39",
|
|
87
|
+
"typescript": "^7.0.2",
|
|
88
|
+
"vitest": "^5.0.1",
|
|
89
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.2"
|
|
90
|
+
},
|
|
91
|
+
"scripts": {
|
|
92
|
+
"build": "tsc -p tsconfig.json && tsdown && node scripts/wrap-client.mjs",
|
|
93
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
94
|
+
"test": "vitest run",
|
|
95
|
+
"coverage": "vitest run --coverage",
|
|
96
|
+
"e2e": "node scripts/e2e-boot.mjs",
|
|
97
|
+
"check": "tsc -p tsconfig.json && tsdown && node scripts/wrap-client.mjs && vitest run --coverage && node scripts/audit.mjs",
|
|
98
|
+
"smoke": "node scripts/live-smoke.mjs",
|
|
99
|
+
"design:parity": "node scripts/design-parity.mjs",
|
|
100
|
+
"test:bun": "bun test tests",
|
|
101
|
+
"smoke:bun": "bun scripts/live-smoke.mjs",
|
|
102
|
+
"audit": "node scripts/audit.mjs",
|
|
103
|
+
"audit:bun": "bun scripts/audit.mjs",
|
|
104
|
+
"check:config": "node scripts/check-config.mjs"
|
|
105
|
+
}
|
|
106
|
+
}
|