@moon16u/dsh-plugin-mcp-console 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/lib/index.js +8 -6
  2. package/package.json +8 -8
package/lib/index.js CHANGED
@@ -67,12 +67,14 @@ export function resolveConfig(value, storedConfig) {
67
67
  * settings page instead of hand-edited config files.
68
68
  */
69
69
  const SYSTEM_PROMPT_GUIDANCE =
70
- "本机已安装 MCP 控制台插件(dsh-plugin-mcp-console):DSH Web 设置页「MCP 服务器」分区可管理全部 MCP 服务器——" +
71
- "新增/编辑/删除、启用/停用、逐工具开关、mcpServers JSON 导入、连接测试。启用的服务器经官方 " +
72
- "@deepseek-ai/dsh-mcp-client 真实连接,工具名为 mcp__<服务器名>__<工具名>;被逐工具停用的工具仍会出现在工具" +
73
- "列表中,但调用会被拒绝并提示去设置页开启。配置由插件持久化在 ~/.dsh/dsh-mcp.json,无需也不应手改 " +
74
- "cordis.patch.yml。用户提到「MCP 服务器 / MCP 管理 / 导入 MCP / 测试 MCP 连接」时,引导其到设置页的 " +
75
- "「MCP 服务器」分区操作。";
70
+ "An MCP console plugin (dsh-plugin-mcp-console) is installed on this machine: the \"MCP Servers\" " +
71
+ "section of the DSH Web settings page manages all MCP servers — add/edit/delete, enable/disable, " +
72
+ "per-tool toggles, mcpServers JSON import, and connection testing. Enabled servers connect for real " +
73
+ "via the official @deepseek-ai/dsh-mcp-client, with tools named mcp__<server>__<tool>; tools disabled " +
74
+ "per-tool still appear in the tool list, but calls are rejected with a hint to enable them in the " +
75
+ "settings page. The plugin persists its config in ~/.dsh/dsh-mcp.json — no need to hand-edit, and do " +
76
+ "not hand-edit, cordis.patch.yml. When the user mentions \"MCP servers / MCP management / import MCP / " +
77
+ "test MCP connection\", guide them to the \"MCP Servers\" section of the settings page.";
76
78
 
77
79
  /** System-prompt band this announcement sits in (after plugin guidance basics). */
78
80
  const ANNOUNCEMENT_ORDER = 160;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moon16u/dsh-plugin-mcp-console",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Web GUI console for MCP servers: manages the official @deepseek-ai/dsh-mcp-client at runtime — add/edit/enable/disable/reconnect/delete servers, live status, mcpServers JSON import. No MCP protocol code: connection and tool registration are 100% the official client, resolved from the running DSH profile.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=20.0.0",
39
- "dsh": ">=0.2.0-rc.2"
39
+ "dsh": ">=0.2.1-rc.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@deepseek-ai/cordis": "~4.0.4",
43
- "@deepseek-ai/dsh-mcp-client": ">=0.2.0-rc.2",
44
- "@deepseek-ai/dsh-host-webserver": ">=0.2.0-rc.2",
45
- "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2",
46
- "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2",
47
- "@deepseek-ai/schemastery": "~3.18.4"
42
+ "@deepseek-ai/cordis": "~4.0.5",
43
+ "@deepseek-ai/dsh-mcp-client": ">=0.2.1-rc.1",
44
+ "@deepseek-ai/dsh-host-webserver": ">=0.2.1-rc.1",
45
+ "@deepseek-ai/dsh-settings": ">=0.2.1-rc.1",
46
+ "@deepseek-ai/dsh-tools": ">=0.2.1-rc.1",
47
+ "@deepseek-ai/schemastery": "~3.18.5"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@deepseek-ai/dsh-mcp-client": {