dsh-plugin-subitem-status: Plugin Page Subitem Status and Settings Page Package Name Prompt

Preface

When managing plugins in DeepSeek Harness (DSH), each card on the sidebar “Plugins” page typically only reflects the bundle-level toggle: a bundle being on doesn’t mean every component inside it is running. When an ancillary component is disabled or not running, there’s no visible difference on the card—you have to click into the detail page and look at the “Included Components” row. When troubleshooting or asking AI to modify plugins, the settings page mostly uses Chinese titles and lacks direct npm package names, making it easy to guess sources from display names and read more source code, wasting tokens.

Below is an introduction to the community client plugin dsh-plugin-subitem-status (maintainer: lingmingxi): it displays component statuses directly on plugin cards and shows provider npm package names beneath settings-related interface titles, making it easy to spot issues at a glance and provide accurate package names to AI.

What Is This

dsh-plugin-subitem-status is a UI enhancement plugin for the DSH Web client that does not override DSH core functionality. It does two things:

  1. Plugins page: Adds a row to each plugin card listing the components in the bundle and their statuses (using the same wording and status dots as the detail page).
  2. Settings page: Displays the provider npm package name in small, muted text beneath titles in the configuration navigation and within the “Plugins” internal tab; long names are truncated but the full name is available on hover.

Data sources are the same as the official plugin page (remote.pluginManager.listBundles(), listPlugins()); package names are verified against Slot registration sources and the actual loaded module manifest. It does not read configuration values, chat history, or account credentials, nor does it transmit data externally. Licensed under MIT; current package version is 1.1.0.

Plugins Page: Sub-item Status on Cards

The PackageCard in DSH’s plugin management UI does not have a slot for “inserting sub-item status on the parent card.” This plugin achieves it through pure client-side DOM enhancement: it observes already-rendered cards, locates them using stable attributes [data-plugin-package] and [data-plugin-panel], and appends a status row. When React re-renders wipe it out, a MutationObserver replays the enhancement.

Status wording and dot styles are taken from the official dictionary namespace, consistent with the detail page (e.g., ● Running, ● Disabled, ● Not Running, ● Error). Multiple components within a bundle are listed one per line; each component displays a status line; if there are no components, no placeholder is shown.

Illustration (ASCII diagram from README):

┌──────────────────────────────────────────────┐
│  ▣  some-plugin-kit                          │
│     A set of example plugins                  │
│     Main component   ● Running   Ancillary  ● Disabled   │  ← New
└──────────────────────────────────────────────┘

Settings Page: Provider Package Name

In the configuration page navigation under “Settings,” as well as in internal tabs under the “Plugins” category, the provider npm package name is displayed beneath the title, for troubleshooting and for telling AI which package to modify.

Notes and limitations (consistent with the README):

  • In version 6.0.1, some sources are compressed to mf in the UI; the plugin maintains an ID→package name fallback table for 21 settings pages and 5 internal tabs, and still requires the package name to appear in the current module manifest.
  • For newly added pages not yet covered, or when other plugins override the same ID, “Package name not declared” may be shown; when the source cannot be determined, the same message is displayed, and no local paths are output.
  • This is diagnostic information, not a security authentication of provider identity.

Give Package Names to AI to Save Locating Tokens

  1. Open settings, navigate to the plugin configuration tab you need to troubleshoot, and look at the small package name text beneath the title.
  2. When you need the full name: right-click the small text and select “Inspect,” or press F12 to open developer tools and use the element picker to select that line; copy the text from the Elements panel, or read the title attribute (the full package name is retained even when the long name is truncated).
  3. Give the full package name together with your request to AI, for example:

Please check dsh-feature-toggles—the “Balance” page in settings is displaying abnormally. Locate this package first, then troubleshoot the issue.

If “Package name not declared” is displayed, do not provide it to AI as a real package name; verify the source separately. If you don’t need developer tools, you can directly read the small text or hover to see the full name.

Installation and Enablement

Installation command (from the project README):

dsh plugin add github:lingmingxi/dsh-plugin-subitem-status --profile <your profile>

You can also use a tarball or local path (example version number consistent with the README):

npm pack
dsh plugin add ./dsh-plugin-subitem-status-1.1.0.tgz --profile <your profile>

After installation, restart DSH (client plugins require a restart to take effect, unless the profile has client-hmr enabled).

Platform requirement: dsh.client.platform must be "web". The plugin declares inject: [] and the service is read lazily via ctx.get() to avoid the cordis injection proxy causing the entry to fail activation under the Web startup gate.

Use Cases and Notes

Who it’s for: Users who frequently check multi-component bundle statuses on the DSH plugins page; users who modify plugin configurations in settings or ask AI to troubleshoot plugin issues and need stable npm package names rather than Chinese titles.

Please be aware before use:

  • The plugin runs in the browser with the current DSH process permissions; before installation, it is recommended to read the source code and MIT license at the GitHub repository.
  • The community plugin directory SkillHub entry has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem is “everything is a plugin,” and this plugin is a client UI enhancement within it, not an official built-in capability.
  • DOM enhancement depends on the official card structure; if the core later provides a card-level slot, the implementation may change, but the goal of “sub-item status sourced the same as the detail page” remains unchanged.

Conclusion

dsh-plugin-subitem-status moves component statuses that were only available on the detail page onto plugin cards, and marks npm package names in the settings navigation, reducing blind spots where “the bundle is on but components are abnormal,” and also reducing the token consumption of AI guessing packages from Chinese names. For installation instructions and implementation details, refer to the README.

  • Directory page: https://www.skillhub.cn/plugins/lingmingxi/dsh-plugin-subitem-status
  • GitHub: https://github.com/lingmingxi/dsh-plugin-subitem-status
羽毛球分组比赛记分
小程序二维码

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

Xiaoye