Перейти к основному содержимому
M

dsh-mobile

mdalboni/dsh-mobile

Mobile viewport lock, overscroll containment, virtual keyboard resizing, and sidebar auto-retraction.

Установка

dsh plugin --profile web add github:mdalboni/dsh-mobile

README

dsh-mobile

Mobile viewport lock, overscroll containment, and virtual keyboard optimizations for DeepSeek Harness (DSH) Web GUI.

Screenshots

Mobile Chat ViewVirtual Keyboard OpenSidebar Open
Mobile Chat ViewVirtual KeyboardSidebar Open

Features

  • Viewport Lock: Prevents the page (html, body) from scrolling or bouncing into the empty black space below the application.
  • Overscroll Containment: Keeps scroll gestures inside [data-conversation-scroll] with overscroll-behavior-y: contain.
  • Virtual Keyboard Resizing: Configures interactive-widget=resizes-content so virtual keyboards resize the viewport cleanly instead of panning the page.
  • Sidebar Auto-Retraction: Automatically collapses the sidebar when tapping anywhere in the conversation area or selecting a session row on mobile.
  • Input Zoom Prevention: Enforces a minimum 16px font-size on text inputs for mobile viewports to prevent iOS and Android auto-zoom.

Installation

Add to your DSH web profile (~/.dsh/profiles/web/package.json):

{
  "dependencies": {
    "@mdalboni/dsh-mobile": "^1.0.0"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@mdalboni/dsh-mobile"
      ]
    }
  }
}

Or install via DSH CLI:

dsh plugin add @mdalboni/dsh-mobile

Or configure via cordis.patch.yml:

- id: dsh-mobile
  name: '@mdalboni/dsh-mobile'

License

MIT © Maxwell Dalboni

Похожие плагины