DeepSeek Harness Plugin

GuanYang14700/dsh-hermes-panel

Stars ★ 2 Downloads (30d) 1,078 Category UI Enhancements Added 2026-10-17 npm @yang3333/dsh-hermes-panel

Hermes in the DSH sidebar: start and stop the gateway and dashboard, watch the dashboard beside the chat, and bridge DSH to Hermes. Windows only; requires an existing Hermes install.

Install

# from npm (prebuilt)

dsh plugin --profile web add @yang3333/dsh-hermes-panel

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:GuanYang14700/dsh-hermes-panel

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文 | English

A Hermes panel for DSH, in the right sidebar: start and stop the gateway and dashboard, watch the dashboard beside the chat, and bridge DSH to Hermes.

For the native Hermes agent (hermes-agent). Not for hermes-web-ui / Ekko Studio.

Panel

Open it from the ⊕ list in the right sidebar → Open Hermes. The strip on top switches between three views and carries start/stop, restart and open-in-new-tab:

  • Dashboard — the Hermes dashboard in an iframe, conversation on the left.
  • Record — the Hermes ↔ DSH exchange, read from DSH's own session logs.
  • Setup — health check, update, the DSH bridge, and the shared workspace.

Health and update run the official-web distribution's own PowerShell scripts. An upstream pip install has neither, so those two buttons are disabled there and the panel says why. Everything else works on any install.

Install

dsh plugin --profile web add @yang3333/dsh-hermes-panel

Then restart dsh: the host half is a Node module, and a page refresh does not reload it.

Needs DSH >= 0.2.0-rc.2 and an existing Hermes install — the plugin does not install Hermes, it finds it or is told where it is. Windows only.

Settings

Two directories, both optional. Empty means a default under the DSH home.

  • Runtime — the Python environment Hermes runs in. Default <dsh home>/hermes-panel/runtime.
  • Data directory — HERMES_HOME: profiles, sessions, config.yaml. Default <dsh home>/hermes-panel/home.

The rest: dashboardPort (0 = read from .env, else 9150), sharedWorkspace, manageGateway, autostart.

Change them in the Plugins panel → Official → Hermes Panel settings.

Bridge

With the bridge open, the panel writes the Hermes side (mcp_servers.dsh) into config.yaml and checks that each profile's @deepseek-ai/dsh-mcp-client matches the running DSH. When one does not, it prints the command that fixes it.

Security

The HTTP routes are loopback-only and check Origin and Sec-Fetch-Site. .env parsing keeps only HERMES_HOME, VENV, HERMES_EXE and DASHBOARD_PORT; no other value is stored. Do not bind DSH to 0.0.0.0 while the plugin is enabled.

Development

npm test          # hermetic; safe to run while Hermes is running
npm run test:e2e  # drives the real scripts and a real dashboard

The suite lives in verify/, one file per area, each with a comment saying what regression it guards. verify/smoke.mjs loads the host half with an empty config, asserts it registers 17 routes and that activation spawns nothing, then calls the status route with no Hermes installed. verify/config.mjs checks that the config loads with all 6 fields volatile, that a value saved after activation is what the panel reads, and that .env parsing keeps only the four whitelisted keys.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.