johndfowler/dsh-iphone-mode ↗★ 0
dsh-iphone-mode
DSH 移动端/触摸优化插件:解决 iOS 输入聚焦缩放、安全区遮挡及触摸面积过小问题
AI 分析
核心用途是提升手机浏览器访问 DSH 的操作体验。适合经常通过手机(如经 Tailscale 异地连接)使用 DSH 的移动端用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:johndfowler/dsh-iphone-mode说明文档
阅读完整 README ↗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 |
Pure client-side plugin: injects one `` 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 well with dsh-model-search (which gets a mobile bottom-sheet layout from v0.2.1) and dsh-draft-shield (mobile Safari translation also wipes composer drafts).
License
MIT