haiyoucuv/dsh-chat-tweaks

haiyoucuv★ 1TypeScriptLast synced: 2026-08-17

Open on GitHub

DSH web UI-tweak plugin: show the provider display name next to the model name in the composer model seat, remove the chat column max-width, and more — every feature has its own switch on a dedicated Settings page. / DSH web 界面美化插件:在模型选择器显示厂商名、取消对话列最大宽度等,每个功能都在独立的「设置 → 聊天增强」页中开关。

README excerpt

dsh-chat-tweaks DeepSeek Harness 的界面美化插件:在模型选择器显示 厂商名 、取消对话内容 最大宽度 等,每个功能都在独立的 设置 → 聊天增强 页面中独立开关,全部即时生效、无需重启。 A UI-tweak plugin for the DeepSeek Harness: show the provider display name in the composer model seat, remove the chat column max-width , and more — every feature has its own switch on a dedicated Settings → Chat Tweaks page, applied live without a restart. 中文 English 功能 开关 效果 显示厂商名 模型选择器(输入框旁的模型座位)同时显示 provider 显示名与模型名,区分不同厂商下的同名模型(如 DeepSeek · DeepSeek-V4-Flash ) 取消内容最大宽度 消息列不再受 748px ( --dsh-chat-content-width )限制,占满可用空间 所有功能以注册表( src/client/features.ts )组织, 新增一个 UI 功能 = 加一条注册项 + 两句文案 ,设置页自动多出一个开关(见扩展指南)。 截图 设置 → 聊天增强(独立设置页): 模型座位显示厂商名: 安装 也可以直接在 profile 目录用 pnpm 安装: ⚠️ 旧版 dsh-model-provider-label 已停止维护 :其「显示厂商名」功能已并入本插件。如果你安装过旧版,请先卸载——二者都占用 conversation.input.model 单槽位、优先级同为 -100 ,共存会抛错: 旧版插件说明与历史版本见指南: 安装后 重启 dsh web (Ctrl+C 后重新运行 dsh web ),使浏览器端加载新插件 bundle。 暴露设置命名空间(必需,一次性) ⚠️ 这是本版本 DSH 的已知限制:浏览器可读写的设置命名空间被硬编码在 dsh-host-apiproxy 的 WEB SETTINGS NAMESPACES 白名单里。 不执行本步骤时,设置页的开关会显示为禁用、写入失败 (错误码 settings-not-exposed )。 执行插件自带的幂等补丁脚本(profile 重装或 dsh 升级后可重跑): 然后 再次重启 dsh web 。之后开关即可正常读写,值持久化在 /.dsh/settings.yaml 。 使用 打开 设置 → 聊天增强 ,按需切换: - 显示厂商名 :开 / 关模型座位上的厂商名前缀; - 取消内容最大宽度…

View full README on GitHub →
Skins / UIdeepseek-harnessdshdsh-pluginweb ui

Category