Yui-Little/dsh-mobile-shell 预览 preview

Yui-Little/dsh-mobile-shell

DeepSeek Harness Web 的移动端 Shell UI 插件:覆盖式抽屉、全宽对话、设置面板、支持热加载安装的市场。

Project Overview项目介绍

This is a native DSH plugin built exclusively for mobile adaptation of DeepSeek Harness Web. It modifies the layout for narrow screens under 1024px, hiding the left rail and converting the directory menu into an overlay sliding drawer that is 280px wide. The conversation area is expanded to full viewport width, and the plugin adds multiple mobile-focused enhancements including a built-in plugin market, session status panel, adapted settings interface, and custom inference parameter configuration. As a pure client-side plugin, it does not alter any interface behavior on wide desktop screens when installed.

This plugin is designed for developers who want to use DeepSeek Harness Web on mobile devices like phones and tablets. After installation, the plugin automatically detects screen width and enables all adaptation features when a narrow screen is detected. Users can tap the floating button to open the directory drawer, access the built-in plugin market from the settings panel, filter plugins by category or sort them by update time or star count, and install selected plugins with one click that automatically hot-loads without requiring a DSH restart. The session status panel displays key metrics like step count, runtime, token usage, and TTFT for easy debugging.

The project is open-source under the MIT license, and pre-built output is checked into the repository, so installation only requires running a single command in your terminal. The only dependency for the plugin is a modern browser that supports the CSS :has() selector, which means Chromium 105 or newer is required. Note that one-click installation from the plugin market does not guarantee success due to network or build environment issues, so manual installation via the DSH CLI with the repository URL is recommended. Any animations are automatically disabled if the user has prefers-reduced-motion enabled in their browser settings.

这是专为 DeepSeek Harness Web 开发的原生移动端适配插件,针对宽度小于 1024px 的窄屏设备调整界面布局:隐藏左侧边栏,将目录改为侧滑抽屉展示,让会话区域独占整个屏幕宽度。除此之外,插件还新增了多个移动端增强功能,包括内置插件市场、会话状态面板、适配后的设置界面、自定义推理参数配置等。它是纯客户端插件,在宽屏设备上安装后也不会改变原有界面表现。

适合需要在手机、平板等移动设备上使用 DeepSeek Harness Web 的开发者安装使用。日常使用时,插件会自动检测屏幕宽度,在窄屏设备上启用所有适配功能,用户可以通过侧滑按钮唤出目录抽屉,从设置面板进入内置插件市场浏览筛选插件,也可以一键安装插件并自动热加载,不用重启 DSH 就能生效。会话状态面板会清晰展示各类运行指标,方便用户调试。

本项目采用 MIT 许可证开源,安装方式非常简单,只需要在终端执行 dsh plugin --profile web add github:Yui-Little/dsh-mobile-shell 即可完成安装并自动热加载生效。插件要求浏览器支持 :has() 选择器(即 Chromium 105 及以上版本),一键安装插件市场内的插件不保证一定成功,推荐复制仓库链接用命令行手动安装,prefers-reduced-motion 开启时会自动禁用所有动画。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:Yui-Little/dsh-mobile-shell

把 Yui-Little/dsh-mobile-shell 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-mobile-shell

DeepSeek Harness Web 的移动端外壳插件。窄屏(< 1024px)下隐藏左侧 rail、目录变为侧滑抽屉、会话区独占全宽,并附带插件市场、会话状态面板、设置适配、自定义推理参数等移动端增强。纯 client 插件,宽屏下与未安装时完全一致。

Release v0.1.8 License: MIT DSH

效果

会话主页(全宽) 目录抽屉 设置面板 插件市场
会话主页 目录抽屉 设置面板 插件市场

特性

移动端布局

  • 侧滑抽屉:窄屏隐藏左侧 rail,目录变为 overlay 侧滑抽屉(约 280px),点击会话行切换并自动收起,行内按钮(三点菜单等)不触发收起
  • 全宽会话:会话区独占视口宽度,消息文字 16px → 15px,左右留白 32px → 20px,行宽更充分
  • 避开摄像头:打开目录的浮动按钮置于左缘 y≈72px(摄像头带下方),不遮挡内容
  • 会话头部重排:移动端按 [目录按钮] [会话名称] [模式徽标] 排列
  • 状态栏适配:viewport 加 viewport-fit=cover,各表面按 env(safe-area-inset-top) 下移;theme-color 跟随主题自动切换;touch-action: manipulation 禁用双击放大与 300ms 延迟(保留双指缩放)

设置面板

  • 近全宽 Sheet:官方 800px 双栏弹窗改为近全宽底部 sheet,导航标签两行全可见、条目保持横向、Appearance 一行三选一、高度自适应、淡入动画
  • 白色卡片风格:设置项以白色区块分隔,整体扁平清爽
  • 插件市场入口:设置面板导航新增「Plugin Market」条目,点击进入内置插件市场页

插件市场

  • 分类下拉:按分类筛选插件
  • 排序:更新时间 / Star 两种排序,切换即时刷新
  • HH:mm 时间徽标:更新时间始终显示 HH:mm 格式
  • GitHub 风格 README 弹窗:点击插件卡片查看详情,README 以 GitHub 风格渲染
  • 一键安装即热加载:安装按钮触发 dsh plugin add,安装完成后自动热加载(无需重启),并通过 toast 提示结果
  • EN→ZH 翻译:README 支持中英语言切换,英文 README 自动翻译为中文(MyMemory 分块翻译 + LLM 兜底)

⚠️ 市场内一键安装不保证稳定成功(受网络 / 构建环境影响)。推荐复制仓库链接,直接用 dsh 命令安装(见下方安装)。

会话状态面板

  • Status 标签页:在会话头部新增 Status 标签(与 Chat / Trajectory 并列),展示轮数 / 步数 / 耗时 / TTFT / 缓存命中 / token 用量
  • 统计栏一行滚动:所有指标收进一条固定高度(28px)的横向滚动条,底部不被撑高

自定义推理参数

  • Reasoning Effort 配置:为自定义 provider 的模型添加 reasoning effort 选项(off / low / high / xhigh / max)
  • reasoningEfforts 自动回填:模型未声明 reasoningEfforts 时自动补全默认值
  • 协议切换安全:thinkingFormat / supportsReasoningEffort 等 completions 专属开关不再自动写入模型配置,provider 在 openai-completions / openai-responses 之间任意切换都不会触发保存校验报错

其他增强

  • 聊天字号调节:底部字号滑轨,实时调整消息文字大小并持久化
  • Enter 换行:输入框 Enter 换行、Shift+Enter 发送(移动端友好)
  • 附件折叠:[附件] 块折叠为原生 <details>,输入区不被撑高
  • 会话行三点菜单:长按或右键会话行弹出三点菜单(重命名 / Fork / 归档),菜单弹出时抽屉保持打开
  • 更新通知:插件版本更新后一次性 toast 提示「手机UI插件已更新 v0.1.0,本页已是新界面」
  • 中英双语:zh / en 两套 locale,UI 文案跟随系统语言

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev boardwise 下一个 Next dsh-ecc →