Introduction¶
In DSH’s Web GUI, a single AI response may include a header area, input area, sidebar, and tool call flow simultaneously, scattering screen space across multiple areas. dsh-focus-overlay is a DSH plugin designed to switch the current session into a full-screen reading view: it hides the header and input areas, collapses the AI tool call flow into a summary, while preserving navigation and inline input. Below is an introduction to its features, installation method, and common operations.
What is it¶
dsh-focus-overlay is maintained by boogoo619 under the MIT license. It targets the DSH Web GUI, providing a focus mode: full-screen reading, hiding the header and input areas, and collapsing AI tool call flows into summaries. The project is listed in an independent community plugin directory and is not part of the DeepSeek / Huafan official app store.
Core Features¶
- Full-screen focus overlay covering the header, input, and sidebar.
- Hide the header bar and input bar.
- Collapse a single AI response into a one-sentence summary.
- Right-side node navigation bar with hover preview and click-to-jump.
- Support for automatically entering focus mode and positioning to the query upon completion of the reply.
- Pop-up reminder when receiving new replies while in focus mode, or when AI is waiting.
- Press
Fto enter focus mode. - Simplified input bar within focus mode, sharing drafts with the main input box.
- File mentions: Inline code links to actual files become clickable when matched.
- Chinese / English text, following the interface language.
- Plugin configuration card allows toggling the navigation bar, positioning strategy, and text area width.
- Compatible with DSH-better-sidebar.
Installation and Activation¶
First, confirm the runtime environment: you need dsh CLI >= 0.1.0-rc.5, and package.json should declare node >=22.19.0.
When installing from npm, execute the install command first to add the plugin to the web profile:
dsh plugin --profile web add dsh-focus-overlay
After installation, restart dsh web for the plugin to take effect:
dsh web
If add fails to fetch the latest version, it might be due to pnpm’s 24-hour safety mechanism for minimumReleaseAge; you can explicitly specify a version number, or wait 24 hours before running the version-less add command.
Installing from GitHub will pull the source code and build it on the fly via the prepare script. If using pnpm >=10, you need to set the following in pnpm-workspace.yaml as prompted:
allowBuilds:
dsh-focus-overlay: true
Then run the install command again. This authorization allows the package code to run locally during installation and should only be granted to trusted sources; it is recommended to lock the commit.
Typical Usage¶
- Open any session, click the “Focus” button in the header operation area, or press
Fto enter focus mode. - The navigation dots on the right can be hovered for preview and clicked to jump; when at the bottom, the simplified input bar automatically expands centered at the bottom.
- Reply directly in the input bar:
Enterto send,Shift+Enterfor a new line; drafts are shared with the main input box. - When AI asks/approves, a “Go Answer” card pops up, allowing you to answer with options/text/approval on the spot.
- Press
Escto exit layer by layer, or click “Exit Focus” to return to the original interface.
Settings¶
In “Settings → Plugins → Plugin Configuration”, you can adjust the “Focus Mode” card:
- Auto-enter focus
Fkey shortcut- Sync current reading position
- Right-side navigation bar
- Text area width
Applicable Scenarios and Notes¶
Suitable for scenarios where you want to reduce interface distractions, focus more on reading conversations within the DSH Web GUI, and continue replying within the focus view.
Notes before use:
- The plugin runs with the permissions of the current
dshprocess; source code and license should be checked before installing. - License is MIT.
- Requires
dshCLI>= 0.1.0-rc.5,node >=22.19.0. dsh webneeds to be restarted after installation.- When installing from GitHub, the
preparescript builds locally during installation; only authorize trusted sources and suggest locking the commit. - If using DSH-better-sidebar simultaneously,
dsh-focus-overlayis compatible with it.
Resources¶
- Directory page: https://www.skillhub.cn/plugins/boogoo619/dsh-focus-overlay
- GitHub: https://github.com/boogoo619/dsh-focus-overlay