@dotdance/dsh-skill-scope 0.3.0-alpha.3 → 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 CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  # dsh-skill-scope: a Skill and MCP control panel for DSH
4
4
 
5
- [![license](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)
6
-  
7
- ![platform](https://img.shields.io/badge/platform-DSH%20Web%20GUI-4c6ef5?style=flat-square&labelColor=454a54)
8
-  
9
- ![node](https://img.shields.io/badge/node-%5E22.19.0%20%7C%7C%20%3E%3D24-3c873a?style=flat-square&labelColor=454a54)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
+ [![npm package](https://img.shields.io/npm/v/%40dotdance%2Fdsh-skill-scope.svg?label=npm%20package)](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
7
+ [![npm downloads](https://img.shields.io/npm/dt/%40dotdance%2Fdsh-skill-scope.svg?label=npm%20downloads)](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
8
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/dotdance/dsh-skill-scope)
9
+ [![DSH ≥0.2.0-rc.2 <0.3.0](https://img.shields.io/badge/DSH-%E2%89%A5%200.2.0--rc.2%20%3C0.3.0-2563eb.svg)](#installation)
10
+ ![node](https://img.shields.io/badge/node-%5E22.19.0%20%7C%7C%20%3E%3D24-3c873a.svg)
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](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)
6
- &nbsp;
7
- ![platform](https://img.shields.io/badge/platform-DSH%20Web%20GUI-4c6ef5?style=flat-square&labelColor=454a54)
8
- &nbsp;
9
- ![node](https://img.shields.io/badge/node-%5E22.19.0%20%7C%7C%20%3E%3D24-3c873a?style=flat-square&labelColor=454a54)
5
+ [![许可证:MIT](https://img.shields.io/badge/%E8%AE%B8%E5%8F%AF%E8%AF%81-MIT-blue.svg)](LICENSE)
6
+ [![npm package](https://img.shields.io/npm/v/%40dotdance%2Fdsh-skill-scope.svg?label=npm%20package)](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
7
+ [![npm 下载量](https://img.shields.io/npm/dt/%40dotdance%2Fdsh-skill-scope.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@dotdance/dsh-skill-scope)
8
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/dotdance/dsh-skill-scope)
9
+ [![DSH ≥0.2.0-rc.2 <0.3.0](https://img.shields.io/badge/DSH-%E2%89%A5%200.2.0--rc.2%20%3C0.3.0-2563eb.svg)](#安装)
10
+ ![node](https://img.shields.io/badge/node-%5E22.19.0%20%7C%7C%20%3E%3D24-3c873a.svg)
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
- "groupToggle": "Jg-IJa_groupToggle",
152
- "groupChevron": "Jg-IJa_groupChevron",
153
- "groupCount": "Jg-IJa_groupCount",
154
- "panelHead": "Jg-IJa_panelHead",
155
- "groups": "Jg-IJa_groups",
156
- "expandChevronOpen": "Jg-IJa_expandChevronOpen",
157
- "section": "Jg-IJa_section",
158
- "cardBody": "Jg-IJa_cardBody",
159
- "empty": "Jg-IJa_empty",
160
151
  "cards": "Jg-IJa_cards",
161
152
  "toggleLabel": "Jg-IJa_toggleLabel",
162
- "chip": "Jg-IJa_chip",
163
- "expandButton": "Jg-IJa_expandButton",
164
- "modeButton": "Jg-IJa_modeButton",
153
+ "alert": "Jg-IJa_alert",
165
154
  "button": "Jg-IJa_button",
166
- "cardName": "Jg-IJa_cardName",
155
+ "panel": "Jg-IJa_panel",
156
+ "modeButtonActive": "Jg-IJa_modeButtonActive",
167
157
  "cardDisabled": "Jg-IJa_cardDisabled",
168
158
  "toggleRow": "Jg-IJa_toggleRow",
169
- "title": "Jg-IJa_title",
170
- "closeButton": "Jg-IJa_closeButton",
171
- "detailOrigin": "Jg-IJa_detailOrigin",
172
- "switch": "Jg-IJa_switch",
173
- "alert": "Jg-IJa_alert",
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",
174
165
  "sectionHead": "Jg-IJa_sectionHead",
175
- "sectionToggle": "Jg-IJa_sectionToggle",
176
- "switchThumb": "Jg-IJa_switchThumb",
177
- "search": "Jg-IJa_search",
178
- "group": "Jg-IJa_group",
179
166
  "toolName": "Jg-IJa_toolName",
180
- "panelBody": "Jg-IJa_panelBody",
167
+ "intro": "Jg-IJa_intro",
181
168
  "card": "Jg-IJa_card",
182
- "modeRowTrailing": "Jg-IJa_modeRowTrailing",
183
- "toolList": "Jg-IJa_toolList",
184
- "sectionChevron": "Jg-IJa_sectionChevron",
169
+ "groupCount": "Jg-IJa_groupCount",
170
+ "section": "Jg-IJa_section",
171
+ "panelHead": "Jg-IJa_panelHead",
172
+ "cardMain": "Jg-IJa_cardMain",
173
+ "cardDescription": "Jg-IJa_cardDescription",
174
+ "groupToggle": "Jg-IJa_groupToggle",
185
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",
186
180
  "groupTitle": "Jg-IJa_groupTitle",
181
+ "expandButton": "Jg-IJa_expandButton",
182
+ "overlay": "Jg-IJa_overlay",
187
183
  "switchTrack": "Jg-IJa_switchTrack",
188
- "cardHead": "Jg-IJa_cardHead",
189
- "sectionChevronOpen": "Jg-IJa_sectionChevronOpen",
184
+ "expandChevronOpen": "Jg-IJa_expandChevronOpen",
190
185
  "sectionTitle": "Jg-IJa_sectionTitle",
191
- "cardTail": "Jg-IJa_cardTail",
192
- "overridden": "Jg-IJa_overridden",
193
- "searchIcon": "Jg-IJa_searchIcon",
194
- "modeRow": "Jg-IJa_modeRow",
195
- "switchOn": "Jg-IJa_switchOn",
196
- "modeButtonActive": "Jg-IJa_modeButtonActive",
197
- "detailRow": "Jg-IJa_detailRow",
198
- "sectionCount": "Jg-IJa_sectionCount",
199
- "intro": "Jg-IJa_intro",
200
- "expandChevron": "Jg-IJa_expandChevron",
201
- "header": "Jg-IJa_header",
202
- "panel": "Jg-IJa_panel",
203
- "cardDescription": "Jg-IJa_cardDescription",
204
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",
205
193
  "searchRow": "Jg-IJa_searchRow",
206
- "detailKey": "Jg-IJa_detailKey",
194
+ "modeRow": "Jg-IJa_modeRow",
195
+ "expandChevron": "Jg-IJa_expandChevron",
196
+ "cardName": "Jg-IJa_cardName",
207
197
  "introWarn": "Jg-IJa_introWarn",
208
- "modal": "Jg-IJa_modal",
209
- "overlay": "Jg-IJa_overlay",
210
- "cardMain": "Jg-IJa_cardMain"
198
+ "group": "Jg-IJa_group",
199
+ "groupChevron": "Jg-IJa_groupChevron",
200
+ "modeRowTrailing": "Jg-IJa_modeRowTrailing",
201
+ "switchOn": "Jg-IJa_switchOn",
202
+ "switchThumb": "Jg-IJa_switchThumb",
203
+ "groups": "Jg-IJa_groups",
204
+ "detailOrigin": "Jg-IJa_detailOrigin",
205
+ "sectionChevron": "Jg-IJa_sectionChevron",
206
+ "sectionToggle": "Jg-IJa_sectionToggle",
207
+ "cardTail": "Jg-IJa_cardTail",
208
+ "cardHead": "Jg-IJa_cardHead",
209
+ "detailKey": "Jg-IJa_detailKey",
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.0-alpha.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": ">=0.2.0-rc.2"
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.1-alpha.2",
42
- "@deepseek-ai/dsh-home-paths": "^0.2.1-alpha.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.1-alpha.2",
48
- "@deepseek-ai/dsh-client-connection": "^0.2.1-alpha.2",
49
- "@deepseek-ai/dsh-host-webserver": "^0.2.1-alpha.2",
50
- "@deepseek-ai/dsh-skill": "^0.2.1-alpha.2",
51
- "@deepseek-ai/dsh-tools": "^0.2.1-alpha.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": {