rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:MARYCOMPLEX/dsh-client-ui-mobile
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 ·
Mobile adaptation for the DeepSeek Harness Web GUI, packaged as a standard DSH client plugin.
The Web shell is desktop-first: a three-column frame with drag handles, hover affordances and 8px resize targets. On a phone it technically renders, but the conversation is squeezed next to a 56px rail and the composer fights the on-screen keyboard. This plugin turns the same URL into a usable phone interface — no fork, no patch to the shell, no build step.
Community plugin, not affiliated with DeepSeek. Built and tested against
@deepseek-ai/dsh0.2.1-rc.2.
Everything below applies at ≤ 768px viewport width; wider viewports are left untouched.
| Area | Behaviour |
|---|---|
| Frame | Three columns collapse to one; the centre gets the full width |
| Sidebar | Becomes an overlay drawer (min(86vw, 300px)) with a dimmed backdrop; tapping a session, a panel or the backdrop closes it |
| Bottom bar | 56px navigation: Chat / Sessions / Plugins (hidden when the Plugins panel is not registered) / Desktop |
| Desktop handles | The 8px col-resize handles are hidden — they are not touch targets |
| Right panel | Forced full-screen instead of a docked column |
| Composer | 16px inputs so iOS does not zoom on focus; the frame shrinks by the on-screen keyboard height via visualViewport |
| Layout | 100dvh heights, env(safe-area-inset-*) padding for notches and gesture bars |
| Wide content | pre and table scroll inside their own box instead of widening the page |
| Settings | The settings modal becomes a full-screen sheet; its 188px side nav turns into a horizontal, scrollable tab strip |
dsh plugin --profile web add github:MARYCOMPLEX/dsh-client-ui-mobile
Then open Settings → Plugins and enable the mobile-ui bundle. Enabling a bundle appends its patch layer, which inserts the loader row for you.
Pin a release for reproducibility:
dsh plugin --profile web add "github:MARYCOMPLEX/dsh-client-ui-mobile#v0.1.0"
If your profile runs with configuration HMR disabled, restart dsh web afterwards.
If you would rather not adopt the bundle, install the package and add the row yourself:
# <profile>/cordis.patch.yml
- insert:
- id: mobile-ui
name: "dsh-client-ui-mobile"
Either way the package must be installed in the profile (dsh plugin --profile <name> add …) so the loader can resolve dsh-client-ui-mobile from the profile's node_modules.
The adaptive layout is on by default and can be turned off without uninstalling anything:
localStorage under dsh-client-ui-mobile.enabled ("1" / "0").?dshm=off and ?dshm=on force the state and remember it. Use this if the adaptive layout itself ever makes a page hard to operate.A DSH client plugin runs in the same browser runtime as the shell, so it can extend the interface through documented seams only:
ctx.effect appends a <style> element to document.head and removes it on unload, the same mechanism dsh-client-ui-theme uses. Every rule is inside a media query and scoped to the frame the plugin tags, so the desktop layout is never affected by a partial mount.shell.bottom slot — the bar and the pill are ordinary React components registered into the frame's bottom row, so the bar participates in the frame's own grid instead of overlaying content.ctx.layout — the bar reads panelInfo to highlight the active panel and calls toggleSidebar() / selectPanel() for navigation.data-dshm-* attributes, because the shell's CSS-module class names are hashed per build (pI_x6G_frame).The drawer leaves normal flow (position: fixed). A CSS grid skips out-of-flow items during auto-placement, so without explicit pins the centre column slides into the first track — which is 0px wide — and the whole conversation disappears. The plugin pins all three columns:
[data-dshm-frame] > [data-dshm-col="sidebar"] { grid-column: 1; grid-row: 1 }
[data-dshm-frame] > [data-dshm-col="center"] { grid-column: 2; grid-row: 1; min-width: 0 }
[data-dshm-frame] > [data-dshm-col="rightbar"] { grid-column: 3; grid-row: 1; min-width: 0 }
The smoke test asserts this, so a future refactor cannot silently reintroduce a black screen.
0.2.x. The shell's breakpoints, slot names and ctx.layout surface are stable within a minor line, but a new release can still move things underneath.data-shell-bottom, data-sidebar-collapsed, data-rightbar-col, data-sidebar-right-open, plus the _handle class suffix.< 768, so the plugin adds a CSS full-screen fallback for the exact boundary.No build step and no dependencies — lib/client.js is the shipped browser bundle, written against the window.__ModuleLoader__ contract.
node test/smoke.mjs
The smoke test stubs React, the DOM and the cordis context, then asserts: module registration, stylesheet injection, shell.bottom registration, button set and copy, and the column pinning described above.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。