dsh-mcp-panel 0.5.1 → 0.6.0
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 +6 -0
- package/README.es.md +2 -0
- package/README.hi.md +2 -0
- package/README.md +4 -0
- package/README.pt.md +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +13 -1
- package/lib/client.js.map +1 -1
- package/lib/index.js +327 -9
- package/lib/typert.host.js +13 -1
- package/lib/types/aggregate.d.ts +2 -0
- package/lib/types/aggregate.d.ts.map +1 -1
- package/lib/types/catalog.d.ts +78 -0
- package/lib/types/catalog.d.ts.map +1 -0
- package/lib/types/client/remote.d.ts +12 -0
- package/lib/types/client/remote.d.ts.map +1 -1
- package/lib/types/config-io.d.ts +51 -0
- package/lib/types/config-io.d.ts.map +1 -0
- package/lib/types/config.d.ts +5 -0
- package/lib/types/config.d.ts.map +1 -1
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/service.d.ts +21 -1
- package/lib/types/service.d.ts.map +1 -1
- package/lib/types/typert.host.d.ts +12 -0
- package/lib/types/typert.host.d.ts.map +1 -1
- package/lib/types/wire.d.ts +61 -0
- package/lib/types/wire.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/aggregate.ts +4 -1
- package/src/catalog.ts +223 -0
- package/src/config-io.ts +106 -0
- package/src/config.ts +14 -0
- package/src/index.ts +7 -0
- package/src/probe.ts +1 -1
- package/src/service.ts +37 -0
- package/src/wire.ts +38 -0
package/CHANGELOG.md
CHANGED
package/README.es.md
CHANGED
|
@@ -131,6 +131,7 @@ Todas las opciones son campos Schemastery `Config` (modificables desde cordis.ym
|
|
|
131
131
|
| `trialMaxResultChars` | `60000` | Tope del payload de resultado de prueba en caracteres |
|
|
132
132
|
| `writeEnabled` | `true` | Interruptor de seguridad: `false` rechaza toda escritura (copiar sigue funcionando) |
|
|
133
133
|
| `backupCount` | `5` | Copias de `cordis.patch.yml` retenidas por escritura |
|
|
134
|
+
| `catalogEntries` | `[]` | Superposición de usuario para el directorio recomendado: anexa entradas; una entrada con el mismo `id` reemplaza la integrada |
|
|
134
135
|
|
|
135
136
|
## Tools & surfaces
|
|
136
137
|
|
|
@@ -182,6 +183,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test && pnpm run build && pn
|
|
|
182
183
|
|
|
183
184
|
- [@PerryLink](https://github.com/PerryLink) — creador y mantenedor.
|
|
184
185
|
- [@xiaoyuyu6420](https://github.com/xiaoyuyu6420) — diagnosticó las devDependencies de client faltantes detrás de los fallos de build en checkouts limpios (PR #5).
|
|
186
|
+
- [@feiler0](https://github.com/feiler0) — contribuyó la sonda de servidores MCP stdio (un handshake MCP initialize sobre stdin/stdout) (PR #7, fusionada como PR #15).
|
|
185
187
|
|
|
186
188
|
## PerryLink DSH Plugin Family
|
|
187
189
|
|
package/README.hi.md
CHANGED
|
@@ -131,6 +131,7 @@ dsh --profile web --dump-config | grep -A3 'id: mcp-panel'
|
|
|
131
131
|
| `trialMaxResultChars` | `60000` | ट्रायल परिणाम payload की सीमा (वर्ण) |
|
|
132
132
|
| `writeEnabled` | `true` | कठोर स्विच: `false` हर प्रोफ़ाइल लेखन अस्वीकार करता है (कॉपी फिर भी चलती है) |
|
|
133
133
|
| `backupCount` | `5` | प्रति लेखन रखे गए `cordis.patch.yml` बैकअप |
|
|
134
|
+
| `catalogEntries` | `[]` | अनुशंसित निर्देशिका के लिए उपयोगकर्ता ओवरले: प्रविष्टियाँ जोड़ता है; समान `id` वाली प्रविष्टि अंतर्निहित को बदल देती है |
|
|
134
135
|
|
|
135
136
|
## Tools & surfaces
|
|
136
137
|
|
|
@@ -182,6 +183,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test && pnpm run build && pn
|
|
|
182
183
|
|
|
183
184
|
- [@PerryLink](https://github.com/PerryLink) — निर्माता और अनुरक्षक।
|
|
184
185
|
- [@xiaoyuyu6420](https://github.com/xiaoyuyu6420) — क्लीन-चेकआउट बिल्ड विफलताओं के पीछे की गुम client devDependencies का निदान किया (PR #5)।
|
|
186
|
+
- [@feiler0](https://github.com/feiler0) — stdio MCP सर्वर प्रोब (stdin/stdout पर एक MCP initialize हैंडशेक) का योगदान दिया (PR #7, PR #15 के रूप में मर्ज हुआ)।
|
|
185
187
|
|
|
186
188
|
## PerryLink DSH Plugin Family
|
|
187
189
|
|
package/README.md
CHANGED
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
- **`/mcp <server> call <tool> [json]`** — trial-call through the **official tool pipeline** (`ctx.tools.execute()`); pre-execute permission policy, approval, guards, and post-execute all apply.
|
|
41
41
|
- **Settings → Plugins → MCP tab** — status cards with badges, diagnostics, and probes, plus the server CRUD and the tool trial console.
|
|
42
42
|
- **Server CRUD** — add/edit/remove forms → `insert`/`set`/`set disabled` fragments → clipboard copy or approval-gated write with automatic backups.
|
|
43
|
+
- **Recommended directory** — a built-in community MCP server catalog (filesystem, git, github, fetch, playwright, …) served in the snapshot; `catalogEntries` appends/overrides entries, and `catalogToConfigInput` turns one into a one-click add.
|
|
44
|
+
- **Config import/export** — `exportConfigs()` serializes the server rows to a versioned JSON document (a `!!js` row exports as `null` with a reason), and `importPreview()` parses an export back into per-server `add` patch fragments for review.
|
|
43
45
|
- **Tool trial console** — server → `mcp__*` tool → JSON args → canonical JSON result + rendered content; capped by `trialMaxResultChars`; panel-only, never model context.
|
|
44
46
|
|
|
45
47
|
## Architecture: official client = bridge, this plugin = console
|
|
@@ -132,6 +134,7 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). `cord
|
|
|
132
134
|
| `trialMaxResultChars` | `60000` | Cap on the trial result payload in chars |
|
|
133
135
|
| `writeEnabled` | `true` | Kill switch: `false` rejects every profile write (copy still works) |
|
|
134
136
|
| `backupCount` | `5` | `cordis.patch.yml` backups retained per write |
|
|
137
|
+
| `catalogEntries` | `[]` | User overlay for the recommended server directory: entries append, an entry with the same `id` replaces the built-in one |
|
|
135
138
|
|
|
136
139
|
## Tools & surfaces
|
|
137
140
|
|
|
@@ -183,6 +186,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test && pnpm run build && pn
|
|
|
183
186
|
|
|
184
187
|
- [@PerryLink](https://github.com/PerryLink) — creator and maintainer.
|
|
185
188
|
- [@xiaoyuyu6420](https://github.com/xiaoyuyu6420) — diagnosed the missing client devDependencies behind clean-checkout build failures (PR #5).
|
|
189
|
+
- [@feiler0](https://github.com/feiler0) — contributed the stdio MCP server probe (one MCP initialize handshake over stdin/stdout) (PR #7, merged as PR #15).
|
|
186
190
|
|
|
187
191
|
## PerryLink DSH Plugin Family
|
|
188
192
|
|
package/README.pt.md
CHANGED
|
@@ -131,6 +131,7 @@ Todas as opções são campos Schemastery `Config` (modificáveis a partir do co
|
|
|
131
131
|
| `trialMaxResultChars` | `60000` | Teto do payload do resultado de teste em caracteres |
|
|
132
132
|
| `writeEnabled` | `true` | Interruptor de segurança: `false` rejeita toda gravação (copiar continua funcionando) |
|
|
133
133
|
| `backupCount` | `5` | Backups de `cordis.patch.yml` retidos por gravação |
|
|
134
|
+
| `catalogEntries` | `[]` | Sobreposição do usuário para o diretório recomendado: anexa entradas; uma entrada com o mesmo `id` substitui a integrada |
|
|
134
135
|
|
|
135
136
|
## Tools & surfaces
|
|
136
137
|
|
|
@@ -182,6 +183,7 @@ O `scripts/verify-headless.mjs` inicia o perfil web real e imprime a saída exat
|
|
|
182
183
|
|
|
183
184
|
- [@PerryLink](https://github.com/PerryLink) — criador e mantenedor.
|
|
184
185
|
- [@xiaoyuyu6420](https://github.com/xiaoyuyu6420) — diagnosticou as devDependencies de client ausentes por trás das falhas de build em checkouts limpos (PR #5).
|
|
186
|
+
- [@feiler0](https://github.com/feiler0) — contribuiu com a sonda de servidores MCP stdio (um handshake MCP initialize via stdin/stdout) (PR #7, mesclada como PR #15).
|
|
185
187
|
|
|
186
188
|
## PerryLink DSH Plugin Family
|
|
187
189
|
|
package/README.zh.md
CHANGED
|
@@ -131,6 +131,7 @@ dsh --profile web --dump-config | grep -A3 'id: mcp-panel'
|
|
|
131
131
|
| `trialMaxResultChars` | `60000` | 试用结果载荷上限(字符) |
|
|
132
132
|
| `writeEnabled` | `true` | 总开关:`false` 拒绝一切 profile 写入(仍可复制片段) |
|
|
133
133
|
| `backupCount` | `5` | 每次写入保留的 `cordis.patch.yml` 备份数 |
|
|
134
|
+
| `catalogEntries` | `[]` | 推荐服务器目录的用户覆盖:追加条目,同 `id` 的条目替换内置条目 |
|
|
134
135
|
|
|
135
136
|
## Tools & surfaces
|
|
136
137
|
|
|
@@ -182,6 +183,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test && pnpm run build && pn
|
|
|
182
183
|
|
|
183
184
|
- [@PerryLink](https://github.com/PerryLink) —— 创建者与维护者。
|
|
184
185
|
- [@xiaoyuyu6420](https://github.com/xiaoyuyu6420) —— 诊断出干净 checkout 构建失败背后缺失的 client devDependencies(PR #5)。
|
|
186
|
+
- [@feiler0](https://github.com/feiler0) —— 贡献了 stdio MCP 服务器探测(通过 stdin/stdout 完成一次 MCP initialize 握手)(PR #7,以 PR #15 合并)。
|
|
185
187
|
|
|
186
188
|
## PerryLink DSH Plugin Family
|
|
187
189
|
|
package/lib/client.js
CHANGED
|
@@ -5725,7 +5725,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5725
5725
|
timeoutMs: number().int(),
|
|
5726
5726
|
maxResultChars: number().int()
|
|
5727
5727
|
}),
|
|
5728
|
-
writeEnabled: boolean()
|
|
5728
|
+
writeEnabled: boolean(),
|
|
5729
|
+
catalog: array(object({
|
|
5730
|
+
id: string(),
|
|
5731
|
+
name: string(),
|
|
5732
|
+
description: string(),
|
|
5733
|
+
transport: union([literal("stdio"), literal("streamable-http")]),
|
|
5734
|
+
command: string().optional(),
|
|
5735
|
+
args: array(string()).optional(),
|
|
5736
|
+
url: string().optional(),
|
|
5737
|
+
envKeys: array(string()).optional(),
|
|
5738
|
+
headerKeys: array(string()).optional(),
|
|
5739
|
+
tags: array(string()).optional()
|
|
5740
|
+
}))
|
|
5729
5741
|
});
|
|
5730
5742
|
/**
|
|
5731
5743
|
* The `mcpPanel/status` invocation descriptor, shared verbatim by the host
|