DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

WatXtract-Luca /

WatXtract-Luca/dsh-auto-open-sidebar

Verified

Automatically opens the DSH right sidebar for blank top-level chats.

★ 1 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@48879a9f

dsh-auto-open-sidebar

Automatically opens the right sidebar when a blank, top-level chat is shown in DeepSeek Harness. No build step or runtime dependencies.

Install

For DSH Desktop, install github:WatXtract-Luca/dsh-auto-open-sidebar#v0.0.1 through the app’s plugin manager. For a regular Web profile:

dsh plugin --profile web add github:WatXtract-Luca/dsh-auto-open-sidebar#v0.0.1

Reload the page after installation. Select New Session in a workspace; the right sidebar opens to the host’s default page. No model credentials are needed.

Behavior

  • Considers only blank, top-level sessions; ignores subagent children and chats with messages.
  • Leaves already-expanded panels alone.
  • Skips saved layouts containing tabs or floating panes, preserving ordinary manual collapses.
  • Handles a session at most once per plugin activation. An older blank session with an empty layout can also qualify.
  • Does not auto-open below 768px, where the host uses a fullscreen drawer.
  • Prefers the header expand control to preserve input focus; its controller fallback can focus the sidebar.

Compatibility and limitations

Verified on DSH 0.2.2-rc.1, including a live Desktop installation and an isolated Web instance. Uses sessions, sidebarRight, the host’s dsh.sidebar-right.v1 localStorage layout, and its header DOM marker. These host details may change in future releases. Storage errors or malformed layouts are treated as pristine. Closing the last tab can leave an empty layout eligible after a page reload.

The plugin makes no network requests, registers no agent tools or host routes, and installs no dependencies or lifecycle scripts. Its host entry is a no-op; behavior runs in the browser.

Development and verification

node --check client.js
node --check index.js
npm test
npm pack --dry-run

The existing smoke harness covers expansion, non-blank sessions, repeat navigation, narrow windows, fallback retries, delayed list rows, disposal, saved layouts and subagent children. An isolated browser check found stock DSH collapsed after New Session and the plugin expanded; the author also confirmed the live Desktop behavior. The browser check did not exercise chats containing messages.

File Purpose
client.js Browser watcher and bounded opening attempts
index.js No-op host entry
cordis.patch.yml Installable DSH bundle
test/smoke.mjs Dependency-free fake-browser checks

Disable or remove

Disable auto-open-sidebar in the host plugin list or remove this package through the plugin manager. Existing host-owned sidebar layouts are retained.

License

MIT.

—/ 5

No ratings yet

Verified DSH bundle

Commit 48879a9fdb15

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout