Introduction¶
After creating a workspace session in DeepSeek Harness (DSH), the right sidebar is often still in a collapsed state. If you are used to viewing the plugin panel, tools, or the host default page at the beginning of a blank conversation, you need to click the expand control once more. Although the steps are short, it interrupts your rhythm during frequent “New Session” actions. The community plugin dsh-auto-open-sidebar targets this type of client-side experience: it attempts to automatically open the right sidebar only when a “blank, top-level” session appears, without introducing build steps or runtime dependencies.
What is this¶
dsh-auto-open-sidebar is published by maintainer WatXtract-Luca and is categorized as a client-side plugin. One-sentence positioning: automatically expands the right sidebar to the host default page when DSH displays a blank top-level conversation. The host-side index.js is a no-op entry point, and the actual logic is completed in client.js within the browser; the plugin does not initiate network requests, does not register agent tools or host routes, nor does it install dependencies or lifecycle scripts.
Core Features¶
The following behaviors are all from the project README and are consistent with dsh.client (platform: web, immediately: true) in package.json.
- Trigger Scope: Only handles blank, top-level sessions; ignores sub-agent sub-sessions and conversations that already have messages.
- Respect Existing UI State: If the panel is already expanded, leave it as is; if the locally saved layout contains tabs or floating panes, skip it to preserve user habits like manually collapsing.
- Deduplication within a single activation: Each session is processed at most once during a single plugin activation; older blank sessions may also meet the criteria when the layout is empty.
- Narrow Screen Strategy: Do not automatically expand when the viewport width is below 768px (the host uses a full-screen drawer at this width).
- Expansion Method: Prioritize using the header expand control to preserve input box focus; the controller may move focus to the sidebar as a fallback.
- Compatibility and Boundaries: Verified on DSH 0.2.2-rc.1 (including Desktop installation and isolated Web instances). Relies on host
sessions,sidebarRight,dsh.sidebar-right.v1localStorage layouts and header DOM markers; future host version changes may cause behavioral changes. Malformed layouts or storage anomalies are treated as “clean”; after closing the last tab, the page reload might cause an empty layout to again satisfy the auto-expand condition.
Installation and Enablement¶
The plugin runs with the current DSH process and browser context permissions. Before installing, please check the GitHub repository source code and the MIT license yourself.
DSH Desktop: Install within the in-app plugin manager:
github:WatXtract-Luca/dsh-auto-open-sidebar#v0.0.1
Standard Web profile: Execute in terminal:
dsh plugin --profile web add github:WatXtract-Luca/dsh-auto-open-sidebar#v0.0.1
After installation, reload the page. package.json declares the engine as node >= 22, dsh >= 0.2.2-rc.1 < 0.3.0. No model credential configuration is needed.
Typical Usage¶
After the above installation and reload, select New Session in the workspace:
- When a blank top-level session appears, the right sidebar should automatically expand to the host default page.
- If the session already has messages, or is a sub-agent session, the plugin will not intervene.
- Verified to fit the design best on wide screens (≥768px); on mobile or narrow windows, it should remain non-automatically expanded.
Closing or Uninstalling: Disable auto-open-sidebar in the host plugin list, or remove this package via the plugin manager; existing sidebar layouts in the host will be preserved.
Use Cases and Notes¶
Who is it for: Developers or daily users who frequently create blank conversations in DSH and want the right sidebar to be visible by default; especially those using Web or Desktop with versions in the 0.2.2-rc.1 series (<0.3.0).
Notes to consider:
- The plugin logic binds to the current host DOM and localStorage conventions; it is advisable to re-read the Compatibility section in the README before upgrading to a major version of DSH.
- It will not perform a security audit for you; client scripts execute with the same origin as the host, so checking the source code before installing is a reasonable step.
- The community directory SkillHub Plugins Page is an independent ecosystem site and has no official affiliation with DeepSeek or Huanfang, so it should not be understood as an “official app store” entry.
Local verification commands provided by the maintainer (for contributors):
node --check client.js
node --check index.js
npm test
npm pack --dry-run
Conclusion¶
dsh-auto-open-sidebar uses a tiny client-side patch to fill the gap of “sidebar remains collapsed after creating a new blank session”: clear conditions, no extra dependencies, and can be turned off by default. If you need to see the right sidebar by default on a blank top-level conversation, you can install and reload for verification using the official version anchor v0.0.1.
- Directory page: https://www.skillhub.cn/plugins/WatXtract-Luca/dsh-auto-open-sidebar
- Source code and documentation: https://github.com/WatXtract-Luca/dsh-auto-open-sidebar