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

johndfowler /

johndfowler/dsh-iphone-mode

已验证

这个插件还没有填写简介。

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: master@45bb31dc

dsh-iphone-mode

Mobile/touch optimizations for the DeepSeek Harness (DSH) Web GUI — makes the harness genuinely usable from a phone browser (e.g. over Tailscale).

What it fixes

Problem on iPhone Fix
iOS Safari zooms into any input under 16px on focus (composer, search boxes) and the layout never recovers font-size: 16px on all inputs under @media (pointer: coarse) — desktop untouched
Content hidden under the notch / home indicator viewport-fit=cover + env(safe-area-inset-*) body padding (portrait bottom, landscape sides)
Tiny touch targets gentle 36px minimums on buttons/options under coarse pointers
Stock GUI dialogs render off-viewport at desktop width on a phone (Commands palette "doesn't work" — it opens, you just can't see it; menus clip both edges) viewport clamp: every [class*="_dialog_"] capped to calc(100vw - 24px) on narrow screens, with 16px inputs inside them too

Pure client-side plugin: injects one <style> tag and ensures the viewport meta allows cover fitting. No server-side work.

Install

cd /path/to/your-dsh-profile   # e.g. ~/.dsh/profiles/web
pnpm add github:johndfowler/dsh-iphone-mode
# append "dsh-iphone-mode" to dsh.profile.bundles in package.json
# restart `dsh web`

Pairs with (the mobile stack)

  • dsh-voice — voice dictation mic (shared composer-tools toolbar)
  • dsh-photos — photo upload via the stock paste pipeline
  • dsh-serena-lens — Serena dashboard lens panel
  • dsh-model-search — searchable model picker with viewport-clamped sheets
  • dsh-draft-shield — blocks page translation from wiping composer drafts

License

MIT

—/ 5

暂无评分

已验证 DSH bundle

Commit 45bb31dcb50e

社区评论

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

DSH HUB

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

社区资源API关于