packages/dsh-remote-web-ui
zhu1090093659/dsh-web手机/PC 远程操控 dsh web 工作区:扫码配对、令牌门控通道、SSE 实时同步,提供移动端与完整桌面 GUI 两种远程形态。
DSH 移动端 UI 适配插件 - Overlay 抽屉导航、玻璃卡片设计、Safe Area 全覆盖、PWA 支持。
DSH Web 移动端 UI 完美适配插件 —— 整合多个移动端插件的最优设计,为 DeepSeek Harness 提供原生的移动端体验。
DSH 0.1.7 兼容(
>=0.1.7-rc.1):设置入口现在位于新版「插件页」(Plugins 页)的dsh-mobile-xc包内(plugins.bundle.config,与 modsearch / 官方 subagent 同款机制); 旧版「设置 → 插件」入口已随 0.1.7 设置系统重构移除。
dvh 单位,键盘弹出时自动调整| 断点 | 行为 |
|---|---|
| ≤1023px | 移动端适配激活 |
| ≥1024px | 桌面模式,零影响 |
与 DSH 内置 SIDEBAR_AUTO_COLLAPSE=1024 对齐,无缝切换。
# 使用 DSH CLI
dsh plugin --profile web add dsh-mobile-xc
# 或使用 npm
npm install dsh-mobile-xc
安装后重启 DSH 即可生效。
插件可通过 DSH 设置 → 「移动端 UI」分区进行配置:
| 选项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| swipeEnabled | boolean | true | 从屏幕左边缘右滑打开工作区抽屉 |
| dshmarketNavFix | boolean | true | 窄屏保留设置导航,防止市场页死路 |
| pwaEnabled | boolean | true | PWA 离线缓存 |
| drawerRefresh | boolean | false | 侧栏底部刷新入口(PWA 无下拉刷新时的手动刷新) |
| headerScroll | boolean | true | 页头标题与 PTC/用量徽标保持单行,溢出左右滑动 |
| turnRail | boolean | true | 对话右侧轮次刻度条:平时淡显,点击预览轮次、再点同一刻度跳转 |
| 包 | 验证版本 | 状态 |
|---|---|---|
| DSH (vendor) | 0.1.1-rc.2 | ✅ 18 条 selector 映射 |
| dshmarket | 1.20.x | ✅ 导航死路修复 |
| dsh-better-sidebar | 0.15.2 | ✅ 和平共存 |
| dsh-token-usage | 0.2.16 | ✅ 已注册兼容 |
pnpm install
pnpm verify # 类型检查 + lib 漂移检查
pnpm test # 单元测试
pnpm build # 构建产物