Installation
npx -y @deepseek-ai/dsh plugin --profile web add github:jiesou/dsh-webui-fix-packThis installation command is an unverified starting point generated from the GitHub repository address.
README
Maintainer-authored documentation snapshot.
dsh-webui-fix-pack
修复 Web UI 的各种小 bug 和不合理的地方
这个 plugin 包基于 dsh 原始的 webui,修补了各种小 bug,能让使用体验舒服很多!
dsh 本身的 webui 做的已经还不错了,为了兼容现有的各种插件生态,没有选择自己从头做一个 webui,而是尽可能通过各种方式修补现有 webui 中不合理的地方
设计目标是让 plugin 的作用域尽可能的小,代码尽可能少且干净。plugin 也都是纯前端,纯 client-half 的,不涉及 node-half 和外部依赖
但因为只能注入前端 JS 之类的,因此有些实现会有点 hacky。毕竟官方来修这些问题会容易很多!
安装
从 GitHub 安装:
dsh plugin --profile web add "github:jiesou/dsh-webui-fix-pack#<ref>&path:/bundles/dsh-webui-fix-pack"
bundle 层安装后需要重启 web 生效。
你可以安装整个 dsh-webui-fix-pack,也可以单独安装某插件,
如需在 pack 中单独禁用某插件,在 profile 的 cordis.patch.yml 按 id 覆盖即可。
Plugins
composer-focus-restore
目录:plugins/dsh-webui-fix-composer-focus-restore
修复这个问题:
/models 等命令选择后,popup 框关闭,消息框焦点会跑走的,必须再点一下消息框,才能接着打字
session-row-context-menu
目录:plugins/dsh-webui-fix-session-row-context-menu
会话列表中,必须要鼠标瞄准小小的“三个点”,左键才能打开菜单,很麻烦
现在可以在任意位置右键打开
double-enter-to-steer
目录:plugins/dsh-webui-fix-double-enter-to-steer
有 queue 消息时,再按一次 Enter 直接把 queue 消息写入 steering 消息
实现“单击回车 queue”,“双击回车 steering”
hide-session-log
目录:plugins/dsh-webui-fix-hide-session-log-btn
右上角的 save Session log 按钮很少用到,却占很大的屏幕空间。尤其是在移动设备上很难受
真的需要的时候也可以通过 /export 命令,不需要这个按钮
因此隐藏这个按钮,同时回收它占用的标题栏空间
mobile-enter-newline
目录:plugins/dsh-webui-fix-mobile-enter-newline
需要搭配 lehhair/dsh-mobile 使用
移动端软键盘下 Enter 改为插入换行而不是发送消息,桌面行为保持不变。
mobile-keyboard-blur
目录:plugins/dsh-webui-fix-mobile-keyboard-blur
需要搭配 lehhair/dsh-mobile 使用
切到侧栏页面时收起聊天输入框焦点,避免 WebView 在键盘收起后又把软键盘弹回来,软键盘鬼畜
依赖策略
聚合包 package.json 的 dependencies 永远写 latest,不做本地路径替换。
本地开发由 web profile 的 devDependencies link 覆盖:6 个子插件指向本仓库 plugins/ 目录,改源码即时生效,且不进入 dependencies,dsh plugin reconcile 不会把它们加回 bundles。
Repository information
- Language
- JavaScript
- License
- MIT
- Last updated
- Aug 18, 2026, 2:35 PM
Install deliberately
Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.