dsh-mcp-connector 0.2.62 → 0.2.63

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.63] - 2026-09-30
8
+
9
+ ### Fixed
10
+
11
+ - 检查可选 Settings 服务的实际 API 能力,避免宿主缺少 `register()` 时阻断启动;客户端遇到缺失或不完整的 settings scope 时保留连接器入口并跳过设置卡片。不吞掉已提供 API 的内部异常,也不宣称降级宿主支持设置持久化。
12
+
7
13
  ## [0.2.62] - 2026-09-29
8
14
 
9
15
  ### Documentation
package/README.en.md CHANGED
@@ -83,7 +83,7 @@ If the plugin helps you connect an MCP server faster, consider [starring the rep
83
83
  - Explicit, non-destructive migration from the two earlier Qichacha OAuth plugins, plus active-plugin conflict detection that blocks duplicate server management and credential overwrites.
84
84
 
85
85
  <!-- catalog-stats:start -->
86
- As of 2026-09-20, the public Registry publishes 107 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 111 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.
86
+ As of 2026-09-29, the public Registry publishes 106 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 110 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.
87
87
  <!-- catalog-stats:end -->
88
88
 
89
89
  ## Interface and demo
@@ -198,7 +198,7 @@ npm run dev:ui
198
198
 
199
199
  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.
200
200
 
201
- The current public version is [`dsh-mcp-connector@0.2.62`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.62](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.62).
201
+ The current public version is [`dsh-mcp-connector@0.2.63`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.63](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.63).
202
202
 
203
203
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
204
204
 
package/README.md CHANGED
@@ -84,7 +84,7 @@ dsh plugin --profile web add dsh-mcp-connector
84
84
  - 对话工具:`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`、`tool_search`、`tool_detail`。搜索/详情只做渐进式能力发现,不执行目标 MCP 工具。
85
85
 
86
86
  <!-- catalog-stats:start -->
87
- 截至 2026-09-20,公共 Registry 已发布 107 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 111 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。推荐位严格保留 4 张企查查卡片、北大法宝和 Wind,共 6 张;其他连接器按业务分类展示。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
87
+ 截至 2026-09-29,公共 Registry 已发布 106 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 110 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。推荐位严格保留 4 张企查查卡片、北大法宝和 Wind,共 6 张;其他连接器按业务分类展示。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
88
88
  <!-- catalog-stats:end -->
89
89
 
90
90
  ## 界面与演示
@@ -193,7 +193,7 @@ npm run dev:ui
193
193
 
194
194
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
195
195
 
196
- 当前公开版本为 [`dsh-mcp-connector@0.2.62`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.62](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.62)。
196
+ 当前公开版本为 [`dsh-mcp-connector@0.2.63`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.63](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.63)。
197
197
 
198
198
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
199
199
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
package/lib/client.js CHANGED
@@ -966,6 +966,7 @@ window.__ModuleLoader__.load({
966
966
  function installClientSettings(ctx, marketView) {
967
967
  if (typeof ctx.inject !== "function") return;
968
968
  ctx.inject(["settingsScope"], (settingsCtx) => {
969
+ if (typeof settingsCtx?.settingsScope?.bind !== "function") return;
969
970
  const settingsScope = settingsCtx.settingsScope.bind({
970
971
  namespace: CONNECTOR_SETTINGS_NAMESPACE,
971
972
  decode(value) {
@@ -975,6 +976,8 @@ window.__ModuleLoader__.load({
975
976
  : void 0;
976
977
  }
977
978
  });
979
+ if (typeof settingsScope?.getSnapshot !== "function"
980
+ || typeof settingsScope?.subscribe !== "function") return;
978
981
  settingsCtx.effect(() => {
979
982
  const sync = () => { marketView.syncSidebarVisible(resolveSidebarVisible(settingsScope.getSnapshot())); };
980
983
  sync();
package/lib/settings.js CHANGED
@@ -15,6 +15,8 @@ export const ConnectorSettings = z.object({
15
15
  export function installConnectorSettings(ctx, config = {}) {
16
16
  if (typeof ctx.inject !== 'function') return;
17
17
  ctx.inject(['settings'], (settingsCtx) => {
18
+ if (typeof settingsCtx?.settings?.register !== 'function') return;
19
+
18
20
  settingsCtx.settings.register(CONNECTOR_SETTINGS_NAMESPACE, ConnectorSettings, {
19
21
  base: {
20
22
  [SHOW_SIDEBAR_ENTRY_FIELD]: config[SHOW_SIDEBAR_ENTRY_FIELD] !== false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mcp-connector",
3
- "version": "0.2.62",
3
+ "version": "0.2.63",
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",