dsh-mcp-connector 0.2.34 → 0.2.35

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,16 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.35] - 2026-09-05
8
+
9
+ ### Fixed
10
+
11
+ - 市场详情内完成免密连接、凭据配置或 OAuth 重新授权后,现在会原地重新读取连接状态与工具清单,并同步启用 Prompt 和试用按钮;用户在刷新期间主动关闭或切换详情时不会被强制重新打开。
12
+
13
+ ### Verification
14
+
15
+ - 195 项自动测试、lint、版本/营销元数据/商店截图门禁和 npm 发布包白名单/敏感内容扫描全部通过。
16
+
7
17
  ## [0.2.34] - 2026-09-04
8
18
 
9
19
  ### Added
@@ -538,7 +548,8 @@
538
548
  - 外部 URL 与导入 Header 执行安全校验。
539
549
  - iframe 消息校验同源和消息来源。
540
550
 
541
- [Unreleased]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.34...HEAD
551
+ [Unreleased]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.35...HEAD
552
+ [0.2.35]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.34...v0.2.35
542
553
  [0.2.34]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.33...v0.2.34
543
554
  [0.2.33]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.32...v0.2.33
544
555
  [0.2.32]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.31...v0.2.32
package/README.en.md CHANGED
@@ -66,7 +66,7 @@ If the plugin helps you connect an MCP server faster, consider [starring the rep
66
66
  - Explicit, non-destructive migration from the two earlier Qichacha OAuth plugins, plus active-plugin conflict detection that blocks duplicate server management and credential overwrites.
67
67
 
68
68
  <!-- catalog-stats:start -->
69
- As of 2026-09-02, the public Registry publishes 101 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 105 cards across 9 business categories. Recommendations remain limited to the four Qichacha cards, PKULaw, and Wind, for 6 featured cards in total. The Registry evolves independently; the badge shown after a client refresh and the live badges above are the authoritative current counts.
69
+ As of 2026-09-04, the public Registry publishes 100 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 104 cards across 9 business categories. Recommendations remain limited to the four Qichacha cards, PKULaw, and Wind, for 6 featured cards in total. The Registry evolves independently; the badge shown after a client refresh and the live badges above are the authoritative current counts.
70
70
  <!-- catalog-stats:end -->
71
71
 
72
72
  ## Interface and demo
@@ -171,7 +171,7 @@ npm run dev:ui
171
171
 
172
172
  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.
173
173
 
174
- The current public version is [`dsh-mcp-connector@0.2.34`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.34](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.34).
174
+ The current public version is [`dsh-mcp-connector@0.2.35`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.35](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.35).
175
175
 
176
176
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
177
177
 
package/README.md CHANGED
@@ -68,7 +68,7 @@ dsh plugin --profile web add dsh-mcp-connector
68
68
  - 对话工具:`mcp_connector_catalog`、`connect`、`configure`、`import_json`、`export_config`、`snapshot`、`install_from_url`、`status`、`scope`、`health_check`、`policy`、`set_enabled`、`disconnect`、`refresh_catalog`、`publish`、`tools_list`。
69
69
 
70
70
  <!-- catalog-stats:start -->
71
- 截至 2026-09-02,公共 Registry 已发布 101 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 105 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。推荐位严格保留 4 张企查查卡片、北大法宝和 Wind,共 6 张;其他连接器按业务分类展示。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
71
+ 截至 2026-09-04,公共 Registry 已发布 100 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 104 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。推荐位严格保留 4 张企查查卡片、北大法宝和 Wind,共 6 张;其他连接器按业务分类展示。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
72
72
  <!-- catalog-stats:end -->
73
73
 
74
74
  ## 界面与演示
@@ -167,7 +167,7 @@ npm run dev:ui
167
167
 
168
168
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
169
169
 
170
- 当前公开版本为 [`dsh-mcp-connector@0.2.34`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.34](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.34)。
170
+ 当前公开版本为 [`dsh-mcp-connector@0.2.35`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.35](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.35)。
171
171
 
172
172
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
173
173
  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.34",
3
+ "version": "0.2.35",
4
4
  "description": "DeepSeek Harness MCP Connector and MCP Server marketplace with over one hundred MCP connectors, continuously updated. Discover, authorize, and manage connections in one place; supports OAuth 2.0 PKCE, API keys, stdio/HTTP, mcpServers JSON import, and tool and prompt discovery. Maintained by Qichacha/QCC.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
package/ui/index.html CHANGED
@@ -696,6 +696,18 @@
696
696
  setDetailOpen(false);
697
697
  }
698
698
 
699
+ function isDetailOpenFor(connectorId) {
700
+ return detailConnector?.id === connectorId && $('#detail-overlay').classList.contains('active');
701
+ }
702
+
703
+ async function refreshConnectionUi(connectorId) {
704
+ const reloadOpenDetail = isDetailOpenFor(connectorId);
705
+ const openDetailLoadId = detailLoadId;
706
+ await refresh();
707
+ if (!reloadOpenDetail || detailLoadId !== openDetailLoadId || !isDetailOpenFor(connectorId)) return;
708
+ await window.__mcp.showDetail(connectorId);
709
+ }
710
+
699
711
  function promptVariableNames(text) {
700
712
  const names = [];
701
713
  const seen = new Set();
@@ -1337,7 +1349,7 @@
1337
1349
  markCommunityCtaEligible();
1338
1350
  closeModal();
1339
1351
  await call('healthCheck', { connectorId });
1340
- await refresh();
1352
+ await refreshConnectionUi(connectorId);
1341
1353
  }
1342
1354
  },
1343
1355
  confirmConnect() {
@@ -1484,11 +1496,9 @@
1484
1496
  });
1485
1497
  setModalBusy(false);
1486
1498
  if (!r.ok) { showModalError(r.message); return; }
1487
- const configuredFromDetail = detailConnector?.id === connectorId && $('#detail-overlay').classList.contains('active');
1488
1499
  closeModal();
1489
- if (configuredFromDetail) closeDetail();
1490
1500
  markCommunityCtaEligible();
1491
- showToast(r.message, true); await refresh();
1501
+ showToast(r.message, true); await refreshConnectionUi(connectorId);
1492
1502
  return;
1493
1503
  }
1494
1504
  const name = $('#cfg-name').value.trim();
@@ -1749,8 +1759,7 @@
1749
1759
  if (r.ok) {
1750
1760
  markCommunityCtaEligible();
1751
1761
  await call('healthCheck', { connectorId: id });
1752
- closeDetail();
1753
- await refresh();
1762
+ await refreshConnectionUi(id);
1754
1763
  }
1755
1764
  return;
1756
1765
  }