@czj-git/dsh-plugin-hub
提供原生设置页插件中心与检索工具 适合需要直接在设置中搜索、安装和管理插件的Web端用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:czj-git/dsh-plugin-hub說明文件
閱讀完整 README ↗配置
Bundle 默认配置:
- id: dsh-plugin-hub
name: '@czj-git/dsh-plugin-hub'
config:
baseUrl: https://dshpluginhub.dev
locale: en
timeoutMs: 15000
maxResults: 10
profile: web
taskTimeoutMs: 600000
taskKillGraceMs: 5000
taskHistoryLimit: 50
taskLogBytes: 65536
npmRegistryUrl: https://registry.npmjs.org
githubApiUrl: https://api.github.com
| 字段 | 类型 | 默认值 | 约束与行为 |
|---|---|---|---|
baseUrl | string | https://dshpluginhub.dev | API 服务地址;只接受 HTTP(S),不能包含用户名、密码、查询参数或 URL 片段,末尾 / 会被移除。 |
locale | zh | en | en | 工具调用没有传入 locale 时使用的描述语言。 |
timeoutMs | integer | 15000 | 每次 HTTP 请求的超时,范围为 1–120000 毫秒。 |
maxResults | integer | 10 | 工具允许的最大 limit,范围为 1–50;同时也是每次调用的默认 limit。 |
profile | string | web | 已安装页读取的 Harness profile;必须是单个安全路径段。 |
taskTimeoutMs | integer | 600000 | 单个生命周期命令超时,范围为 1000–3600000 毫秒。 |
taskKillGraceMs | integer | 5000 | 发出终止信号后等待强制终止的时间,范围为 100–30000 毫秒。 |
taskHistoryLimit | integer | 50 | 保留的终态任务数量,范围为 1–200;活动任务不受此限制。 |
taskLogBytes | integer | 65536 | 每个任务保留的脱敏日志上限,范围为 1024–1048576 字节。 |
npmRegistryUrl | string | https://registry.npmjs.org | 高级安装查询 npm 元数据的 HTTP(S) 服务地址。 |
githubApiUrl | string | https://api.github.com | 高级安装解析公开 GitHub 引用与清单的 HTTP(S) API 地址。 |
后续 profile patch 覆盖配置时需要完整重述该行的全部 config 字段,因为 Cordis patch 替换整个配置对象而不是深度合并。