dsh-focus
Run the following command in DeepSeek Harness:
dsh plugin install TheChengXi/dsh-focus
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install TheChengXi/dsh-focus in DeepSeek Harness to install this plugin; the source repository is https://github.com/TheChengXi/dsh-focus
About this plugin
DSH's web interface renders a persistent three-column layout by default — session list, conversation area, and details panel all compete for viewport space. When you just want to read the code in the message stream or focus on an AI response, the composer, session header, sidebar, and detail panel only pull your attention away. dsh-focus solves this: append a ?focus= parameter to the URL and the page renders only the slot you specify, hiding everything else so the full viewport belongs to your code.
Under the hood, the plugin works purely through CSS visibility control without touching a single line of DSH source code. It uses a registered, pre-hardcoded rule system that handles path resolution, sibling-slot hiding, and top-level grid collapse as a unified set, eliminating any timing dependency entirely. Focusing the composer additionally pins it to the bottom of the viewport for a distraction-free input experience. If no session is currently active, the plugin automatically restores the most recent non-empty conversation so you never stare at a blank hero. It also broadcasts its registered rule list to the dsh-shell host via postMessage; the host validates source, origin, and schema before dynamically generating the focus dropdown, keeping the user experience seamless.
This mechanism is built for developers who spend long stretches in DSH's web UI — particularly those who need to immerse themselves in reading generated code during AI-assisted workflows. Third-party plugins can register custom focus rules through the registerRule API, extending which slots are focusable without modifying core code, so teams can tailor the interface to their own working style.
Use Cases
- Hide the composer and sidebar to read a long AI-generated code block in full-width view
- Switch to a pure input mode for rapid continuous command entry without session history clutter
- Register custom focus rules for team-specific views without modifying DSH core code
Best For
- Developers who spend long sessions in DSH web UI for AI-assisted coding
- Engineering teams that frequently switch between code reading and command input
- Third-party plugin authors who want to extend DSH interface controls
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.