dsh-mcp-connector 0.2.65 → 0.2.66

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.66] - 2026-10-03
8
+
9
+ ### Changed
10
+
11
+ - 侧栏“MCP连接器”入口由平台相关的彩色 emoji 改为继承 `currentColor` 的单色线性 SVG,与 DSH 宿主导航的尺寸、线性风格和深浅主题保持一致(#117)。
12
+ - 同步无凭据 UI harness 和入口文档,图标保持 `aria-hidden`,不改变“MCP连接器”的无障碍名称。
13
+
14
+ ### Verification
15
+
16
+ - 新增侧栏图标回归测试;在当前 `main` 合并态通过 309 项测试、Node 20/22/24、Windows、Zod 4.1.8 与 PR 安装包校验。
17
+
7
18
  ## [0.2.65] - 2026-10-03
8
19
 
9
20
  ### Added
package/README.en.md CHANGED
@@ -202,7 +202,7 @@ npm run dev:ui
202
202
 
203
203
  Every Registry merge regenerates `catalog-stats.json`; an hourly workflow in this repository synchronizes the Chinese and English product copy plus a local stats snapshot. The static npm README updates with package releases, while the live badges above read the Registry directly and therefore stay current without another npm release.
204
204
 
205
- The current public version is [`dsh-mcp-connector@0.2.65`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.65](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.65).
205
+ The current public version is [`dsh-mcp-connector@0.2.66`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.66](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.66).
206
206
 
207
207
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
208
208
 
package/README.md CHANGED
@@ -36,7 +36,7 @@ OAuth 是否可用取决于服务商的客户端注册、账号权限与授权
36
36
  dsh plugin --profile web add dsh-mcp-connector
37
37
  ```
38
38
 
39
- 安装或升级后完全重启 DeepSeek Harness Desktop 或 `dsh web`,然后打开左侧「🧩 MCP连接器」;也可从“设置 → 插件 → 插件配置 → MCP连接器”直接打开。
39
+ 安装或升级后完全重启 DeepSeek Harness Desktop 或 `dsh web`,然后打开左侧「MCP连接器」;也可从“设置 → 插件 → 插件配置 → MCP连接器”直接打开。
40
40
 
41
41
  首次使用建议依次确认:连接已保存且范围正确 → “工具”页能找到预期工具与来源 → 在正常 DSH 会话中通过 Host 审批链完成一次服务商许可的只读调用。缓存可见不等于当前服务可调用。
42
42
 
@@ -121,7 +121,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/m
121
121
 
122
122
  ## 使用
123
123
 
124
- 1. 点击左侧“🧩 MCP连接器”,或从“设置 → 插件 → 插件配置 → MCP连接器”点击“打开 MCP连接器”。
124
+ 1. 点击左侧“MCP连接器”,或从“设置 → 插件 → 插件配置 → MCP连接器”点击“打开 MCP连接器”。
125
125
  2. 在市场中选择连接器,确认“当前项目”或“所有项目(全局)”,再完成授权或配置。
126
126
  3. 打开卡片详情,可点击示例 Prompt 的发送按钮,在当前工作区创建/复用空白会话并写入草稿。
127
127
  4. 在“已安装”或对话工具中查看、停用、恢复或断开连接。
@@ -197,7 +197,7 @@ npm run dev:ui
197
197
 
198
198
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
199
199
 
200
- 当前公开版本为 [`dsh-mcp-connector@0.2.65`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.65](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.65)。
200
+ 当前公开版本为 [`dsh-mcp-connector@0.2.66`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.66](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.66)。
201
201
 
202
202
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
203
203
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
@@ -47,7 +47,7 @@ dsh web
47
47
 
48
48
  重启后,可以用以下任一方式打开:
49
49
 
50
- - 在 DSH 左侧主导航点击“🧩 MCP连接器”。入口通常位于“新会话”下方、工作区/会话列表上方;如果当前 DSH 版本没有对应的公开插槽,入口会回退到左侧底部。
50
+ - 在 DSH 左侧主导航点击“MCP连接器”。入口通常位于“新会话”下方、工作区/会话列表上方;如果当前 DSH 版本没有对应的公开插槽,入口会回退到左侧底部。
51
51
  - 打开“设置 → 插件 → 插件配置 → MCP连接器”,展开卡片并点击“打开 MCP连接器”。该按钮直接复用同一个连接器弹框,不要求侧边栏入口可见;关闭弹框后仍回到设置页。
52
52
 
53
53
  如需腾出侧边栏空间,可在同一配置卡片关闭“在侧边栏显示 MCP连接器”。该偏好作用于当前 DSH profile,并在重启后保留;它只隐藏快捷入口,不停用插件、已连接 MCP Server 或工具。隐藏后可以随时从该配置卡片直接打开连接器,或重新开启入口。旧版 DSH 没有 Settings 能力时,插件保持入口可见,不会因设置功能进入 Safe Mode。
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## 导入一个最小示例
15
15
 
16
- 打开左侧“🧩 MCP连接器”(或“设置 → 插件 → 插件配置 → MCP连接器 → 打开 MCP连接器”),点击“+ 添加连接 → 导入 JSON”,在本机粘贴:
16
+ 打开左侧“MCP连接器”(或“设置 → 插件 → 插件配置 → MCP连接器 → 打开 MCP连接器”),点击“+ 添加连接 → 导入 JSON”,在本机粘贴:
17
17
 
18
18
  ```json
19
19
  {
@@ -12,7 +12,7 @@
12
12
  dsh plugin --profile web add dsh-mcp-connector
13
13
  ```
14
14
 
15
- 安装或升级后,只重启你正在使用的宿主:DSH Desktop 需完全退出应用后重新打开;`dsh web` 需停止原进程后重新启动。打开左侧“🧩 MCP连接器”;若侧边栏入口已隐藏,从“设置 → 插件 → 插件配置 → MCP连接器”点击“打开 MCP连接器”。自定义过 profile 布局的部署应以其宿主配置为准。
15
+ 安装或升级后,只重启你正在使用的宿主:DSH Desktop 需完全退出应用后重新打开;`dsh web` 需停止原进程后重新启动。打开左侧“MCP连接器”;若侧边栏入口已隐藏,从“设置 → 插件 → 插件配置 → MCP连接器”点击“打开 MCP连接器”。自定义过 profile 布局的部署应以其宿主配置为准。
16
16
 
17
17
  ## 2. 只选一条连接路径
18
18
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 先定位正确的工具
8
8
 
9
- 1. 在 DSH 选中目标 Workspace,再打开“🧩 MCP连接器 → 工具”。未选 Workspace 时仅能看到全局连接;项目连接不会越界显示。
9
+ 1. 在 DSH 选中目标 Workspace,再打开“MCP连接器 → 工具”。未选 Workspace 时仅能看到全局连接;项目连接不会越界显示。
10
10
  2. 输入工具名或描述中的关键词。精确工具名优先;同名结果仍需核对连接、服务和来源。
11
11
  3. 使用“连接”“服务”“发现状态”筛选。若结果为空,先清除筛选,再确认连接已启用、范围正确且至少成功发现过一次。
12
12
  4. 点击“参数详情”:先看类型、必填、枚举和可展开的嵌套摘要;复杂规则可打开“原始 Schema(安全缓存)”。它仍经过安全裁剪和容量限制,不是服务端完整原文。
package/lib/client.js CHANGED
@@ -91,8 +91,13 @@ window.__ModuleLoader__.load({
91
91
  flex: 0 0 20px;
92
92
  width: 20px;
93
93
  height: 20px;
94
- font-size: 18px;
95
- line-height: 1;
94
+ color: inherit;
95
+ }
96
+
97
+ .mcpConnectorLauncherIcon > svg {
98
+ display: block;
99
+ width: 18px;
100
+ height: 18px;
96
101
  }
97
102
 
98
103
  .mcpConnectorLauncherLabel {
@@ -1716,7 +1721,21 @@ window.__ModuleLoader__.load({
1716
1721
  "aria-expanded": open,
1717
1722
  onClick: () => { try { actions.open(); } catch (error) { console.error('[mcp-connector] open failed:', error); } },
1718
1723
  children: [
1719
- (0, react_jsx_runtime.jsx)("span", { className: "mcpConnectorLauncherIcon", "aria-hidden": true, children: "🧩" }),
1724
+ (0, react_jsx_runtime.jsx)("span", {
1725
+ className: "mcpConnectorLauncherIcon",
1726
+ "aria-hidden": true,
1727
+ children: (0, react_jsx_runtime.jsxs)("svg", {
1728
+ viewBox: "0 0 16 16",
1729
+ fill: "none",
1730
+ "aria-hidden": "true",
1731
+ children: [
1732
+ (0, react_jsx_runtime.jsx)("path", { d: "M6 2V4.5", stroke: "currentColor", strokeLinecap: "round" }),
1733
+ (0, react_jsx_runtime.jsx)("path", { d: "M10 2V4.5", stroke: "currentColor", strokeLinecap: "round" }),
1734
+ (0, react_jsx_runtime.jsx)("path", { d: "M3.5 4.5H12.5V8.25C12.5 10.7353 10.4853 12.75 8 12.75C5.51472 12.75 3.5 10.7353 3.5 8.25V4.5Z", stroke: "currentColor", strokeLinejoin: "round" }),
1735
+ (0, react_jsx_runtime.jsx)("path", { d: "M8 12.75V14.5", stroke: "currentColor", strokeLinecap: "round" })
1736
+ ]
1737
+ })
1738
+ }),
1720
1739
  wide ? (0, react_jsx_runtime.jsx)("span", { className: "mcpConnectorLauncherLabel", children: "MCP连接器" }) : null
1721
1740
  ]
1722
1741
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mcp-connector",
3
- "version": "0.2.65",
3
+ "version": "0.2.66",
4
4
  "description": "DeepSeek Harness MCP Connector: connect servers, search tools across active connections, and troubleshoot discovery. Includes a continuously updated catalog; supports OAuth 2.0 PKCE, API keys, Streamable HTTP/stdio, and mcpServers JSON import.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -151,7 +151,7 @@ function captureShell() {
151
151
  </head>
152
152
  <body>
153
153
  <section class="capture-panel" aria-label="MCP连接器产品面板">
154
- <header class="capture-header"><span aria-hidden="true">🧩</span><span class="capture-title">MCP连接器</span><span class="capture-version">v${packageJson.version}</span><span class="capture-state">无凭据 Mock</span></header>
154
+ <header class="capture-header"><svg aria-hidden="true" width="18" height="18" viewBox="0 0 16 16" fill="none"><path d="M6 2V4.5" stroke="currentColor" stroke-linecap="round"/><path d="M10 2V4.5" stroke="currentColor" stroke-linecap="round"/><path d="M3.5 4.5H12.5V8.25C12.5 10.7353 10.4853 12.75 8 12.75C5.51472 12.75 3.5 10.7353 3.5 8.25V4.5Z" stroke="currentColor" stroke-linejoin="round"/><path d="M8 12.75V14.5" stroke="currentColor" stroke-linecap="round"/></svg><span class="capture-title">MCP连接器</span><span class="capture-version">v${packageJson.version}</span><span class="capture-state">无凭据 Mock</span></header>
155
155
  <iframe src="/mcp-connector/ui/" title="MCP连接器"></iframe>
156
156
  </section>
157
157
  <script>
package/ui/index.html CHANGED
@@ -67,7 +67,6 @@
67
67
  flex-shrink: 0;
68
68
  }
69
69
  header .logo { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--text); }
70
- header .logo .puzzle { font-size: 22px; }
71
70
  .tabs { display: flex; gap: 0; background: var(--bg); padding: 3px; border-radius: 10px; }
72
71
  .tabs button {
73
72
  display: inline-flex; align-items: center; gap: 5px;