dsh-mcp 1.15.1 → 1.15.3
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.en.md +29 -1
- package/CHANGELOG.md +29 -1
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/client.js +54 -54
- package/lib/index.js +8 -1
- package/package.json +2 -2
- package/src/client/remote-contribution.js +80 -55
package/CHANGELOG.en.md
CHANGED
|
@@ -9,9 +9,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## Compatibility
|
|
11
11
|
|
|
12
|
-
- **Supported DSH version**: **dsh `0.2.2-rc.
|
|
12
|
+
- **Supported DSH version**: **dsh `0.2.2-rc.3`** — the latest release is developed and verified on `0.2.2-rc.3` (declared in `package.json` → `dsh.supported`); older entries state the version verified at their time. When the DSH and plugin versions do not match, the Settings page reports a diagnosis (check whether the bundle is selected → restart `dsh web` → hard-refresh → upgrade both sides).
|
|
13
13
|
- **Release convention**: every version entry states `- **Supported DSH version**: dsh <version>`, mirrored in the GitHub Release notes. The release body is written in **Chinese** (matching [CHANGELOG.md](CHANGELOG.md)), with heading levels mirroring the entry.
|
|
14
14
|
|
|
15
|
+
## [1.15.3] - 2026-11-18
|
|
16
|
+
|
|
17
|
+
- **Supported DSH version**: **dsh `0.2.2-rc.3`**
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **Plugin failed to mount on DSH 0.2.2-rc.3: `service "mcpManager" has been registered at <McpServerManager>` (issue #25)**: since rc.3 DSH ships `McpServerManager`, which owns the `mcpManager` Cordis service key, while this plugin registered the very same key — Cordis refuses a second registration of one key, so the plugin row errored out and the MCP settings page was unusable. The plugin's Cordis service key is now **`dshMcpManager`**, with the wire namespace still declared as `mcpManager` (`super(ctx, "dshMcpManager", { namespace: "mcpManager" })`). The Remote contract is therefore unchanged: the client contribution's `namespace` and every endpoint stay as they were, and the gateway routes by `<namespace>/<method>` rather than by service key; the endpoint sets still never overlap the built-in manager's `mcpManager/probe|restart|watch`
|
|
22
|
+
- The client descriptors' `service` field now names `dshMcpManager` too (14 places) while `namespace` stays `mcpManager`: the gateway resolves the receiver with `ctx.get(descriptor.service)` and then validates the binding against `descriptor.namespace`, so both must mirror the host's `super(ctx, …)` arguments — changing one side alone makes every call fail with `gateway/method-unavailable`
|
|
23
|
+
- New `test/service-key.test.mjs`: asserts the host no longer claims the `mcpManager` Cordis service key and that every client descriptor's `service`/`namespace` matches the host declaration (guarding against a one-sided rename)
|
|
24
|
+
|
|
25
|
+
### Notes
|
|
26
|
+
|
|
27
|
+
- `lib/client.js` rebuilt: 14 changed lines (the `service` field), `zod` stays 4.4.3, no dependency or path drift, and the build is reproducible
|
|
28
|
+
|
|
29
|
+
## [1.15.2] - 2026-11-15
|
|
30
|
+
|
|
31
|
+
- **Supported DSH version**: **dsh `0.2.2-rc.3`**
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- **The plugin was unusable on DSH 0.2.2-rc.2/rc.3: `typert: Remote package "@deepseek-ai/dsh-mcp-manager" is already registered` (issue #24)**: since 0.2.2-rc.2 DSH ships an official `@deepseek-ai/dsh-mcp-manager`, whose client bundle mounts a Remote contribution under that same package name; the client typert registry enforces one owner per package name (`RemoteStore.register`), so registering under the same name throws and leaves the plugin row in an error state with an unusable settings page. The plugin's Remote package id is now its own package name, **`dsh-mcp`** (14 method ids and their typeSymbols renamed with it). Renaming is safe: an invocation routes only by the `namespace/method` endpoint (`typertEndpoint()`), and every `mcpManager/*` endpoint is unchanged; the official manager declares only `mcpManager/probe|restart|watch`, so the endpoint sets do not overlap either
|
|
36
|
+
- New `test/typert-package.test.mjs`: asserts the Remote package id equals this package's name and not the upstream one, that every descriptor id sits under our own package, and that endpoints are unique and never overlap the built-in manager's `probe/restart/watch`
|
|
37
|
+
|
|
38
|
+
### Notes
|
|
39
|
+
|
|
40
|
+
- `src/client/remote-contribution.js` is a typert-generated file; the rename is a manual edit (the repository carries no generator config or FaceModel). The file header records why, and the constraint that a re-generation must carry a unique package name
|
|
41
|
+
- `lib/client.js` was rebuilt: the diff is 40 lines of pure renaming, zod stays 4.4.3, no dependency or path drift, and the build is reproducible
|
|
42
|
+
|
|
15
43
|
## [1.15.1] - 2026-11-10
|
|
16
44
|
|
|
17
45
|
- **Supported DSH version**: **dsh `0.2.2-rc.1`**
|
package/CHANGELOG.md
CHANGED
|
@@ -9,9 +9,37 @@
|
|
|
9
9
|
|
|
10
10
|
## 兼容性
|
|
11
11
|
|
|
12
|
-
- **支持版本**:**dsh `0.2.2-rc.
|
|
12
|
+
- **支持版本**:**dsh `0.2.2-rc.3`** —— 最新版本在 `0.2.2-rc.3` 上开发与验证(`package.json` → `dsh.supported` 同步声明);历史版本条目各自声明当时验证的版本。DSH 与插件版本不匹配时,设置页会给出排查诊断(核对 bundle 是否已选中 → 重启 `dsh web` → 硬刷新 → 同步升级)。
|
|
13
13
|
- **发版约定**:每个版本条目都要声明 `- **支持版本**:dsh <版本>`,并在 GitHub Release notes 中同步。Release 正文用**中文**(与本文档一致),标题层级与条目一致。
|
|
14
14
|
|
|
15
|
+
## [1.15.3] - 2026-11-18
|
|
16
|
+
|
|
17
|
+
- **支持版本**:**dsh `0.2.2-rc.3`**
|
|
18
|
+
|
|
19
|
+
### 修复
|
|
20
|
+
|
|
21
|
+
- **DSH 0.2.2-rc.3 上插件挂载失败:`service "mcpManager" has been registered at <McpServerManager>`(issue #25)**:rc.3 起 DSH 内置的 `McpServerManager` 占用了 Cordis 服务键 `mcpManager`,而本插件一直用它作为自己的服务名——Cordis 不允许同一个服务键注册两次,于是插件行直接报错、MCP 设置页不可用。现在把本插件的 Cordis 服务键改为 **`dshMcpManager`**,同时**显式声明线名仍为 `mcpManager`**(`super(ctx, "dshMcpManager", { namespace: "mcpManager" })`)。Remote 契约因此完全不变:客户端 contribution 的 `namespace` 与全部 endpoint 一个未动,网关按 `<namespace>/<method>` 路由而非按服务键解析;与内置管理器 `mcpManager/probe|restart|watch` 的端点依然无交集
|
|
22
|
+
- 客户端 descriptor 的 `service` 字段同步改为 `dshMcpManager`(14 处),`namespace` 保持 `mcpManager`:网关是按 `ctx.get(descriptor.service)` 取接收者、再用 `descriptor.namespace` 校验绑定的,两者必须与宿主 `super(ctx, …)` 参数一一对应,只改一侧会让每次调用报 `gateway/method-unavailable`
|
|
23
|
+
- 新增 `test/service-key.test.mjs`:断言宿主不再占用 `mcpManager` 这个 Cordis 服务键、且客户端每个 descriptor 的 `service`/`namespace` 都与宿主声明完全一致(防止只改一侧)
|
|
24
|
+
|
|
25
|
+
### 说明
|
|
26
|
+
|
|
27
|
+
- `lib/client.js` 重建:diff 仅 14 行(`service` 字段),`zod` 仍为 4.4.3,无依赖/路径漂移,重建可复现
|
|
28
|
+
|
|
29
|
+
## [1.15.2] - 2026-11-15
|
|
30
|
+
|
|
31
|
+
- **支持版本**:**dsh `0.2.2-rc.3`**
|
|
32
|
+
|
|
33
|
+
### 修复
|
|
34
|
+
|
|
35
|
+
- **DSH 0.2.2-rc.2/rc.3 上插件直接不可用:`typert: Remote package "@deepseek-ai/dsh-mcp-manager" is already registered`(issue #24)**:0.2.2-rc.2 起 DSH 内置了官方 `@deepseek-ai/dsh-mcp-manager`,它的客户端 bundle 以同一个 Remote 包名挂载 contribution;客户端 typert registry 对包名做唯一所有权校验(`RemoteStore.register`),本插件再用同名注册就抛错,插件行显示错误、管理界面无法使用。现在把本插件的 Remote 包 id 改为自己的包名 **`dsh-mcp`**(14 个方法 id 与对应 typeSymbol 一并改名)。改包名是安全的:调用路由只按 endpoint `namespace/method`(`typertEndpoint()`),本插件的 `mcpManager/*` 端点一个未动;官方管理器只声明 `mcpManager/probe|restart|watch`,与本插件端点无交集,因此端点层也不会撞车
|
|
36
|
+
- 新增 `test/typert-package.test.mjs`:断言 Remote 包名等于本包名且不等于上游包名、所有 descriptor id 均在自己的包名下、端点唯一且不与内置管理器的 `probe/restart/watch` 重叠
|
|
37
|
+
|
|
38
|
+
### 说明
|
|
39
|
+
|
|
40
|
+
- `src/client/remote-contribution.js` 是 typert 生成文件,本次改名是手工修改(仓库内没有生成器配置与 FaceModel);文件头已写明原因,以及「重新生成时必须携带唯一包名」的约束
|
|
41
|
+
- `lib/client.js` 已重建:diff 仅 40 行(纯改名),zod 仍为 4.4.3,无依赖/路径漂移,重建结果可复现
|
|
42
|
+
|
|
15
43
|
## [1.15.1] - 2026-11-10
|
|
16
44
|
|
|
17
45
|
- **支持版本**:**dsh `0.2.2-rc.1`**
|
package/README.en.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://dshfind.com/en/plugins/ArvinQi/dsh-mcp?ref=badge)
|
|
4
4
|
|
|
5
|
-
> **Supported DSH version**: `dsh 0.2.2-rc.
|
|
5
|
+
> **Supported DSH version**: `dsh 0.2.2-rc.3` — the latest release is developed and verified on `0.2.2-rc.3`, declared in `package.json` → `dsh.supported`. When the DSH and plugin versions do not match, the Settings page shows a diagnosis (check whether the bundle is selected → restart `dsh web` → hard-refresh → upgrade both sides).
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://dshfind.com/zh/plugins/ArvinQi/dsh-mcp?ref=badge)
|
|
6
6
|
|
|
7
|
-
> **支持版本**:`dsh 0.2.2-rc.
|
|
7
|
+
> **支持版本**:`dsh 0.2.2-rc.3` —— 最新版本在 `0.2.2-rc.3` 上开发与验证,`package.json` → `dsh.supported` 同步声明。DSH 与插件两侧版本不匹配时,设置页会给出排查诊断(检查 bundle 是否已选中 → 重启 `dsh web` → 硬刷新 → 同步升级)。
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
package/lib/client.js
CHANGED
|
@@ -14979,11 +14979,11 @@ var _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema = external
|
|
|
14979
14979
|
}).readonly()
|
|
14980
14980
|
})]);
|
|
14981
14981
|
var TYPERT_REMOTE = {
|
|
14982
|
-
package: "
|
|
14982
|
+
package: "dsh-mcp",
|
|
14983
14983
|
descriptors: [
|
|
14984
14984
|
{
|
|
14985
|
-
id: "
|
|
14986
|
-
service: "
|
|
14985
|
+
id: "dsh-mcp#mcpManager/delete",
|
|
14986
|
+
service: "dshMcpManager",
|
|
14987
14987
|
namespace: "mcpManager",
|
|
14988
14988
|
method: "delete",
|
|
14989
14989
|
invocation: { kind: "direct" },
|
|
@@ -14994,7 +14994,7 @@ var TYPERT_REMOTE = {
|
|
|
14994
14994
|
source: "json",
|
|
14995
14995
|
codec: {
|
|
14996
14996
|
mode: "strict",
|
|
14997
|
-
typeSymbol: "
|
|
14997
|
+
typeSymbol: "dsh-mcp/types#McpManagerRemoveRequest",
|
|
14998
14998
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_delete_parameter_0$schema,
|
|
14999
14999
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_delete_parameter_0$schema
|
|
15000
15000
|
}
|
|
@@ -15002,30 +15002,30 @@ var TYPERT_REMOTE = {
|
|
|
15002
15002
|
],
|
|
15003
15003
|
result: {
|
|
15004
15004
|
mode: "strict",
|
|
15005
|
-
typeSymbol: "
|
|
15005
|
+
typeSymbol: "dsh-mcp/types#McpManagerRemoveResult",
|
|
15006
15006
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_delete_result$schema,
|
|
15007
15007
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_delete_result$schema
|
|
15008
15008
|
},
|
|
15009
15009
|
sourceLocation: { "file": "packages/mcp/mcp-manager/src/index.ts", "line": 399, "column": 9 }
|
|
15010
15010
|
},
|
|
15011
15011
|
{
|
|
15012
|
-
id: "
|
|
15013
|
-
service: "
|
|
15012
|
+
id: "dsh-mcp#mcpManager/list",
|
|
15013
|
+
service: "dshMcpManager",
|
|
15014
15014
|
namespace: "mcpManager",
|
|
15015
15015
|
method: "list",
|
|
15016
15016
|
invocation: { kind: "direct" },
|
|
15017
15017
|
parameters: [],
|
|
15018
15018
|
result: {
|
|
15019
15019
|
mode: "strict",
|
|
15020
|
-
typeSymbol: "
|
|
15020
|
+
typeSymbol: "dsh-mcp/types#McpManagerListResult",
|
|
15021
15021
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_list_result$schema,
|
|
15022
15022
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_list_result$schema
|
|
15023
15023
|
},
|
|
15024
15024
|
sourceLocation: { "file": "packages/mcp/mcp-manager/src/index.ts", "line": 314, "column": 9 }
|
|
15025
15025
|
},
|
|
15026
15026
|
{
|
|
15027
|
-
id: "
|
|
15028
|
-
service: "
|
|
15027
|
+
id: "dsh-mcp#mcpManager/test",
|
|
15028
|
+
service: "dshMcpManager",
|
|
15029
15029
|
namespace: "mcpManager",
|
|
15030
15030
|
method: "test",
|
|
15031
15031
|
invocation: { kind: "direct" },
|
|
@@ -15036,7 +15036,7 @@ var TYPERT_REMOTE = {
|
|
|
15036
15036
|
source: "json",
|
|
15037
15037
|
codec: {
|
|
15038
15038
|
mode: "strict",
|
|
15039
|
-
typeSymbol: "
|
|
15039
|
+
typeSymbol: "dsh-mcp/types#McpManagerTestRequest",
|
|
15040
15040
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_test_parameter_0$schema,
|
|
15041
15041
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_test_parameter_0$schema
|
|
15042
15042
|
}
|
|
@@ -15044,15 +15044,15 @@ var TYPERT_REMOTE = {
|
|
|
15044
15044
|
],
|
|
15045
15045
|
result: {
|
|
15046
15046
|
mode: "strict",
|
|
15047
|
-
typeSymbol: "
|
|
15047
|
+
typeSymbol: "dsh-mcp/types#McpManagerTestResult",
|
|
15048
15048
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_test_result$schema,
|
|
15049
15049
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_test_result$schema
|
|
15050
15050
|
},
|
|
15051
15051
|
sourceLocation: { "file": "packages/mcp/mcp-manager/src/index.ts", "line": 422, "column": 9 }
|
|
15052
15052
|
},
|
|
15053
15053
|
{
|
|
15054
|
-
id: "
|
|
15055
|
-
service: "
|
|
15054
|
+
id: "dsh-mcp#mcpManager/upsert",
|
|
15055
|
+
service: "dshMcpManager",
|
|
15056
15056
|
namespace: "mcpManager",
|
|
15057
15057
|
method: "upsert",
|
|
15058
15058
|
invocation: { kind: "direct" },
|
|
@@ -15063,7 +15063,7 @@ var TYPERT_REMOTE = {
|
|
|
15063
15063
|
source: "json",
|
|
15064
15064
|
codec: {
|
|
15065
15065
|
mode: "strict",
|
|
15066
|
-
typeSymbol: "
|
|
15066
|
+
typeSymbol: "dsh-mcp/types#McpManagerUpsertRequest",
|
|
15067
15067
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_parameter_0$schema,
|
|
15068
15068
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_parameter_0$schema
|
|
15069
15069
|
}
|
|
@@ -15071,15 +15071,15 @@ var TYPERT_REMOTE = {
|
|
|
15071
15071
|
],
|
|
15072
15072
|
result: {
|
|
15073
15073
|
mode: "strict",
|
|
15074
|
-
typeSymbol: "
|
|
15074
|
+
typeSymbol: "dsh-mcp/types#McpManagerUpsertResult",
|
|
15075
15075
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_result$schema,
|
|
15076
15076
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_result$schema
|
|
15077
15077
|
},
|
|
15078
15078
|
sourceLocation: { "file": "packages/mcp/mcp-manager/src/index.ts", "line": 329, "column": 9 }
|
|
15079
15079
|
},
|
|
15080
15080
|
{
|
|
15081
|
-
id: "
|
|
15082
|
-
service: "
|
|
15081
|
+
id: "dsh-mcp#mcpManager/upsertJson",
|
|
15082
|
+
service: "dshMcpManager",
|
|
15083
15083
|
namespace: "mcpManager",
|
|
15084
15084
|
method: "upsertJson",
|
|
15085
15085
|
invocation: { kind: "direct" },
|
|
@@ -15090,7 +15090,7 @@ var TYPERT_REMOTE = {
|
|
|
15090
15090
|
source: "json",
|
|
15091
15091
|
codec: {
|
|
15092
15092
|
mode: "strict",
|
|
15093
|
-
typeSymbol: "
|
|
15093
|
+
typeSymbol: "dsh-mcp/types#McpManagerUpsertJsonRequest",
|
|
15094
15094
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_parameter_0$schema,
|
|
15095
15095
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_parameter_0$schema
|
|
15096
15096
|
}
|
|
@@ -15098,30 +15098,30 @@ var TYPERT_REMOTE = {
|
|
|
15098
15098
|
],
|
|
15099
15099
|
result: {
|
|
15100
15100
|
mode: "strict",
|
|
15101
|
-
typeSymbol: "
|
|
15101
|
+
typeSymbol: "dsh-mcp/types#McpManagerUpsertJsonResult",
|
|
15102
15102
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_result$schema,
|
|
15103
15103
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_result$schema
|
|
15104
15104
|
},
|
|
15105
15105
|
sourceLocation: { "file": "lib/index.js" }
|
|
15106
15106
|
},
|
|
15107
15107
|
{
|
|
15108
|
-
id: "
|
|
15109
|
-
service: "
|
|
15108
|
+
id: "dsh-mcp#mcpManager/toolsList",
|
|
15109
|
+
service: "dshMcpManager",
|
|
15110
15110
|
namespace: "mcpManager",
|
|
15111
15111
|
method: "toolsList",
|
|
15112
15112
|
invocation: { kind: "direct" },
|
|
15113
15113
|
parameters: [],
|
|
15114
15114
|
result: {
|
|
15115
15115
|
mode: "strict",
|
|
15116
|
-
typeSymbol: "
|
|
15116
|
+
typeSymbol: "dsh-mcp/types#McpManagerToolsListResult",
|
|
15117
15117
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsList_result$schema,
|
|
15118
15118
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsList_result$schema
|
|
15119
15119
|
},
|
|
15120
15120
|
sourceLocation: { "file": "lib/index.js" }
|
|
15121
15121
|
},
|
|
15122
15122
|
{
|
|
15123
|
-
id: "
|
|
15124
|
-
service: "
|
|
15123
|
+
id: "dsh-mcp#mcpManager/toolsSet",
|
|
15124
|
+
service: "dshMcpManager",
|
|
15125
15125
|
namespace: "mcpManager",
|
|
15126
15126
|
method: "toolsSet",
|
|
15127
15127
|
invocation: { kind: "direct" },
|
|
@@ -15132,7 +15132,7 @@ var TYPERT_REMOTE = {
|
|
|
15132
15132
|
source: "json",
|
|
15133
15133
|
codec: {
|
|
15134
15134
|
mode: "strict",
|
|
15135
|
-
typeSymbol: "
|
|
15135
|
+
typeSymbol: "dsh-mcp/types#McpManagerToolsSetRequest",
|
|
15136
15136
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_parameter_0$schema,
|
|
15137
15137
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_parameter_0$schema
|
|
15138
15138
|
}
|
|
@@ -15140,15 +15140,15 @@ var TYPERT_REMOTE = {
|
|
|
15140
15140
|
],
|
|
15141
15141
|
result: {
|
|
15142
15142
|
mode: "strict",
|
|
15143
|
-
typeSymbol: "
|
|
15143
|
+
typeSymbol: "dsh-mcp/types#McpManagerToolsSetResult",
|
|
15144
15144
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_result$schema,
|
|
15145
15145
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_result$schema
|
|
15146
15146
|
},
|
|
15147
15147
|
sourceLocation: { "file": "lib/index.js" }
|
|
15148
15148
|
},
|
|
15149
15149
|
{
|
|
15150
|
-
id: "
|
|
15151
|
-
service: "
|
|
15150
|
+
id: "dsh-mcp#mcpManager/toolsMode",
|
|
15151
|
+
service: "dshMcpManager",
|
|
15152
15152
|
namespace: "mcpManager",
|
|
15153
15153
|
method: "toolsMode",
|
|
15154
15154
|
invocation: { kind: "direct" },
|
|
@@ -15159,7 +15159,7 @@ var TYPERT_REMOTE = {
|
|
|
15159
15159
|
source: "json",
|
|
15160
15160
|
codec: {
|
|
15161
15161
|
mode: "strict",
|
|
15162
|
-
typeSymbol: "
|
|
15162
|
+
typeSymbol: "dsh-mcp/types#McpManagerToolsModeRequest",
|
|
15163
15163
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_parameter_0$schema,
|
|
15164
15164
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_parameter_0$schema
|
|
15165
15165
|
}
|
|
@@ -15167,30 +15167,30 @@ var TYPERT_REMOTE = {
|
|
|
15167
15167
|
],
|
|
15168
15168
|
result: {
|
|
15169
15169
|
mode: "strict",
|
|
15170
|
-
typeSymbol: "
|
|
15170
|
+
typeSymbol: "dsh-mcp/types#McpManagerToolsModeResult",
|
|
15171
15171
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_result$schema,
|
|
15172
15172
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_result$schema
|
|
15173
15173
|
},
|
|
15174
15174
|
sourceLocation: { "file": "lib/index.js" }
|
|
15175
15175
|
},
|
|
15176
15176
|
{
|
|
15177
|
-
id: "
|
|
15178
|
-
service: "
|
|
15177
|
+
id: "dsh-mcp#mcpManager/envList",
|
|
15178
|
+
service: "dshMcpManager",
|
|
15179
15179
|
namespace: "mcpManager",
|
|
15180
15180
|
method: "envList",
|
|
15181
15181
|
invocation: { kind: "direct" },
|
|
15182
15182
|
parameters: [],
|
|
15183
15183
|
result: {
|
|
15184
15184
|
mode: "strict",
|
|
15185
|
-
typeSymbol: "
|
|
15185
|
+
typeSymbol: "dsh-mcp/types#McpManagerEnvListResult",
|
|
15186
15186
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envList_result$schema,
|
|
15187
15187
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envList_result$schema
|
|
15188
15188
|
},
|
|
15189
15189
|
sourceLocation: { "file": "lib/index.js" }
|
|
15190
15190
|
},
|
|
15191
15191
|
{
|
|
15192
|
-
id: "
|
|
15193
|
-
service: "
|
|
15192
|
+
id: "dsh-mcp#mcpManager/envSet",
|
|
15193
|
+
service: "dshMcpManager",
|
|
15194
15194
|
namespace: "mcpManager",
|
|
15195
15195
|
method: "envSet",
|
|
15196
15196
|
invocation: { kind: "direct" },
|
|
@@ -15201,7 +15201,7 @@ var TYPERT_REMOTE = {
|
|
|
15201
15201
|
source: "json",
|
|
15202
15202
|
codec: {
|
|
15203
15203
|
mode: "strict",
|
|
15204
|
-
typeSymbol: "
|
|
15204
|
+
typeSymbol: "dsh-mcp/types#McpManagerEnvSetRequest",
|
|
15205
15205
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_parameter_0$schema,
|
|
15206
15206
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_parameter_0$schema
|
|
15207
15207
|
}
|
|
@@ -15209,15 +15209,15 @@ var TYPERT_REMOTE = {
|
|
|
15209
15209
|
],
|
|
15210
15210
|
result: {
|
|
15211
15211
|
mode: "strict",
|
|
15212
|
-
typeSymbol: "
|
|
15212
|
+
typeSymbol: "dsh-mcp/types#McpManagerEnvSetResult",
|
|
15213
15213
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_result$schema,
|
|
15214
15214
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_result$schema
|
|
15215
15215
|
},
|
|
15216
15216
|
sourceLocation: { "file": "lib/index.js" }
|
|
15217
15217
|
},
|
|
15218
15218
|
{
|
|
15219
|
-
id: "
|
|
15220
|
-
service: "
|
|
15219
|
+
id: "dsh-mcp#mcpManager/adopt",
|
|
15220
|
+
service: "dshMcpManager",
|
|
15221
15221
|
namespace: "mcpManager",
|
|
15222
15222
|
method: "adopt",
|
|
15223
15223
|
invocation: { kind: "direct" },
|
|
@@ -15228,7 +15228,7 @@ var TYPERT_REMOTE = {
|
|
|
15228
15228
|
source: "json",
|
|
15229
15229
|
codec: {
|
|
15230
15230
|
mode: "strict",
|
|
15231
|
-
typeSymbol: "
|
|
15231
|
+
typeSymbol: "dsh-mcp/types#McpManagerAdoptRequest",
|
|
15232
15232
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_parameter_0$schema,
|
|
15233
15233
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_parameter_0$schema
|
|
15234
15234
|
}
|
|
@@ -15236,15 +15236,15 @@ var TYPERT_REMOTE = {
|
|
|
15236
15236
|
],
|
|
15237
15237
|
result: {
|
|
15238
15238
|
mode: "strict",
|
|
15239
|
-
typeSymbol: "
|
|
15239
|
+
typeSymbol: "dsh-mcp/types#McpManagerAdoptResult",
|
|
15240
15240
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_result$schema,
|
|
15241
15241
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_result$schema
|
|
15242
15242
|
},
|
|
15243
15243
|
sourceLocation: { "file": "lib/index.js" }
|
|
15244
15244
|
},
|
|
15245
15245
|
{
|
|
15246
|
-
id: "
|
|
15247
|
-
service: "
|
|
15246
|
+
id: "dsh-mcp#mcpManager/release",
|
|
15247
|
+
service: "dshMcpManager",
|
|
15248
15248
|
namespace: "mcpManager",
|
|
15249
15249
|
method: "release",
|
|
15250
15250
|
invocation: { kind: "direct" },
|
|
@@ -15255,7 +15255,7 @@ var TYPERT_REMOTE = {
|
|
|
15255
15255
|
source: "json",
|
|
15256
15256
|
codec: {
|
|
15257
15257
|
mode: "strict",
|
|
15258
|
-
typeSymbol: "
|
|
15258
|
+
typeSymbol: "dsh-mcp/types#McpManagerReleaseRequest",
|
|
15259
15259
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_release_parameter_0$schema,
|
|
15260
15260
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_release_parameter_0$schema
|
|
15261
15261
|
}
|
|
@@ -15263,15 +15263,15 @@ var TYPERT_REMOTE = {
|
|
|
15263
15263
|
],
|
|
15264
15264
|
result: {
|
|
15265
15265
|
mode: "strict",
|
|
15266
|
-
typeSymbol: "
|
|
15266
|
+
typeSymbol: "dsh-mcp/types#McpManagerReleaseResult",
|
|
15267
15267
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_release_result$schema,
|
|
15268
15268
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_release_result$schema
|
|
15269
15269
|
},
|
|
15270
15270
|
sourceLocation: { "file": "lib/index.js" }
|
|
15271
15271
|
},
|
|
15272
15272
|
{
|
|
15273
|
-
id: "
|
|
15274
|
-
service: "
|
|
15273
|
+
id: "dsh-mcp#mcpManager/oauthStart",
|
|
15274
|
+
service: "dshMcpManager",
|
|
15275
15275
|
namespace: "mcpManager",
|
|
15276
15276
|
method: "oauthStart",
|
|
15277
15277
|
invocation: { kind: "direct" },
|
|
@@ -15282,7 +15282,7 @@ var TYPERT_REMOTE = {
|
|
|
15282
15282
|
source: "json",
|
|
15283
15283
|
codec: {
|
|
15284
15284
|
mode: "strict",
|
|
15285
|
-
typeSymbol: "
|
|
15285
|
+
typeSymbol: "dsh-mcp/types#McpManagerOAuthStartRequest",
|
|
15286
15286
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_parameter_0$schema,
|
|
15287
15287
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_parameter_0$schema
|
|
15288
15288
|
}
|
|
@@ -15290,15 +15290,15 @@ var TYPERT_REMOTE = {
|
|
|
15290
15290
|
],
|
|
15291
15291
|
result: {
|
|
15292
15292
|
mode: "strict",
|
|
15293
|
-
typeSymbol: "
|
|
15293
|
+
typeSymbol: "dsh-mcp/types#McpManagerOAuthStartResult",
|
|
15294
15294
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_result$schema,
|
|
15295
15295
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_result$schema
|
|
15296
15296
|
},
|
|
15297
15297
|
sourceLocation: { "file": "lib/index.js" }
|
|
15298
15298
|
},
|
|
15299
15299
|
{
|
|
15300
|
-
id: "
|
|
15301
|
-
service: "
|
|
15300
|
+
id: "dsh-mcp#mcpManager/oauthStatus",
|
|
15301
|
+
service: "dshMcpManager",
|
|
15302
15302
|
namespace: "mcpManager",
|
|
15303
15303
|
method: "oauthStatus",
|
|
15304
15304
|
invocation: { kind: "direct" },
|
|
@@ -15309,7 +15309,7 @@ var TYPERT_REMOTE = {
|
|
|
15309
15309
|
source: "json",
|
|
15310
15310
|
codec: {
|
|
15311
15311
|
mode: "strict",
|
|
15312
|
-
typeSymbol: "
|
|
15312
|
+
typeSymbol: "dsh-mcp/types#McpManagerOAuthStatusRequest",
|
|
15313
15313
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_parameter_0$schema,
|
|
15314
15314
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_parameter_0$schema
|
|
15315
15315
|
}
|
|
@@ -15317,7 +15317,7 @@ var TYPERT_REMOTE = {
|
|
|
15317
15317
|
],
|
|
15318
15318
|
result: {
|
|
15319
15319
|
mode: "strict",
|
|
15320
|
-
typeSymbol: "
|
|
15320
|
+
typeSymbol: "dsh-mcp/types#McpManagerOAuthStatusResult",
|
|
15321
15321
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema,
|
|
15322
15322
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema
|
|
15323
15323
|
},
|
package/lib/index.js
CHANGED
|
@@ -642,7 +642,14 @@ let McpManagerService = (() => {
|
|
|
642
642
|
* @param config - Resolved manager configuration.
|
|
643
643
|
*/
|
|
644
644
|
constructor(ctx, config) {
|
|
645
|
-
|
|
645
|
+
// The Cordis service key must be ours alone: DSH >= 0.2.2-rc.3 ships
|
|
646
|
+
// an official `McpServerManager` that registers the `mcpManager`
|
|
647
|
+
// service key, and Cordis refuses a second registration of the same
|
|
648
|
+
// key (issue #25). The wire namespace is passed explicitly so the
|
|
649
|
+
// Remote contract stays `mcpManager/*` — the browser half and every
|
|
650
|
+
// existing endpoint keep working, and the gateway routes by
|
|
651
|
+
// `<namespace>/<method>` rather than by service key.
|
|
652
|
+
super(ctx, "dshMcpManager", { namespace: "mcpManager" });
|
|
646
653
|
this.probeTimeoutMs = config.probeTimeoutMs;
|
|
647
654
|
this.allowBrowserOnMount = config.allowBrowserOnMount;
|
|
648
655
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcp",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.3",
|
|
4
4
|
"description": "MCP 管理界面 + tool search:可视化配置/启停/刷新 MCP 服务器与工具勾选,按需检索(tool search)热注入;工具列表稳定命中缓存、不撑爆上下文。DeepSeek Harness plugin: MCP management UI + tool search — stable tool list, cache-friendly, no context bloat.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"url": "https://github.com/ArvinQi/dsh-mcp/issues"
|
|
42
42
|
},
|
|
43
43
|
"dsh": {
|
|
44
|
-
"supported": "0.2.2-rc.
|
|
44
|
+
"supported": "0.2.2-rc.3",
|
|
45
45
|
"bundle": {
|
|
46
46
|
"patch": "./cordis.patch.yml"
|
|
47
47
|
},
|
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel.
|
|
2
|
+
*
|
|
3
|
+
* The declared Remote package id is `dsh-mcp` (this plugin's own package name),
|
|
4
|
+
* NOT the `@deepseek-ai/dsh-mcp-manager` id the generator originally emitted.
|
|
5
|
+
* DSH >= 0.2.2-rc.2 ships an official `@deepseek-ai/dsh-mcp-manager` whose client
|
|
6
|
+
* bundle mounts a Remote contribution under that exact package name, and the
|
|
7
|
+
* client typert registry keeps one owner per package name — mounting ours as
|
|
8
|
+
* well throws `typert: Remote package "@deepseek-ai/dsh-mcp-manager" is already
|
|
9
|
+
* registered` and leaves the plugin unusable (issue #24).
|
|
10
|
+
*
|
|
11
|
+
* Renaming is safe because a package id is only an ownership/dedupe key: an
|
|
12
|
+
* invocation is routed by endpoint `namespace/method` (`typertEndpoint()` in
|
|
13
|
+
* @deepseek-ai/dsh-typert-registry), which our `mcpManager/*` endpoints keep.
|
|
14
|
+
* The official manager declares only `mcpManager/probe|restart|watch`, so the
|
|
15
|
+
* endpoint sets do not overlap either. Rename these ids back only together with
|
|
16
|
+
* a re-generated FaceModel that carries a unique package name.
|
|
17
|
+
*
|
|
18
|
+
* `service` is the Cordis service key and `namespace` is the wire namespace: the
|
|
19
|
+
* gateway dispatches by `ctx.get(descriptor.service)` and then validates the
|
|
20
|
+
* binding against both fields. DSH 0.2.2-rc.3 ships McpServerManager, which owns
|
|
21
|
+
* the `mcpManager` service key (issue #25), so the host half registers under
|
|
22
|
+
* `dshMcpManager` while keeping the `mcpManager` wire namespace. These
|
|
23
|
+
* descriptors therefore carry `service: 'dshMcpManager'` and
|
|
24
|
+
* `namespace: 'mcpManager'` — both must move together with the host's
|
|
25
|
+
* `super(ctx, …)` arguments.
|
|
26
|
+
*/
|
|
2
27
|
import { z } from 'zod'
|
|
3
28
|
|
|
4
29
|
const _deepseek_ai_dsh_mcp_manager_mcpManager_delete_parameter_0$schema = z.object({
|
|
@@ -441,11 +466,11 @@ const _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema = z.unio
|
|
|
441
466
|
})])
|
|
442
467
|
|
|
443
468
|
export const TYPERT_REMOTE = {
|
|
444
|
-
package: '
|
|
469
|
+
package: 'dsh-mcp',
|
|
445
470
|
descriptors: [
|
|
446
471
|
{
|
|
447
|
-
id: '
|
|
448
|
-
service: '
|
|
472
|
+
id: 'dsh-mcp#mcpManager/delete',
|
|
473
|
+
service: 'dshMcpManager',
|
|
449
474
|
namespace: 'mcpManager',
|
|
450
475
|
method: 'delete',
|
|
451
476
|
invocation: { kind: 'direct' },
|
|
@@ -456,7 +481,7 @@ export const TYPERT_REMOTE = {
|
|
|
456
481
|
source: 'json',
|
|
457
482
|
codec: {
|
|
458
483
|
mode: 'strict',
|
|
459
|
-
typeSymbol: '
|
|
484
|
+
typeSymbol: 'dsh-mcp/types#McpManagerRemoveRequest',
|
|
460
485
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_delete_parameter_0$schema,
|
|
461
486
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_delete_parameter_0$schema,
|
|
462
487
|
},
|
|
@@ -464,15 +489,15 @@ export const TYPERT_REMOTE = {
|
|
|
464
489
|
],
|
|
465
490
|
result: {
|
|
466
491
|
mode: 'strict',
|
|
467
|
-
typeSymbol: '
|
|
492
|
+
typeSymbol: 'dsh-mcp/types#McpManagerRemoveResult',
|
|
468
493
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_delete_result$schema,
|
|
469
494
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_delete_result$schema,
|
|
470
495
|
},
|
|
471
496
|
sourceLocation: {"file":"packages/mcp/mcp-manager/src/index.ts","line":399,"column":9},
|
|
472
497
|
},
|
|
473
498
|
{
|
|
474
|
-
id: '
|
|
475
|
-
service: '
|
|
499
|
+
id: 'dsh-mcp#mcpManager/list',
|
|
500
|
+
service: 'dshMcpManager',
|
|
476
501
|
namespace: 'mcpManager',
|
|
477
502
|
method: 'list',
|
|
478
503
|
invocation: { kind: 'direct' },
|
|
@@ -480,15 +505,15 @@ export const TYPERT_REMOTE = {
|
|
|
480
505
|
],
|
|
481
506
|
result: {
|
|
482
507
|
mode: 'strict',
|
|
483
|
-
typeSymbol: '
|
|
508
|
+
typeSymbol: 'dsh-mcp/types#McpManagerListResult',
|
|
484
509
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_list_result$schema,
|
|
485
510
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_list_result$schema,
|
|
486
511
|
},
|
|
487
512
|
sourceLocation: {"file":"packages/mcp/mcp-manager/src/index.ts","line":314,"column":9},
|
|
488
513
|
},
|
|
489
514
|
{
|
|
490
|
-
id: '
|
|
491
|
-
service: '
|
|
515
|
+
id: 'dsh-mcp#mcpManager/test',
|
|
516
|
+
service: 'dshMcpManager',
|
|
492
517
|
namespace: 'mcpManager',
|
|
493
518
|
method: 'test',
|
|
494
519
|
invocation: { kind: 'direct' },
|
|
@@ -499,7 +524,7 @@ export const TYPERT_REMOTE = {
|
|
|
499
524
|
source: 'json',
|
|
500
525
|
codec: {
|
|
501
526
|
mode: 'strict',
|
|
502
|
-
typeSymbol: '
|
|
527
|
+
typeSymbol: 'dsh-mcp/types#McpManagerTestRequest',
|
|
503
528
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_test_parameter_0$schema,
|
|
504
529
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_test_parameter_0$schema,
|
|
505
530
|
},
|
|
@@ -507,15 +532,15 @@ export const TYPERT_REMOTE = {
|
|
|
507
532
|
],
|
|
508
533
|
result: {
|
|
509
534
|
mode: 'strict',
|
|
510
|
-
typeSymbol: '
|
|
535
|
+
typeSymbol: 'dsh-mcp/types#McpManagerTestResult',
|
|
511
536
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_test_result$schema,
|
|
512
537
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_test_result$schema,
|
|
513
538
|
},
|
|
514
539
|
sourceLocation: {"file":"packages/mcp/mcp-manager/src/index.ts","line":422,"column":9},
|
|
515
540
|
},
|
|
516
541
|
{
|
|
517
|
-
id: '
|
|
518
|
-
service: '
|
|
542
|
+
id: 'dsh-mcp#mcpManager/upsert',
|
|
543
|
+
service: 'dshMcpManager',
|
|
519
544
|
namespace: 'mcpManager',
|
|
520
545
|
method: 'upsert',
|
|
521
546
|
invocation: { kind: 'direct' },
|
|
@@ -526,7 +551,7 @@ export const TYPERT_REMOTE = {
|
|
|
526
551
|
source: 'json',
|
|
527
552
|
codec: {
|
|
528
553
|
mode: 'strict',
|
|
529
|
-
typeSymbol: '
|
|
554
|
+
typeSymbol: 'dsh-mcp/types#McpManagerUpsertRequest',
|
|
530
555
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_parameter_0$schema,
|
|
531
556
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_parameter_0$schema,
|
|
532
557
|
},
|
|
@@ -534,15 +559,15 @@ export const TYPERT_REMOTE = {
|
|
|
534
559
|
],
|
|
535
560
|
result: {
|
|
536
561
|
mode: 'strict',
|
|
537
|
-
typeSymbol: '
|
|
562
|
+
typeSymbol: 'dsh-mcp/types#McpManagerUpsertResult',
|
|
538
563
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_result$schema,
|
|
539
564
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsert_result$schema,
|
|
540
565
|
},
|
|
541
566
|
sourceLocation: {"file":"packages/mcp/mcp-manager/src/index.ts","line":329,"column":9},
|
|
542
567
|
},
|
|
543
568
|
{
|
|
544
|
-
id: '
|
|
545
|
-
service: '
|
|
569
|
+
id: 'dsh-mcp#mcpManager/upsertJson',
|
|
570
|
+
service: 'dshMcpManager',
|
|
546
571
|
namespace: 'mcpManager',
|
|
547
572
|
method: 'upsertJson',
|
|
548
573
|
invocation: { kind: 'direct' },
|
|
@@ -553,7 +578,7 @@ export const TYPERT_REMOTE = {
|
|
|
553
578
|
source: 'json',
|
|
554
579
|
codec: {
|
|
555
580
|
mode: 'strict',
|
|
556
|
-
typeSymbol: '
|
|
581
|
+
typeSymbol: 'dsh-mcp/types#McpManagerUpsertJsonRequest',
|
|
557
582
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_parameter_0$schema,
|
|
558
583
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_parameter_0$schema,
|
|
559
584
|
},
|
|
@@ -561,15 +586,15 @@ export const TYPERT_REMOTE = {
|
|
|
561
586
|
],
|
|
562
587
|
result: {
|
|
563
588
|
mode: 'strict',
|
|
564
|
-
typeSymbol: '
|
|
589
|
+
typeSymbol: 'dsh-mcp/types#McpManagerUpsertJsonResult',
|
|
565
590
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_result$schema,
|
|
566
591
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_upsertJson_result$schema,
|
|
567
592
|
},
|
|
568
593
|
sourceLocation: {"file":"lib/index.js"},
|
|
569
594
|
},
|
|
570
595
|
{
|
|
571
|
-
id: '
|
|
572
|
-
service: '
|
|
596
|
+
id: 'dsh-mcp#mcpManager/toolsList',
|
|
597
|
+
service: 'dshMcpManager',
|
|
573
598
|
namespace: 'mcpManager',
|
|
574
599
|
method: 'toolsList',
|
|
575
600
|
invocation: { kind: 'direct' },
|
|
@@ -577,15 +602,15 @@ export const TYPERT_REMOTE = {
|
|
|
577
602
|
],
|
|
578
603
|
result: {
|
|
579
604
|
mode: 'strict',
|
|
580
|
-
typeSymbol: '
|
|
605
|
+
typeSymbol: 'dsh-mcp/types#McpManagerToolsListResult',
|
|
581
606
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsList_result$schema,
|
|
582
607
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsList_result$schema,
|
|
583
608
|
},
|
|
584
609
|
sourceLocation: {"file":"lib/index.js"},
|
|
585
610
|
},
|
|
586
611
|
{
|
|
587
|
-
id: '
|
|
588
|
-
service: '
|
|
612
|
+
id: 'dsh-mcp#mcpManager/toolsSet',
|
|
613
|
+
service: 'dshMcpManager',
|
|
589
614
|
namespace: 'mcpManager',
|
|
590
615
|
method: 'toolsSet',
|
|
591
616
|
invocation: { kind: 'direct' },
|
|
@@ -596,7 +621,7 @@ export const TYPERT_REMOTE = {
|
|
|
596
621
|
source: 'json',
|
|
597
622
|
codec: {
|
|
598
623
|
mode: 'strict',
|
|
599
|
-
typeSymbol: '
|
|
624
|
+
typeSymbol: 'dsh-mcp/types#McpManagerToolsSetRequest',
|
|
600
625
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_parameter_0$schema,
|
|
601
626
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_parameter_0$schema,
|
|
602
627
|
},
|
|
@@ -604,15 +629,15 @@ export const TYPERT_REMOTE = {
|
|
|
604
629
|
],
|
|
605
630
|
result: {
|
|
606
631
|
mode: 'strict',
|
|
607
|
-
typeSymbol: '
|
|
632
|
+
typeSymbol: 'dsh-mcp/types#McpManagerToolsSetResult',
|
|
608
633
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_result$schema,
|
|
609
634
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsSet_result$schema,
|
|
610
635
|
},
|
|
611
636
|
sourceLocation: {"file":"lib/index.js"},
|
|
612
637
|
},
|
|
613
638
|
{
|
|
614
|
-
id: '
|
|
615
|
-
service: '
|
|
639
|
+
id: 'dsh-mcp#mcpManager/toolsMode',
|
|
640
|
+
service: 'dshMcpManager',
|
|
616
641
|
namespace: 'mcpManager',
|
|
617
642
|
method: 'toolsMode',
|
|
618
643
|
invocation: { kind: 'direct' },
|
|
@@ -623,7 +648,7 @@ export const TYPERT_REMOTE = {
|
|
|
623
648
|
source: 'json',
|
|
624
649
|
codec: {
|
|
625
650
|
mode: 'strict',
|
|
626
|
-
typeSymbol: '
|
|
651
|
+
typeSymbol: 'dsh-mcp/types#McpManagerToolsModeRequest',
|
|
627
652
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_parameter_0$schema,
|
|
628
653
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_parameter_0$schema,
|
|
629
654
|
},
|
|
@@ -631,15 +656,15 @@ export const TYPERT_REMOTE = {
|
|
|
631
656
|
],
|
|
632
657
|
result: {
|
|
633
658
|
mode: 'strict',
|
|
634
|
-
typeSymbol: '
|
|
659
|
+
typeSymbol: 'dsh-mcp/types#McpManagerToolsModeResult',
|
|
635
660
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_result$schema,
|
|
636
661
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_toolsMode_result$schema,
|
|
637
662
|
},
|
|
638
663
|
sourceLocation: {"file":"lib/index.js"},
|
|
639
664
|
},
|
|
640
665
|
{
|
|
641
|
-
id: '
|
|
642
|
-
service: '
|
|
666
|
+
id: 'dsh-mcp#mcpManager/envList',
|
|
667
|
+
service: 'dshMcpManager',
|
|
643
668
|
namespace: 'mcpManager',
|
|
644
669
|
method: 'envList',
|
|
645
670
|
invocation: { kind: 'direct' },
|
|
@@ -647,15 +672,15 @@ export const TYPERT_REMOTE = {
|
|
|
647
672
|
],
|
|
648
673
|
result: {
|
|
649
674
|
mode: 'strict',
|
|
650
|
-
typeSymbol: '
|
|
675
|
+
typeSymbol: 'dsh-mcp/types#McpManagerEnvListResult',
|
|
651
676
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envList_result$schema,
|
|
652
677
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envList_result$schema,
|
|
653
678
|
},
|
|
654
679
|
sourceLocation: {"file":"lib/index.js"},
|
|
655
680
|
},
|
|
656
681
|
{
|
|
657
|
-
id: '
|
|
658
|
-
service: '
|
|
682
|
+
id: 'dsh-mcp#mcpManager/envSet',
|
|
683
|
+
service: 'dshMcpManager',
|
|
659
684
|
namespace: 'mcpManager',
|
|
660
685
|
method: 'envSet',
|
|
661
686
|
invocation: { kind: 'direct' },
|
|
@@ -666,7 +691,7 @@ export const TYPERT_REMOTE = {
|
|
|
666
691
|
source: 'json',
|
|
667
692
|
codec: {
|
|
668
693
|
mode: 'strict',
|
|
669
|
-
typeSymbol: '
|
|
694
|
+
typeSymbol: 'dsh-mcp/types#McpManagerEnvSetRequest',
|
|
670
695
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_parameter_0$schema,
|
|
671
696
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_parameter_0$schema,
|
|
672
697
|
},
|
|
@@ -674,15 +699,15 @@ export const TYPERT_REMOTE = {
|
|
|
674
699
|
],
|
|
675
700
|
result: {
|
|
676
701
|
mode: 'strict',
|
|
677
|
-
typeSymbol: '
|
|
702
|
+
typeSymbol: 'dsh-mcp/types#McpManagerEnvSetResult',
|
|
678
703
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_result$schema,
|
|
679
704
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_envSet_result$schema,
|
|
680
705
|
},
|
|
681
706
|
sourceLocation: {"file":"lib/index.js"},
|
|
682
707
|
},
|
|
683
708
|
{
|
|
684
|
-
id: '
|
|
685
|
-
service: '
|
|
709
|
+
id: 'dsh-mcp#mcpManager/adopt',
|
|
710
|
+
service: 'dshMcpManager',
|
|
686
711
|
namespace: 'mcpManager',
|
|
687
712
|
method: 'adopt',
|
|
688
713
|
invocation: { kind: 'direct' },
|
|
@@ -693,7 +718,7 @@ export const TYPERT_REMOTE = {
|
|
|
693
718
|
source: 'json',
|
|
694
719
|
codec: {
|
|
695
720
|
mode: 'strict',
|
|
696
|
-
typeSymbol: '
|
|
721
|
+
typeSymbol: 'dsh-mcp/types#McpManagerAdoptRequest',
|
|
697
722
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_parameter_0$schema,
|
|
698
723
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_parameter_0$schema,
|
|
699
724
|
},
|
|
@@ -701,15 +726,15 @@ export const TYPERT_REMOTE = {
|
|
|
701
726
|
],
|
|
702
727
|
result: {
|
|
703
728
|
mode: 'strict',
|
|
704
|
-
typeSymbol: '
|
|
729
|
+
typeSymbol: 'dsh-mcp/types#McpManagerAdoptResult',
|
|
705
730
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_result$schema,
|
|
706
731
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_adopt_result$schema,
|
|
707
732
|
},
|
|
708
733
|
sourceLocation: {"file":"lib/index.js"},
|
|
709
734
|
},
|
|
710
735
|
{
|
|
711
|
-
id: '
|
|
712
|
-
service: '
|
|
736
|
+
id: 'dsh-mcp#mcpManager/release',
|
|
737
|
+
service: 'dshMcpManager',
|
|
713
738
|
namespace: 'mcpManager',
|
|
714
739
|
method: 'release',
|
|
715
740
|
invocation: { kind: 'direct' },
|
|
@@ -720,7 +745,7 @@ export const TYPERT_REMOTE = {
|
|
|
720
745
|
source: 'json',
|
|
721
746
|
codec: {
|
|
722
747
|
mode: 'strict',
|
|
723
|
-
typeSymbol: '
|
|
748
|
+
typeSymbol: 'dsh-mcp/types#McpManagerReleaseRequest',
|
|
724
749
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_release_parameter_0$schema,
|
|
725
750
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_release_parameter_0$schema,
|
|
726
751
|
},
|
|
@@ -728,15 +753,15 @@ export const TYPERT_REMOTE = {
|
|
|
728
753
|
],
|
|
729
754
|
result: {
|
|
730
755
|
mode: 'strict',
|
|
731
|
-
typeSymbol: '
|
|
756
|
+
typeSymbol: 'dsh-mcp/types#McpManagerReleaseResult',
|
|
732
757
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_release_result$schema,
|
|
733
758
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_release_result$schema,
|
|
734
759
|
},
|
|
735
760
|
sourceLocation: {"file":"lib/index.js"},
|
|
736
761
|
},
|
|
737
762
|
{
|
|
738
|
-
id: '
|
|
739
|
-
service: '
|
|
763
|
+
id: 'dsh-mcp#mcpManager/oauthStart',
|
|
764
|
+
service: 'dshMcpManager',
|
|
740
765
|
namespace: 'mcpManager',
|
|
741
766
|
method: 'oauthStart',
|
|
742
767
|
invocation: { kind: 'direct' },
|
|
@@ -747,7 +772,7 @@ export const TYPERT_REMOTE = {
|
|
|
747
772
|
source: 'json',
|
|
748
773
|
codec: {
|
|
749
774
|
mode: 'strict',
|
|
750
|
-
typeSymbol: '
|
|
775
|
+
typeSymbol: 'dsh-mcp/types#McpManagerOAuthStartRequest',
|
|
751
776
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_parameter_0$schema,
|
|
752
777
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_parameter_0$schema,
|
|
753
778
|
},
|
|
@@ -755,15 +780,15 @@ export const TYPERT_REMOTE = {
|
|
|
755
780
|
],
|
|
756
781
|
result: {
|
|
757
782
|
mode: 'strict',
|
|
758
|
-
typeSymbol: '
|
|
783
|
+
typeSymbol: 'dsh-mcp/types#McpManagerOAuthStartResult',
|
|
759
784
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_result$schema,
|
|
760
785
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStart_result$schema,
|
|
761
786
|
},
|
|
762
787
|
sourceLocation: {"file":"lib/index.js"},
|
|
763
788
|
},
|
|
764
789
|
{
|
|
765
|
-
id: '
|
|
766
|
-
service: '
|
|
790
|
+
id: 'dsh-mcp#mcpManager/oauthStatus',
|
|
791
|
+
service: 'dshMcpManager',
|
|
767
792
|
namespace: 'mcpManager',
|
|
768
793
|
method: 'oauthStatus',
|
|
769
794
|
invocation: { kind: 'direct' },
|
|
@@ -774,7 +799,7 @@ export const TYPERT_REMOTE = {
|
|
|
774
799
|
source: 'json',
|
|
775
800
|
codec: {
|
|
776
801
|
mode: 'strict',
|
|
777
|
-
typeSymbol: '
|
|
802
|
+
typeSymbol: 'dsh-mcp/types#McpManagerOAuthStatusRequest',
|
|
778
803
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_parameter_0$schema,
|
|
779
804
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_parameter_0$schema,
|
|
780
805
|
},
|
|
@@ -782,7 +807,7 @@ export const TYPERT_REMOTE = {
|
|
|
782
807
|
],
|
|
783
808
|
result: {
|
|
784
809
|
mode: 'strict',
|
|
785
|
-
typeSymbol: '
|
|
810
|
+
typeSymbol: 'dsh-mcp/types#McpManagerOAuthStatusResult',
|
|
786
811
|
schema: _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema,
|
|
787
812
|
create: () => _deepseek_ai_dsh_mcp_manager_mcpManager_oauthStatus_result$schema,
|
|
788
813
|
},
|