@dotdance/dsh-skill-scope 0.3.0 → 0.3.1
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/README.en.md +8 -5
- package/README.md +8 -5
- package/lib/client.js +48 -48
- package/package.json +9 -9
package/README.en.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-skill-scope: a Skill and MCP control panel for DSH
|
|
4
4
|
|
|
5
|
-
[](LICENSE)
|
|
6
|
+
[](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
|
|
7
|
+
[](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
|
|
8
|
+
[](https://github.com/dotdance/dsh-skill-scope)
|
|
9
|
+
[](#installation)
|
|
10
|
+

|
|
10
11
|
|
|
11
12
|
**One-click toggles for skills and MCP at both global and project scope**
|
|
12
13
|
|
|
@@ -23,6 +24,8 @@ dsh plugin --profile web add @dotdance/dsh-skill-scope
|
|
|
23
24
|
|
|
24
25
|
Replace `--profile web` with the name of your own profile.
|
|
25
26
|
|
|
27
|
+
Requires DSH `≥0.2.0-rc.2` and `<0.3.0` (older hosts do not read `engines.dsh` and judge the plugin incompatible).
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
## The problem it solves
|
|
28
31
|
|
package/README.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-skill-scope: DSH Skill 与 MCP 管控面板
|
|
4
4
|
|
|
5
|
-
[](LICENSE)
|
|
6
|
+
[](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
|
|
7
|
+
[](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
|
|
8
|
+
[](https://github.com/dotdance/dsh-skill-scope)
|
|
9
|
+
[](#安装)
|
|
10
|
+

|
|
10
11
|
|
|
11
12
|
**全局 + 项目粒度 skill/mcp 一键启停**
|
|
12
13
|
|
|
@@ -23,6 +24,8 @@ dsh plugin --profile web add @dotdance/dsh-skill-scope
|
|
|
23
24
|
|
|
24
25
|
`--profile web` 换成你自己的 profile 名即可。
|
|
25
26
|
|
|
27
|
+
要求 DSH `≥0.2.0-rc.2` 且 `<0.3.0`(更早的宿主不认 `engines.dsh`,会被判为不兼容)。
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
## 它解决什么问题
|
|
28
31
|
|
package/lib/client.js
CHANGED
|
@@ -148,66 +148,66 @@ window.__ModuleLoader__.load({
|
|
|
148
148
|
document.head.appendChild(tag);
|
|
149
149
|
}
|
|
150
150
|
var styles_module_default = {
|
|
151
|
+
"cards": "Jg-IJa_cards",
|
|
152
|
+
"toggleLabel": "Jg-IJa_toggleLabel",
|
|
153
|
+
"alert": "Jg-IJa_alert",
|
|
154
|
+
"button": "Jg-IJa_button",
|
|
155
|
+
"panel": "Jg-IJa_panel",
|
|
151
156
|
"modeButtonActive": "Jg-IJa_modeButtonActive",
|
|
152
|
-
"
|
|
153
|
-
"detailOrigin": "Jg-IJa_detailOrigin",
|
|
154
|
-
"sectionChevronOpen": "Jg-IJa_sectionChevronOpen",
|
|
155
|
-
"detailRow": "Jg-IJa_detailRow",
|
|
156
|
-
"groupToggle": "Jg-IJa_groupToggle",
|
|
157
|
-
"introWarn": "Jg-IJa_introWarn",
|
|
158
|
-
"cardTail": "Jg-IJa_cardTail",
|
|
159
|
-
"switchTrack": "Jg-IJa_switchTrack",
|
|
157
|
+
"cardDisabled": "Jg-IJa_cardDisabled",
|
|
160
158
|
"toggleRow": "Jg-IJa_toggleRow",
|
|
159
|
+
"cardBody": "Jg-IJa_cardBody",
|
|
160
|
+
"toolList": "Jg-IJa_toolList",
|
|
161
|
+
"searchIcon": "Jg-IJa_searchIcon",
|
|
162
|
+
"sectionCount": "Jg-IJa_sectionCount",
|
|
163
|
+
"detailRow": "Jg-IJa_detailRow",
|
|
164
|
+
"modeButton": "Jg-IJa_modeButton",
|
|
165
|
+
"sectionHead": "Jg-IJa_sectionHead",
|
|
166
|
+
"toolName": "Jg-IJa_toolName",
|
|
161
167
|
"intro": "Jg-IJa_intro",
|
|
162
|
-
"
|
|
163
|
-
"title": "Jg-IJa_title",
|
|
164
|
-
"cards": "Jg-IJa_cards",
|
|
168
|
+
"card": "Jg-IJa_card",
|
|
165
169
|
"groupCount": "Jg-IJa_groupCount",
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
170
|
+
"section": "Jg-IJa_section",
|
|
171
|
+
"panelHead": "Jg-IJa_panelHead",
|
|
172
|
+
"cardMain": "Jg-IJa_cardMain",
|
|
169
173
|
"cardDescription": "Jg-IJa_cardDescription",
|
|
174
|
+
"groupToggle": "Jg-IJa_groupToggle",
|
|
175
|
+
"detailValue": "Jg-IJa_detailValue",
|
|
176
|
+
"panelBody": "Jg-IJa_panelBody",
|
|
177
|
+
"title": "Jg-IJa_title",
|
|
178
|
+
"overridden": "Jg-IJa_overridden",
|
|
179
|
+
"chip": "Jg-IJa_chip",
|
|
180
|
+
"groupTitle": "Jg-IJa_groupTitle",
|
|
181
|
+
"expandButton": "Jg-IJa_expandButton",
|
|
182
|
+
"overlay": "Jg-IJa_overlay",
|
|
183
|
+
"switchTrack": "Jg-IJa_switchTrack",
|
|
184
|
+
"expandChevronOpen": "Jg-IJa_expandChevronOpen",
|
|
185
|
+
"sectionTitle": "Jg-IJa_sectionTitle",
|
|
186
|
+
"body": "Jg-IJa_body",
|
|
187
|
+
"sectionChevronOpen": "Jg-IJa_sectionChevronOpen",
|
|
188
|
+
"modal": "Jg-IJa_modal",
|
|
189
|
+
"empty": "Jg-IJa_empty",
|
|
190
|
+
"header": "Jg-IJa_header",
|
|
191
|
+
"search": "Jg-IJa_search",
|
|
192
|
+
"switch": "Jg-IJa_switch",
|
|
193
|
+
"searchRow": "Jg-IJa_searchRow",
|
|
194
|
+
"modeRow": "Jg-IJa_modeRow",
|
|
195
|
+
"expandChevron": "Jg-IJa_expandChevron",
|
|
196
|
+
"cardName": "Jg-IJa_cardName",
|
|
197
|
+
"introWarn": "Jg-IJa_introWarn",
|
|
170
198
|
"group": "Jg-IJa_group",
|
|
171
199
|
"groupChevron": "Jg-IJa_groupChevron",
|
|
172
|
-
"cardDisabled": "Jg-IJa_cardDisabled",
|
|
173
|
-
"toolName": "Jg-IJa_toolName",
|
|
174
200
|
"modeRowTrailing": "Jg-IJa_modeRowTrailing",
|
|
175
201
|
"switchOn": "Jg-IJa_switchOn",
|
|
176
|
-
"
|
|
177
|
-
"groupTitle": "Jg-IJa_groupTitle",
|
|
202
|
+
"switchThumb": "Jg-IJa_switchThumb",
|
|
178
203
|
"groups": "Jg-IJa_groups",
|
|
204
|
+
"detailOrigin": "Jg-IJa_detailOrigin",
|
|
179
205
|
"sectionChevron": "Jg-IJa_sectionChevron",
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"modeButton": "Jg-IJa_modeButton",
|
|
184
|
-
"panelHead": "Jg-IJa_panelHead",
|
|
185
|
-
"cardName": "Jg-IJa_cardName",
|
|
186
|
-
"switchThumb": "Jg-IJa_switchThumb",
|
|
187
|
-
"section": "Jg-IJa_section",
|
|
188
|
-
"expandButton": "Jg-IJa_expandButton",
|
|
189
|
-
"overridden": "Jg-IJa_overridden",
|
|
190
|
-
"button": "Jg-IJa_button",
|
|
191
|
-
"panelBody": "Jg-IJa_panelBody",
|
|
206
|
+
"sectionToggle": "Jg-IJa_sectionToggle",
|
|
207
|
+
"cardTail": "Jg-IJa_cardTail",
|
|
208
|
+
"cardHead": "Jg-IJa_cardHead",
|
|
192
209
|
"detailKey": "Jg-IJa_detailKey",
|
|
193
|
-
"
|
|
194
|
-
"sectionHead": "Jg-IJa_sectionHead",
|
|
195
|
-
"modeRow": "Jg-IJa_modeRow",
|
|
196
|
-
"empty": "Jg-IJa_empty",
|
|
197
|
-
"sectionCount": "Jg-IJa_sectionCount",
|
|
198
|
-
"sectionTitle": "Jg-IJa_sectionTitle",
|
|
199
|
-
"closeButton": "Jg-IJa_closeButton",
|
|
200
|
-
"expandChevronOpen": "Jg-IJa_expandChevronOpen",
|
|
201
|
-
"header": "Jg-IJa_header",
|
|
202
|
-
"overlay": "Jg-IJa_overlay",
|
|
203
|
-
"body": "Jg-IJa_body",
|
|
204
|
-
"expandChevron": "Jg-IJa_expandChevron",
|
|
205
|
-
"card": "Jg-IJa_card",
|
|
206
|
-
"panel": "Jg-IJa_panel",
|
|
207
|
-
"searchRow": "Jg-IJa_searchRow",
|
|
208
|
-
"alert": "Jg-IJa_alert",
|
|
209
|
-
"searchIcon": "Jg-IJa_searchIcon",
|
|
210
|
-
"toggleLabel": "Jg-IJa_toggleLabel"
|
|
210
|
+
"closeButton": "Jg-IJa_closeButton"
|
|
211
211
|
};
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region src/client/parts.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotdance/dsh-skill-scope",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Skill and MCP visibility manager for DeepSeek Harness: the global layer sets a default, and each workspace can override any name both ways, with a sidebar panel and an input-card entry.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": "^22.19.0 || >=24.0.0",
|
|
18
|
-
"dsh": "
|
|
18
|
+
"dsh": "^0.2.0-rc.2 || ^0.2.1-0"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tsdown",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"url": "git+https://github.com/dotdance/dsh-skill-scope.git"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@deepseek-ai/dsh-atomic-write": "^0.2.
|
|
42
|
-
"@deepseek-ai/dsh-home-paths": "^0.2.
|
|
41
|
+
"@deepseek-ai/dsh-atomic-write": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
42
|
+
"@deepseek-ai/dsh-home-paths": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
43
43
|
"zod": "^4.6.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@deepseek-ai/cordis": "^4.0.5-alpha.1",
|
|
47
|
-
"@deepseek-ai/dsh-agent": "^0.2.
|
|
48
|
-
"@deepseek-ai/dsh-client-connection": "^0.2.
|
|
49
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.
|
|
50
|
-
"@deepseek-ai/dsh-skill": "^0.2.
|
|
51
|
-
"@deepseek-ai/dsh-tools": "^0.2.
|
|
47
|
+
"@deepseek-ai/dsh-agent": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
48
|
+
"@deepseek-ai/dsh-client-connection": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
49
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
50
|
+
"@deepseek-ai/dsh-skill": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
51
|
+
"@deepseek-ai/dsh-tools": "^0.2.0-rc.2 || ^0.2.1-0",
|
|
52
52
|
"react": "^18.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|