dsh-wonder-tools: DSH Toolbox Assembly Pack

The DeepSeek Harness (DSH) plugin architecture allows developers to extend functionality through independent modules. Managing multiple scattered plugin entries increases configuration overhead. dsh-wonder-tools packages five utility features into a single plugin entry, rendering one card and five independently toggleable rows on the DSH Plugins page.

What It Is

This is a DSH assembly maintained by apherchin. It does not contain functionality logic itself; instead, it declares five component rows via cordis.patch.yml, so that the DSH Plugins page shows one card and five independently toggleable row components. This addresses the need to manage distinct features in the UI without the hassle of maintaining five features as separate plugin entries.

Core Features

  1. Delete Conversation
    Provides a conversation context menu. Clicking “Delete Conversation” truly removes data from disk and cascades to generated sub-agent sessions. This feature refuses live sessions to prevent accidentally operating on ongoing conversations.

  2. Replay from Here
    Adds a replay action in the assistant action row. It erases the current turn and anything after it, places the original prompt back into the editor, allowing users to refine their thinking or perform a “branch recovery.”

  3. Teammate Command
    Supports the /teammate command. Two modes are available: new teammate (zero-config inheritance) or forked teammate (inherits completed turns). This feature depends on the Agent Teams assembly.

  4. Cross-Session Alerts
    Triggers Windows system notifications, tiered sounds, and taskbar badges when a session ends, requires approval, or asks the user. Windows-only.

  5. Auto-Naming After First Turn
    Names the main session starting from the first Q&A. Host-only (no UI), and disables the official first-prompt provider (which consumes 64 tokens for reasoning on pi-ai routes).

Installation and Enabling

Install in your terminal with:

dsh plugin --profile <profile> add dsh-wonder-tools

After installation, you must restart DSH. The packaged desktop app has no mechanism to reload the page; you must fully quit and relaunch for changes to take effect.

Enable features in one of two ways:
1. Toggle each row component directly on the card in the Plugins page.
2. Flip the corresponding switches in your config patch.

How It Works and Technical Details

dsh-wonder-tools itself is a “shell” plugin. Its package.json declares five dependencies, yet in cordis.patch.yml it only declares five configuration rows and does not list them as entries under dsh.profile.bundles.

  • Row–package correspondence: Each row’s package name must exactly equal the id registered by its client package (window.__ModuleLoader__.load({ id })). This ensures the renderer’s startup gating works as intended.
  • Dependency relationship: These five feature packages are dependencies, not entries in DSH profile bundles, so they do not each become their own separate card.
  • Host vs. renderer: Host-only packages like “Auto-Naming” are excluded from the renderer’s “all-or-nothing” load gating at startup and therefore do not appear in the UI’s loading list.

Use Cases and Cautions

  • Platform limitation: Cross-session alerts are available on Windows only.
  • Runtime mode: Auto-naming runs on the host only and provides no UI.
  • Dependency requirement: Using the teammate command requires the Agent Teams assembly to be installed.
  • Source inspection: Review the source code and license before installing.
  • GitHub: https://github.com/apherchin/dsh-wonder-tools
  • Plugin Directory: https://www.skillhub.cn/plugins/apherchin/dsh-wonder-tools
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye