返回目录
模型与 MCP 插件

dsh-auto-open-sidebar

WatXtract-Luca/dsh-auto-open-sidebar

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

Stars
1
Forks
0
Issues
0
更新
11 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:WatXtract-Luca/dsh-auto-open-sidebar

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

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.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。