AI Agent Hub
Back to plugins
🧰

dsh-focus

Web Tools Updated 2026.08.25

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