DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Perederey /

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

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@8fb6d4a3

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

—/ 5

暂无评分

已验证 DSH bundle

Commit 8fb6d4a3dfed

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于