The plugin system of DeepSeek Harness (DSH) allows dynamic extension of features. When using the DSH web interface on mobile, expanding the sidebar squeezes the chat content, making the reading area too narrow; the settings page displays as a two-column layout on small screens, with chaotic text wrapping and incomplete control display. dsh-thumb is an adaptation plugin that changes the layout logic, turning the sidebar into an overlay drawer and adjusting the settings page to a full-screen single column, improving the mobile reading experience.

Core Features

  • Sidebar becomes an overlay drawer: The sidebar no longer squeezes chat content; the chat area remains full width. Clicking the conversation list automatically closes the drawer.
  • Full-screen settings page: The settings page changes from a two-column layout to a full-screen single column, fixing text wrapping and control display issues.
  • Adjusted conversation height: The height of the conversation history is adjusted for mobile reading distance to improve readability comfort.
  • No impact on desktop: The plugin only affects scenarios where the viewport width is less than or equal to 1024px and the sidebar is expanded; the desktop experience remains unchanged.
  • Zero hardcoding: It does not use hashed class names generated by CSS Modules; instead, it locates elements using semantic suffixes, reducing compatibility issues caused by DSH version updates.

Installation and Enablement

Install the plugin:

dsh plugin --profile web add github:AliceLJY/dsh-thumb

Confirm that dsh.profile.bundles in ~/.dsh/profiles/web/package.json includes dsh-thumb, then restart the service.

Disable the Plugin

If you need to disable the plugin without restarting the service:

  • Append ?thumb=0 to the URL
  • Or run localStorage.setItem('dsh-thumb','0') in the console and refresh the page

Local Development

If developing this plugin locally:

dsh plugin --profile web add link:/absolute/path/to/dsh-thumb

Notes

  • Maintenance status: The author declares this as a personal tool, released as-is, with no commitment to maintenance or issue response.
  • Version dependency: The plugin is written for dsh 0.1.0-rc.6. If upgrading dsh causes layout issues, modify the LOCATORS configuration at the top of src/client.js.
  • Known issues:
  • Hover tooltips may overflow the right side of the screen.
  • The settings navigation bar remains vertically stacked instead of horizontally scrolling.
  • The action row height below assistant replies remains 28px, while the action row height below user replies is reduced to 24px.

Summary

As a lightweight layout adaptation plugin, dsh-thumb resolves DSH mobile layout pain points through semantic element locating and overlay design. More details can be found on the project homepage: https://github.com/AliceLJY/dsh-thumb