dsh-settings-tuner
System parameter adjustment UI: grouped settings page for timeouts, parallelism, LLM retry policy, model params, web search, permissions and presets; safe profile-config editing with line-level YAML matching and post-write validation.
安装
dsh plugin --profile web add github:semidia/dsh-settings-tuner
需要可复现安装时,可在仓库后追加 #commit 固定提交。
System parameter adjustment UI: grouped settings page for timeouts, parallelism, LLM retry policy, model params, web search, permissions and presets; safe profile-config editing with line-level YAML matching and post-write validation.
该插件未提供要点说明,请参考仓库 README。
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/semidia/dsh-settings-tuner |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-17 |
| 收录日期 | 2026-09-19 |
| 分类 | 界面增强 |
事实信息来自公开插件目录快照(2026-10-03),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-settings-tuner DeepSeek Harness 系统参数调整插件:在设置页提供超时、并行、重试、模型、Web 搜索、权限等参数的调整 UI,全中文界面。 ## 功能 - **设置页「系统参数」**,分组调整: - **代理循环**:maxParallelToolCalls(最大并行工具数) - **命令行**:timeoutMs / maxTimeoutMs / maxOutputBytes(命令超时与输出限制) - **DeepSeek 模型**:maxTokens / reasoningEffort / thinking / streamIdleTimeoutMs / retryPolicy(重试次数与退避) - **默认模型**:provider / model / reasoningEffort - **Web 搜索**:maxTokens / maxUses - **权限预设**:defaultPreset - **智能体预设**:default - **未暴露参数**(写入 profile 配置,需重启):Web 搜索/抓取超时、文件搜索超时、glob/grep 结果数 - **UI**:中文标签、覆盖标记(●)、立即生效/需重启徽标、搜索过滤、分组折叠、应用/恢复默认按钮、前后端双重校验。 ## 架构 - **Host 半区**(`lib/index.js`):提供 RPC `config/read` / `config/write`,编辑 profile 的 `cordis.patch.yml` 中未暴露到 settings 系统的参数。**行级精确匹配** YAML(只匹配缩进 0 的顶层条目,跳过注释/insert 块/嵌套),写入后自动运行 `dsh --profile web --dump-config` 验证,失败从备份回滚。路径动态解析:`DSH_HOME` 环境变量定位 profile,`process.cwd()`(启动器以 harness 根为工作目录)定位部署根,可用 `DSH_HARNESS_ROOT` / `DSH_PROFILE_DIR` 覆盖。 - **Client 半区**(`lib/client.js`):设置页 UI。已暴露参数通过 `connection.api.settings` 直接读写(`installSettingsSection` 注册的命名空间改后即时生效);未暴露参数通过 Host RPC 写入配置。 ## 安装 ```powershell # 1. 建 junction New-Item -ItemType Junction -Path "$env:USERPROFILE\.dsh\profiles\web\node_modules\dsh-settings-tuner" -Target "本插件源码路径" # 2. 在 cordis.patch.yml 加 insert 条目 # - insert: # - id: dsh-settings-tuner # name: 'dsh-settings-tuner' # 3. 重启 dsh web ``` ## 开发 ```bash # 语法检查 node --check lib/index.js node --check lib/client.js # 行级 YAML 编辑逻辑测试(18 项) node test-line-yaml.cjs # 配置写入逻辑测试(9 项) node test-write-config.cjs ``` ## 许可 MIT
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。