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.
@@ -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
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Project MCP",
4
+ "description": "MCP servers each project declares, mounted only for sessions working in it"
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "MCP проекта",
4
+ "description": "MCP-серверы, которые объявляет проект, — монтируются только для сессий, работающих в нём"
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "项目 MCP",
4
+ "description": "各项目声明的 MCP 服务器,仅为在其中工作的会话挂载"
5
+ }
6
+ }
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
+ }