前言¶
DSH 的理念是「一切皆插件」,但 DSH Web 在窄屏下仍会保留桌面布局:左侧 rail 占位,目录与会话区共用横向空间,手机上看起来比较局促。
dsh-mobile-shell 是面向这个场景的外壳插件:窄屏(< 1024px)下隐藏左侧 rail,目录变为侧滑抽屉,会话区独占全宽。
这是什么¶
一句话定位:dsh-mobile-shell 是 DeepSeek Harness Web 的移动端外壳插件,用于改善窄屏下的目录、会话、设置面板和插件市场体验。
当前已核实资料中的版本为 v0.1.8,许可证为 MIT。仓库地址为:
https://github.com/Yui-Little/dsh-mobile-shell
安装命令中的 owner 为 Yui-Little;已核实资料中未见独立的维护者字段。
核心能力¶
窄屏布局¶
插件在窄屏下调整 DSH Web 的布局:
- 隐藏左侧 rail
- 目录变为约 280px 的 overlay 侧滑抽屉
- 会话区独占视口宽度
- 移动端状态栏适配,避开摄像头位置
- 会话头部重排
设置面板与插件市场¶
设置面板改为近全宽底部 sheet。
插件内还包含内置插件市场,支持:
- 分类筛选
- 按更新时间排序
- 按 Star 排序
- GitHub 风格 README 弹窗
- 一键安装触发
dsh plugin add - 安装完成后自动热加载
已核实资料明确说明:市场内一键安装不保证稳定成功,推荐复制仓库链接后直接用 dsh 命令安装。
会话状态与推理参数¶
会话头部新增 Status 标签页,展示:
- 轮数
- 步数
- 耗时
- TTFT
- 缓存命中
- token 用量
对于自定义 provider 模型,插件还添加 Reasoning Effort 配置,可选值为:
off / low / high / xhigh / max
其他移动端增强¶
已核实特性还包括:
- 聊天字号调节
- Enter 换行
- 附件折叠
- 会话行三点菜单
- 中英双语
宽屏下,该插件与未安装时完全一致。
安装与启用¶
安装命令:
dsh plugin --profile web add github:Yui-Little/dsh-mobile-shell
已核实资料说明仓库自带构建产物,安装后即热加载生效,无需重启。
本地开发可使用:
dsh plugin --profile web add link:/path/to/dsh-mobile-shell
构建与验证¶
从源码本地构建:
pnpm install
pnpm build
验证:
pnpm verify
dsh --profile web --dump-config
pnpm verify 用于类型检查;dsh --profile web --dump-config 应出现插件层。
典型用法¶
下面是已核实用法中的可复现步骤:
1、安装插件:
dsh plugin --profile web add github:Yui-Little/dsh-mobile-shell
2、在窄屏(< 1024px)下打开 DSH Web:
- 左侧 rail 隐藏
- 目录以侧滑抽屉打开
- 会话区使用全宽
- 设置面板以底部 sheet 展示
3、在宽屏(≥ 1024px)下打开:
- 布局与未安装时一致
4、如果本地开发:
dsh plugin --profile web add link:/path/to/dsh-mobile-shell
pnpm install
pnpm build
pnpm verify
dsh --profile web --dump-config
适用场景与注意¶
适合:
- 在手机上使用 DSH Web
- 在窄屏浏览器中使用 DSH Web
- 希望目录侧滑、设置面板底部化、会话区全宽
- 希望看到会话状态指标
- 希望为自定义 provider 模型配置 Reasoning Effort
注意:
- 插件以当前
dsh进程权限运行,安装前应检查源码与许可证 - 需要
:has()选择器,已核实兼容范围为 Chromium 105+ prefers-reduced-motion: reduce下自动禁用动画- 市场内一键安装不保证稳定成功,推荐用
dsh命令安装 - 许可证为 MIT
- 已核实资料提到方案引用
mexiaosqwq/dsh-web-mobile(MIT)
链接¶
目录页 URL 未出现在已核实资料中,因此不在此列出。
GitHub 仓库:
https://github.com/Yui-Little/dsh-mobile-shell