返回目录
模型与 MCP 插件

dsh-mobile-ui

Perederey/dsh-mobile-ui

Mobile-UI responsive layout plugin for DeepSeek Harness Web GUI: viewport detection, touch-friendly controls, bottom navigation bar, and adaptive conversation scaling

Stars
0
Forks
0
Issues
0
更新
3 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:Perederey/dsh-mobile-ui

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-mobile-ui

A responsive mobile-UI plugin for DeepSeek Harness.

GitHub: github.com/Perederey/dsh-mobile-ui

Makes the DSH Web GUI touch-friendly on phones and tablets by:

  • Detecting viewport size — publishes a mobile-viewport/change Event
  • Injecting responsive CSS — larger touch targets, full-width conversation, bottom-safe padding
  • Adding a bottom navigation bar — compact nav overlay for phone screens
  • Providing a mobileViewport Service — other plugins can read or subscribe to the current viewport state

Installation

dsh plugin --profile web add git+https://github.com/Perederey/dsh-mobile-ui.git
dsh web

Usage

Once installed and loaded, open the DSH Web GUI. The plugin activates automatically when the viewport is ≤ 768 px wide. Resize your browser or use Chrome DevTools device mode to test.

Other plugins can subscribe to viewport changes:

ctx.on('mobile-viewport/change', (state) => {
  if (state.size === 'compact') {
    // Adapt your UI for small screens
  }
})

Structure

src/
├── index.ts        # Host-side entry (minimal — just logs startup)
├── invariant.ts    # Type-level guards (stripped at build)
└── client/
    └── index.ts    # Client bundle: service, CSS, slot registration

TUTORIAL.md         # Full walkthrough for plugin developers

Requirements

  • DeepSeek Harness v0.1.0-rc.7 or later
  • React 18 (bundled with the DSH web frontend)

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。