dsh-mcp-connector 0.2.50 → 0.2.51

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,12 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.51] - 2026-09-16
8
+
9
+ ### Fixed
10
+
11
+ - 恢复市场卡片的紧凑信息量:名称、两行简介与操作按钮;提供方、授权和权限长说明保留在详情与连接确认框,仅为 CLI/本地服务显示短标签。
12
+
7
13
  ## [0.2.50] - 2026-09-16
8
14
 
9
15
  ### Fixed
package/README.en.md CHANGED
@@ -190,7 +190,7 @@ npm run dev:ui
190
190
 
191
191
  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.
192
192
 
193
- The current public version is [`dsh-mcp-connector@0.2.50`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.50](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.50).
193
+ The current public version is [`dsh-mcp-connector@0.2.51`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.51](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.51).
194
194
 
195
195
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
196
196
 
package/README.md CHANGED
@@ -185,7 +185,7 @@ npm run dev:ui
185
185
 
186
186
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
187
187
 
188
- 当前公开版本为 [`dsh-mcp-connector@0.2.50`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.50](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.50)。
188
+ 当前公开版本为 [`dsh-mcp-connector@0.2.51`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.51](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.51)。
189
189
 
190
190
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
191
191
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mcp-connector",
3
- "version": "0.2.50",
3
+ "version": "0.2.51",
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",
package/ui/index.html CHANGED
@@ -157,6 +157,7 @@
157
157
  .card .content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
158
158
  .card .name { font-weight: 600; font-size: 14px; line-height: 1.4; }
159
159
  .card .summary { color: var(--text-2); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
160
+ .card .runtime-tag { display: inline-block; white-space: nowrap; font-size: 10px; line-height: 1.4; font-weight: 400; color: var(--text-2); background: var(--bg); border-radius: 4px; padding: 1px 4px; vertical-align: middle; }
160
161
  .card .actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; align-self: center; }
161
162
  .card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
162
163
  .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 7px; background: var(--bg); color: var(--muted); font-size: 10px; font-weight: 600; }
@@ -1170,12 +1171,13 @@
1170
1171
  : `<span>${esc(d.icon || '🔌')}</span>`;
1171
1172
  const actions = actionHtml(d);
1172
1173
  const probe = d.probeStatus && d.probeStatus !== 'unverified' ? `<span class="badge ${esc(d.probeStatus)}">${d.probeStatus}</span>` : '';
1174
+ const runtimeLabel = d.id === 'dingtalk' ? '本地 CLI' : (d.servers || []).some((s) => s.transport === 'stdio') ? '本地运行' : '';
1175
+ const runtimeTag = runtimeLabel ? `<span class="runtime-tag" title="包含运行于 DSH 主机的服务;授权和权限要求请查看详情">${runtimeLabel}</span>` : '';
1173
1176
  return `<div class="card ${d.featured ? 'featured' : ''}" data-id="${esc(d.id)}" role="button" tabindex="0" aria-label="查看 ${esc(d.name)} 详情" onclick="window.__mcp.showDetail('${esc(d.id)}')" onkeydown="if(event.key==='Enter'||event.key===' '){event.preventDefault();window.__mcp.showDetail('${esc(d.id)}')}">
1174
1177
  <div class="icon">${icon}</div>
1175
1178
  <div class="content">
1176
- <div class="name">${esc(d.name)} ${probe}</div>
1179
+ <div class="name">${esc(d.name)} ${probe} ${runtimeTag}</div>
1177
1180
  <div class="summary">${esc(d.summary || '')}</div>
1178
- <div class="hint">${connectionLabels(d).map(esc).join(' · ')}</div>
1179
1181
  </div>
1180
1182
  <div class="actions">${actions}</div>
1181
1183
  </div>`;