dsh-skill-mcp 0.4.4 → 0.4.5
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/lib/client.js +4 -2
- package/package.json +5 -3
package/lib/client.js
CHANGED
|
@@ -20,7 +20,9 @@ window.__ModuleLoader__.load({
|
|
|
20
20
|
// 不可靠(jsx 为 undefined → "jsx is not a function"),createElement 最稳。
|
|
21
21
|
const jsx = (type, props) => React.createElement(type, props);
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
// dsh 0.1.5:原生目录选择器在 uiWorkspace 服务上(ctx.workspaces 是纯
|
|
24
|
+
// Workspace Controller,没有 pickDirectory)。
|
|
25
|
+
const INJECT = ["slots", "locale", "uiWorkspace", "connection"];
|
|
24
26
|
|
|
25
27
|
/** dsh v0.1.5:浏览器侧统一走 /api 通道,endpoint 带插件前缀。 */
|
|
26
28
|
const RPC_PREFIX = "skill-mcp";
|
|
@@ -1214,7 +1216,7 @@ window.__ModuleLoader__.load({
|
|
|
1214
1216
|
...props,
|
|
1215
1217
|
fillHeight: true,
|
|
1216
1218
|
// 注意要包一层箭头函数:方法内部依赖 this,摘下来传会丢绑定。
|
|
1217
|
-
pickDirectory: ctx.
|
|
1219
|
+
pickDirectory: ctx.uiWorkspace ? () => ctx.uiWorkspace.pickDirectory() : undefined,
|
|
1218
1220
|
})));
|
|
1219
1221
|
};
|
|
1220
1222
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-skill-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Management center: link skill directories into the user skills root (enable/disable/unlink/delete) and manage MCP servers — add/edit/delete, import from other agents (Claude Code/Codex/Cursor/Gemini CLI), auto-load each project's own MCP servers via the loader",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"homepage": "https://github.com/LvanLa/deepseek-harness-ex/tree/master/plugins/dsh-skill-mcp",
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"@deepseek-ai/dsh-client-runtime",
|
|
44
44
|
"@deepseek-ai/dsh-client-connection",
|
|
45
45
|
"@deepseek-ai/dsh-client-locale",
|
|
46
|
-
"@deepseek-ai/dsh-client-ui-slots"
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-workspace"
|
|
47
48
|
]
|
|
48
49
|
}
|
|
49
50
|
},
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
"@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
|
|
53
54
|
"@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
|
|
54
55
|
"@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2"
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-workspace": "^0.1.1-rc.2"
|
|
56
58
|
}
|
|
57
59
|
}
|