Preface¶
The DeepSeek Harness (DSH) web interface is designed with a desktop layout. On narrow-screen phones, the left-side conversation sidebar crowds out the main content area, and its expand/collapse lacks common mobile interaction patterns. The community has had solutions like dsh-web-mobile; dsh-kimi-shell became an independent mobile shell starting from v0.3 — single-plugin installation with no additional dependencies — transforming the conversation drawer into a Kimi-style bottom sliding overlay. Desktop is fully isolated and unaffected via media queries and pointer types.
The following introduces the plugin’s positioning, capability boundaries, installation methods, and debugging key points. Facts are based on the GitHub repository README.
What This Is¶
dsh-kimi-shell is a Web client plugin for DSH (maintainer Bill-666code), aimed at the mobile browser scenario of dsh-web: under touch-screen, narrow-screen conditions, it presents the conversation sidebar as a 100vw × 82dvh bottom overlay (rounded top corners, grabber, scrim), with a FAB in the bottom-right corner as the sole entry point; the overlay auto-collapses after selecting a conversation or tapping the scrim. The plugin uses its own data-kimi-* namespace, does not patch host components, and does not write host logic.
It falls under the client-side transformation category; it has no subordination relationship with official DeepSeek / High-Flyer (幻方). Installation sources are the community directory and GitHub. Users should review the source code and MIT license before use.
Core Features¶
Bottom Overlay & Conversation Entry¶
The overlay open/close uses display semantics bound to the host’s data-sidebar-collapsed, avoiding the host’s modal freeze mechanism pinning the transition animation midway. In the collapsed state, only the system-color-adaptive FAB remains; when expanded, the list fills the full width with touch rows of approximately 44px height, workspace grouping changes to compact section headers, and the brand row is hidden.
v0.5.0: Project Rows & Renaming¶
The host only shows “New Conversation” and other buttons on folder rows via :hover, which touchscreen devices cannot trigger. The plugin always shows a 34px new button at the end of folder rows; tapping creates a new conversation in the corresponding folder. The ⋯ menu with delete workspace and other operations within the same container remains hidden, and archive/pin on conversation rows likewise remains unchanged, reducing accidental touches.
The host binds “double-click title” to rename, and quick taps on phones can easily trigger it accidentally. The plugin intercepts real double-clicks and changes to long-press the conversation row for 500ms (short vibration) to trigger native rename; releasing no longer switches the conversation as a side effect.
v0.4.0: Mobile-optimized Settings Dialog¶
The desktop two-column settings window changes to a near-fullscreen single column: top categories become horizontally scrollable pill tabs, content scrolls vertically at full width, and the three theme options are arranged horizontally with equal widths. The scope is anchored to :has(> nav); small dialogs like rename/delete confirmation retain host styles and are uniformly layered above the overlay.
Input Method, Theme & Viewport¶
No longer auto-focuses the input field after switching or creating a conversation, to avoid the keyboard blocking the conversation list; directly tapping the input field still allows normal input.
If the user’s theme preference is still system, on first load on mobile, it changes to light once and writes to the host user-settings (server-side persistence); those who have explicitly chosen dark are not changed.
Adds viewport-fit=cover and interactive-widget=resizes-content, disables double-tap zoom, and sets the input area to 16px to prevent iOS focus zoom.
Scope of Effect & Mutual Exclusion¶
All logic is locked to (max-width: 1023px) and (pointer: coarse); mouse pointers are not effective at any window width.
If dsh-web-mobile is already installed, this plugin automatically sleeps (console shows a prompt); after uninstalling the latter, it automatically takes over. The README documents that it can coexist with dsh-better-sidebar 0.24.1 under dsh 0.2.0-rc.1.
Environment Requirements¶
- DeepSeek Harness
dsh≥ 0.2.0-rc.1 (README tested on 0.2.0-rc.1; frame detection hooks also work on 0.1.7-rc.2) - No plugin dependencies (v0.2 and earlier depended on dsh-web-mobile, independent since v0.3)
Installation & Activation¶
The plugin is installed under the web profile, takes effect hot, and requires no service restart:
dsh plugin --profile web add github:Bill-666code/dsh-kimi-shell
Uninstall:
dsh plugin --profile web rm dsh-kimi-shell
After installation, just open DSH Web in a mobile browser; desktop is unaffected.
Note: The plugin loads with the current DSH process and Web profile, having the same runtime context as the host. Before installation, you should read the repository source code and license to confirm it meets your deployment strategy.
How It Works (Summary)¶
- Shell reconciler: Locates the host frame via the parent element of
[data-shell-overlay]and marks it withdata-kimi-frame(MutationObserver + rAF), ensuring the FAB / scrim exist and self-heal after host re-renders. - CSS: Under media query gating, changes the sidebar column to a bottom overlay layout; open/close is driven by host
data-sidebar-collapsed, supplemented by a 300ms polling inline fallback. - Open/close API: Uses the official
ctx.layout.toggleSidebar()(from dsh 0.2.0, plugins needinject: ['layout','theme']in the manifest). - Theme:
ctx.theme.setTheme('light')is only written once when the preference is system.
Selectors for the conversation tree etc. use substring matching like [class*="sessionRow"] to adapt to CSS Modules; when the host major version changes class names, the plugin version may need to be updated accordingly.
Typical Usage & Debugging¶
Daily use: No additional configuration needed after installation. On narrow-screen touch devices, tap the FAB to open the overlay to browse/switch conversations; tap the scrim or select a conversation to collapse the overlay.
Desktop browser simulating mobile effect: Native media queries are not affected by JS test switches; headless or desktop windows don’t show the mobile shell by default. You can execute in the console then refresh:
sessionStorage.setItem('kimi-test','1')
At this point, CSS removes the media wrapper and the JS shell is force-enabled. To exit, use the URL parameter ?kimi-test=0. TEST mode will not modify server-side theme preferences.
Use Cases & Notes¶
Suitable for: Users who frequently view conversations and switch workspaces on DSH Web on phones, want sidebar interaction to be close to the mainstream “bottom drawer + FAB” product habit, and don’t want to maintain dsh-web-mobile simultaneously.
Notes:
- Choose one of
dsh-web-mobile(this plugin sleeps when the latter is present). - Depends on host DOM structure and official layout/theme injection capabilities; regression testing is recommended after upgrading DSH or sidebar-related plugins.
- Community directory page: skillhub.cn plugin entry; source code and issues: GitHub.
Conclusion¶
dsh-kimi-shell consolidates conversation navigation on DSH Web under touch-screen narrow-screen conditions into a Kimi-style bottom overlay, and fills in mobile details such as missing hover, accidental rename, settings dialog, and keyboard occlusion, while ensuring zero impact on desktop. If your workflow is primarily accessing DSH via mobile browser, you can install and verify using the commands above in the web profile.
- Directory page: https://www.skillhub.cn/plugins/Bill-666code/dsh-kimi-shell
- GitHub: https://github.com/Bill-666code/dsh-kimi-shell