DeepSeek Harness Plugin

mexiaosqwq/dsh-web-mobile

Stars ★ 2 Category UI Enhancements Added 2026-08-15

Mobile-adaptive layout for the DSH Web UI: the sidebar becomes a content-hugging overlay drawer, the conversation gets the full width, and the settings panel becomes a near-full-width sheet.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:mexiaosqwq/dsh-web-mobile

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

dsh-web-mobile

DeepSeek Harness Web UI 移动端适配:窄屏(< 1024px)隐藏左侧 rail,目录变为 overlay 抽屉,会话区独占全宽。纯 client 插件,宽屏下与未安装时一致。

Release v0.1.6 License: MIT DSH

效果

会话主页(全宽) 目录抽屉 设置界面
移动端会话主页 目录抽屉 移动端设置界面

特性

  • 会话全宽:网格改为 1fr 0 0,目录抽屉 overlay 滑入,宽度贴合侧栏内容(约 280px),关闭后完全移出视口,左侧无阴影残留;
  • 避开摄像头:不做顶部预留空间,打开目录的浮动按钮放在左缘 y=72px(摄像头带下方);
  • 会话头部重排:移动端按 [目录按钮] [会话名称] [模式徽标] 排列;Session log 胶囊移到抽屉底部(Settings 旁),复用官方下载逻辑;
  • 设置界面适配:官方 800px 双栏弹窗改为近全宽 sheet——导航标签两行全可见、条目保持横向、Appearance 一行三选一、高度自适应、淡入动画;导出对话框保持官方居中卡片;
  • 正文排版:消息文字 16px → 15px,左右留白 32px → 20px,行宽更充分;抽屉列表与输入框文字不受影响;
  • 输入框防重叠:agent 权限胶囊(盾牌)与模型名不再重叠。

安装

dsh plugin --profile web add github:mexiaosqwq/dsh-web-mobile

仓库自带构建产物,一条命令直接安装,无 allowBuilds 拦截。装完重启 dsh web

本地开发:dsh plugin --profile web add link:/path/to/dsh-web-mobile

构建

pnpm install
pnpm build

产物 lib/ 与源码同步入库,改动源码后重新构建再提交。

验证

  • pnpm verify 类型检查;dsh --profile web --dump-config 应出现插件层;
  • 移动端(390px):rail 消失、抽屉开合/遮罩/Escape、设置弹窗适配;
  • 桌面端(≥1024px):与未安装时一致。

兼容性

需要 :has()(Chromium 105+);prefers-reduced-motion: reduce 下自动禁用动画。

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →