21hbguo/dsh-mobile-ui1

@dsh-external/dsh-mobile-ui

手机端 UI 适配:窄屏下把 DSH Web GUI 重构为全屏聊天布局(侧栏/右侧面板改为抽屉,顶部悬浮操作条 + 全屏按钮),默认 ≤860px 生效

包名
@dsh-external/dsh-mobile-ui
版本
0.1.0
许可证
BSD-3-Clause
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:21hbguo/dsh-mobile-ui

配置

两种方式等效(设置页优先):

  1. 设置页:设置 → 插件 → 「手机端 UI 适配」卡片,直接读写。
  2. settings.yaml:编辑 ~/.dsh/settings.yaml
mobile-ui:
  enabled: true
  breakpoint: 860

⚙️ 配置项

命名空间 mobile-ui(设置页卡片「手机端 UI 适配」,已声明 web: true 暴露):

字段类型默认说明
enabledbooleantrue总开关;关闭即卸载全部适配(样式/操作条/观察器)
breakpointnumber860视口宽度 ≤ 该值(px)时启用移动布局;范围 400–1280,步长 20

引擎内部将断点 clamp 到 320–1600px(防御异常配置)。