dsh-mcp-connector 0.2.113 → 0.2.115
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 +30 -0
- package/README.en.md +12 -12
- package/README.md +11 -11
- package/docs/PLUGIN-UPDATE.md +16 -4
- package/docs/SESSION-TOOL-INJECTION.md +13 -7
- package/docs/STDIO-SUPPORT.md +2 -2
- package/docs/USER-GUIDE.md +14 -4
- package/docs/screenshots/01-market-overview.jpg +0 -0
- package/docs/screenshots/02-connector-detail.jpg +0 -0
- package/docs/screenshots/03-tool-discovery.jpg +0 -0
- package/docs/screenshots/04-json-import.jpg +0 -0
- package/docs/screenshots/05-unified-tool-search.png +0 -0
- package/docs/screenshots/06-tool-parameters.png +0 -0
- package/docs/screenshots/07-connection-diagnostics.png +0 -0
- package/docs/screenshots/08-ten-recommendations.jpg +0 -0
- package/docs/screenshots/README.md +1 -1
- package/docs/screenshots/assets.json +30 -30
- package/docs/screenshots/en/01-market-overview.jpg +0 -0
- package/docs/screenshots/en/02-connector-detail.jpg +0 -0
- package/docs/screenshots/en/03-tool-discovery.jpg +0 -0
- package/docs/screenshots/en/04-json-import.jpg +0 -0
- package/docs/screenshots/en/05-unified-tool-search.png +0 -0
- package/docs/screenshots/en/06-tool-parameters.png +0 -0
- package/docs/screenshots/en/07-connection-diagnostics.png +0 -0
- package/docs/screenshots/en/08-ten-recommendations.jpg +0 -0
- package/docs/screenshots/en/assets.json +30 -30
- package/docs/screenshots/en/demo.gif +0 -0
- package/docs/tutorials/FIRST-SUCCESS-SCENARIOS.md +1 -1
- package/lib/catalog.js +2 -2
- package/lib/client.js +224 -43
- package/lib/connection-editor.js +1 -1
- package/lib/connectors/json-connector.js +2 -2
- package/lib/connectors/manual-connector.js +2 -2
- package/lib/custom-oauth.js +2 -2
- package/lib/i18n/locales/en/client.js +16 -0
- package/lib/i18n/locales/en/tools.js +1 -1
- package/lib/i18n/locales/en/upgrade.js +1 -1
- package/lib/index.js +11 -5
- package/lib/legacy-sse-bridge.js +46 -0
- package/lib/legacy-sse.js +174 -0
- package/lib/mcp-http.js +5 -1
- package/lib/mcp-provision.js +12 -0
- package/lib/mcp-validation.js +4 -0
- package/lib/probe.js +30 -21
- package/lib/schema.js +8 -8
- package/lib/shareable-connection-template.js +6 -4
- package/lib/tools.js +1 -1
- package/lib/version-status.js +2 -0
- package/package.json +2 -2
- package/ui/index.html +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcp-connector",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.115",
|
|
4
4
|
"description": "MCP Connector for DeepSeek Harness: a data marketplace connecting enterprise, financial, legal, patent and research data. Manage authorization, search tools and troubleshoot MCP connections. Supports OAuth, API keys and HTTP/stdio.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
53
|
"test": "node --test",
|
|
54
|
-
"lint": "node --check lib/discovery-policy.js && node --check lib/index.js && node --check lib/web.js && node --check lib/client.js && node --check lib/settings.js && node --check lib/version-status.js && node --check lib/schema.js && node --check lib/catalog.js && node --check lib/prompts.js && node --check lib/probe.js && node --check lib/diagnostics.js && node --check lib/connection-backup.js && node --check lib/shareable-connection-template.js && node --check lib/connection-editor.js && node --check lib/connection-scopes.js && node --check lib/governance.js && node --check lib/session-injection.js && node --check lib/smart-mode-lifecycle.js && node --check lib/smart-mode-schema.js && node --check lib/smart-mode-store.js && node --check lib/smart-mode-restrictions.js && node --check lib/smart-mode-bindings.js && node --check lib/source-relations.js && node --check lib/source-selection.js && node --check lib/smart-mode-prepare.js && node --check lib/smart-mode-resources.js && node --check lib/smart-mode-integration.js && node --check lib/smart-mode-discovery.js && node --check lib/smart-mode-host.js && node --check lib/smart-mode-production.js && node --check lib/read-only-evidence.js && node --check lib/smart-mode-control.js && node --check lib/smart-mode-control-web.js && node --check ui/smart-mode.js && node --check lib/tool-catalog-cache.js && node --check lib/status-events.js && node --check lib/mcp-validation.js && node --check lib/mcp-http.js && node --check lib/mcp-sse.js && node --check lib/migration.js && node --check lib/stores.js && node --check lib/grant-journal.js && node --check lib/oauth.js && node --check lib/grant-lifecycle.js && node --check lib/callback-server.js && node --check lib/mcp-provision.js && node --check lib/stdio-startup-guard.js && node --check lib/cli-providers.js && node --check lib/util.js && node --check lib/constants.js && node --check lib/tools.js && node --check lib/connectors/oauth-connector.js && node --check lib/connectors/manual-connector.js && node --check lib/connectors/json-connector.js && node --check ui/sharing-experience.js && node --check ui/connection-template-sharing.js && node --check scripts/probe-connector.mjs && node --check scripts/cli-bridge.mjs && node --check scripts/build-registry.mjs && node --check scripts/ui-harness.mjs && node --check scripts/check-market-registration.mjs && node --check scripts/check-market-search-rank.mjs && node --check scripts/check-distribution-sync.mjs && node --check scripts/check-readme-version.mjs && node --check scripts/check-first-use-docs.mjs && node --check scripts/check-marketing-metadata.mjs && node --check scripts/check-storefront-screenshots.mjs && node --check scripts/sync-registry-stats.mjs && node --check scripts/verify-pack.mjs && node --check scripts/check-tutorial-links.mjs && node --check lib/zerone-bridge.js && node --check scripts/zerone-bridge.mjs",
|
|
54
|
+
"lint": "node --check lib/discovery-policy.js && node --check lib/index.js && node --check lib/web.js && node --check lib/client.js && node --check lib/settings.js && node --check lib/version-status.js && node --check lib/schema.js && node --check lib/catalog.js && node --check lib/prompts.js && node --check lib/probe.js && node --check lib/diagnostics.js && node --check lib/connection-backup.js && node --check lib/shareable-connection-template.js && node --check lib/connection-editor.js && node --check lib/connection-scopes.js && node --check lib/governance.js && node --check lib/session-injection.js && node --check lib/smart-mode-lifecycle.js && node --check lib/smart-mode-schema.js && node --check lib/smart-mode-store.js && node --check lib/smart-mode-restrictions.js && node --check lib/smart-mode-bindings.js && node --check lib/source-relations.js && node --check lib/source-selection.js && node --check lib/smart-mode-prepare.js && node --check lib/smart-mode-resources.js && node --check lib/smart-mode-integration.js && node --check lib/smart-mode-discovery.js && node --check lib/smart-mode-host.js && node --check lib/smart-mode-production.js && node --check lib/read-only-evidence.js && node --check lib/smart-mode-control.js && node --check lib/smart-mode-control-web.js && node --check ui/smart-mode.js && node --check lib/tool-catalog-cache.js && node --check lib/status-events.js && node --check lib/mcp-validation.js && node --check lib/mcp-http.js && node --check lib/mcp-sse.js && node --check lib/legacy-sse.js && node --check lib/legacy-sse-bridge.js && node --check lib/migration.js && node --check lib/stores.js && node --check lib/grant-journal.js && node --check lib/oauth.js && node --check lib/grant-lifecycle.js && node --check lib/callback-server.js && node --check lib/mcp-provision.js && node --check lib/stdio-startup-guard.js && node --check lib/cli-providers.js && node --check lib/util.js && node --check lib/constants.js && node --check lib/tools.js && node --check lib/connectors/oauth-connector.js && node --check lib/connectors/manual-connector.js && node --check lib/connectors/json-connector.js && node --check ui/sharing-experience.js && node --check ui/connection-template-sharing.js && node --check scripts/probe-connector.mjs && node --check scripts/cli-bridge.mjs && node --check scripts/build-registry.mjs && node --check scripts/ui-harness.mjs && node --check scripts/check-market-registration.mjs && node --check scripts/check-market-search-rank.mjs && node --check scripts/check-distribution-sync.mjs && node --check scripts/check-readme-version.mjs && node --check scripts/check-first-use-docs.mjs && node --check scripts/check-marketing-metadata.mjs && node --check scripts/check-storefront-screenshots.mjs && node --check scripts/sync-registry-stats.mjs && node --check scripts/verify-pack.mjs && node --check scripts/check-tutorial-links.mjs && node --check lib/zerone-bridge.js && node --check scripts/zerone-bridge.mjs",
|
|
55
55
|
"registry:build": "node scripts/build-registry.mjs",
|
|
56
56
|
"registry:validate": "node scripts/probe-connector.mjs catalog/catalog.json --validate-only",
|
|
57
57
|
"dev:ui": "node scripts/ui-harness.mjs",
|
package/ui/index.html
CHANGED
|
@@ -2906,7 +2906,7 @@
|
|
|
2906
2906
|
${scopeFieldHtml()}
|
|
2907
2907
|
<div class="form-row"><div><label for="cfg-name">${t('名称(必填)')}</label><input id="cfg-name" value="${esc(preset.name || '')}" placeholder="${t('连接显示名')}" /></div>
|
|
2908
2908
|
<div><label for="cfg-sname">serverName${t('(工具前缀)')}</label><input id="cfg-sname" value="${esc(server.serverName || '')}" placeholder="my-server" /></div></div>
|
|
2909
|
-
<label for="cfg-transport">${t('传输方式')}</label><select id="cfg-transport" onchange="window.__mcp.syncTransportFields()"><option value="streamable-http"
|
|
2909
|
+
<label for="cfg-transport">${t('传输方式')}</label><select id="cfg-transport" onchange="window.__mcp.syncTransportFields()"><option value="streamable-http">Streamable HTTP</option><option value="sse">SSE (HTTP + SSE)</option><option value="stdio">${t('stdio(本地进程)')}</option></select>
|
|
2910
2910
|
<div id="cfg-http-fields">
|
|
2911
2911
|
<p class="field-help">${t('只需填写 MCP 地址。检测到 OAuth 后保存为待身份验证,再由你点击授权;无需市场卡片地址。')}</p><label for="cfg-url">${t('MCP URL(必填)')}</label><input id="cfg-url" type="url" value="${esc(server.url || '')}" placeholder="https://example.com/mcp" />
|
|
2912
2912
|
<label class="insecure-network-consent" for="cfg-allow-insecure-lan"><input id="cfg-allow-insecure-lan" type="checkbox" />${t('我确认这是可信的局域网私有 IP,并接受 HTTP 传输可被同网段监听或篡改的风险。')}</label>
|