dsh-mcp-connector 0.2.67 → 0.2.68
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 +11 -0
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/client.js +12 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.68] - 2026-10-06
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- 不再用全局 CSS 改写宿主 `sidebar.footer.action` 的 `display: contents` 槽位,仅对 MCP 连接器自己的 footer 降级入口设置布局,避免与同槽位第三方插件组合时把相邻条目折入不可见的第二列(#124、#127)。
|
|
12
|
+
- 为顶部 Portal 与 footer 降级入口增加明确的 placement 标记,并保护窄侧栏折叠按钮不被 flex 拉伸。
|
|
13
|
+
|
|
14
|
+
### Verification
|
|
15
|
+
|
|
16
|
+
- 在最新 `main` 合并态通过 327 项测试(324 通过、3 项环境性跳过、0 失败)、Node 20/22/24、Windows、Zod 4.1.8、PR 安装包与发布文件白名单校验。
|
|
17
|
+
|
|
7
18
|
## [0.2.67] - 2026-10-06
|
|
8
19
|
|
|
9
20
|
### Fixed
|
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.
|
|
205
|
+
The current public version is [`dsh-mcp-connector@0.2.68`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.68](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.68).
|
|
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
|
@@ -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.
|
|
200
|
+
当前公开版本为 [`dsh-mcp-connector@0.2.68`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.68](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.68)。
|
|
201
201
|
|
|
202
202
|
版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
|
|
203
203
|
Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
|
package/lib/client.js
CHANGED
|
@@ -38,20 +38,12 @@ window.__ModuleLoader__.load({
|
|
|
38
38
|
]);
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* footer action 在 Web 与 Desktop 中都按独立行纵向排列。
|
|
41
|
+
* sidebar.footer.action 的 SlotOutlet 由宿主以 display: contents 作为
|
|
42
|
+
* 纯锚点。这里只能样式化本插件自己的节点,不能改写公共槽位或其它
|
|
43
|
+
* 插件子项;否则第三方 flex-basis 会因主轴变化而隐藏相邻入口(#124)。
|
|
45
44
|
*/
|
|
46
45
|
const SIDEBAR_STYLE_ID = "dsh-mcp-connector-sidebar";
|
|
47
46
|
const sidebarCss = `
|
|
48
|
-
[data-slot="sidebar.footer.action"] {
|
|
49
|
-
display: flex !important;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
min-width: 0;
|
|
52
|
-
width: 100%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
47
|
.mcpConnectorLauncher {
|
|
56
48
|
flex: none;
|
|
57
49
|
display: flex;
|
|
@@ -73,6 +65,13 @@ window.__ModuleLoader__.load({
|
|
|
73
65
|
cursor: pointer;
|
|
74
66
|
}
|
|
75
67
|
|
|
68
|
+
.mcpConnectorLauncher[data-placement="footer"] {
|
|
69
|
+
flex: 1 1 0;
|
|
70
|
+
width: auto;
|
|
71
|
+
min-width: 0;
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
76
75
|
.mcpConnectorLauncher:hover {
|
|
77
76
|
background: rgba(127, 127, 127, 0.12);
|
|
78
77
|
outline: none;
|
|
@@ -107,6 +106,7 @@ window.__ModuleLoader__.load({
|
|
|
107
106
|
}
|
|
108
107
|
|
|
109
108
|
.mcpConnectorLauncher[data-wide="false"] {
|
|
109
|
+
flex: none;
|
|
110
110
|
width: 36px;
|
|
111
111
|
height: 36px;
|
|
112
112
|
margin: 8px 0 10px;
|
|
@@ -1740,6 +1740,7 @@ window.__ModuleLoader__.load({
|
|
|
1740
1740
|
type: "button",
|
|
1741
1741
|
className: "mcpConnectorLauncher",
|
|
1742
1742
|
"data-wide": wide,
|
|
1743
|
+
"data-placement": topMount === null ? "footer" : "top",
|
|
1743
1744
|
"aria-label": "MCP连接器",
|
|
1744
1745
|
"aria-haspopup": "dialog",
|
|
1745
1746
|
"aria-expanded": open,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcp-connector",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.68",
|
|
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",
|