Introduction¶
In DeepSeek Harness (DSH), the third-party plugin marketplace dshmarket can be installed and configured through the relevant slots on the settings page, but it does not register sidebar.footer.action, so no entry point appears at the bottom of the left sidebar in the Web UI. The official built-in dsh-community-market comes with its own sidebar entry, and the desktop client enforces a one-or-the-other choice for the marketplace provider within a single profile, so two marketplace UIs cannot be mounted simultaneously.
dsh-market-sidebar is an independent companion plugin maintained by Palpitate1388: it does not modify dshmarket itself, but only adds an entry at the bottom of the sidebar, positioned to the right of Agents-Anywhere’s “Remote Control.” Below, we explain what problem it solves, how it works, and how to install and adjust it within a profile.
What Is This¶
- Name:
dsh-market-sidebar(npm package name, GitHub:Palpitate1388/dsh-market-sidebar) - Version (package.json): 1.0.0
- License: MIT
- Purpose: Places the
dshmarketentry at the bottom of the left sidebar in DSH Web; the marketplace’s self-updates (e.g.,dshmarket -> dshmarket@x.y.z) will not touch this package’s files.
Why It Is Needed¶
The slots already registered by dshmarket include settings.section, settings.plugins.tab, plugins.bundle.config, settings.plugin.item, and shell.overlay (used only for installation prompts); it does not register sidebar.footer.action. The official dsh-community-market has a sidebar entry, but the marketplace provider within a profile is forced by the desktop client to be one or the other. This package acts as an external companion, decoupled from dshmarket, so that when dshmarket is chosen, the marketplace panel can still be opened from the sidebar.
Core Features¶
Sidebar Entry and Ordering¶
- Registers the
sidebar.footer.actionslot; shares the bottom row with Agents-Anywhere’s “Remote Control.” - Sorting is ascending by
(priority, order): “Remote Control” hasorder: 26, this package hasorder: 27, so it lands to its right. - Uses CSS to turn the host’s inline
display: contentsanchor into a horizontal flex layout, and uses:has()combined with this entry’sdata-icon="market-sidebar"to applymargin-left: auto, pushing the entry to the far right of that row (without depending on the host’s CSS module class names).
Click Behavior¶
Clicking opens a floating layer whose content is provided by the marketplace service: after ctx.provide("market", marketControl) it calls market.render() to embed the marketplace panel into the host container; the bundle resolves React via the host module table, sharing the same React instance with the caller.
Safe Registration When Depending on market¶
The registration logic lives inside ctx.inject(["market"], ...): if dshmarket is not installed, has been disabled, or the desktop client has switched to the official community marketplace, then no UI is registered, avoiding the appearance of a dead button.
Empty Implementation on the Host Side¶
lib/index.js contains only an empty apply, deliberately executing no business logic on the host side: DSH startup is all-or-nothing, and throwing an error on the host side would prevent the entire profile from starting; all functionality is implemented in the client-side lib/client.js (window.__ModuleLoader__.load).
Installation and Activation¶
This plugin does not have a dsh plugin add github:... command as described in the documentation; installation is done by placing the package into the profile’s local-plugins/ directory and declaring a file: dependency and bundle list in the profile’s package.json.
- Place this repository’s contents under the target profile’s
local-plugins/dsh-market-sidebar/directory. - Add a dependency in the profile’s
package.jsonand write the package name intodsh.profile.bundles:
{
"dependencies": {
"dsh-market-sidebar": "file:./local-plugins/dsh-market-sidebar"
},
"dsh": {
"profile": {
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-market-sidebar"]
}
}
}
- Run
pnpm install(afile:dependency withcordis.patch.ymlsatisfies the reconcile retention condition and will not be removed as a redundant package). - Restart DSH to take effect.
cordis.patch.yml will insert this plugin into the profile layer stack; package.json declares dsh.bundle.patch and dsh.client.platform: web.
Typical Usage and Adjustments¶
Opening the Marketplace¶
Click the marketplace entry at the bottom of the sidebar (on the same row as “Remote Control,” toward the right), and the floating layer will contain the complete marketplace panel provided by dshmarket (this requires dshmarket to be enabled in the profile and the desktop client not to be forced to use the official community marketplace).
Adjusting the Entry Position¶
Modify the ORDER constant in lib/client.js:
ORDER |
Position |
|---|---|
| Less than 26 | Left of “Remote Control” |
| Greater than 26 | Right of “Remote Control” |
If you want it to sit right next to “Remote Control” rather than being pushed to the end of the row, simply delete the last rule in STYLE_TEXT targeting [data-slot="sidebar.footer.action"]>:has(...). Changes to the client bundle require a DSH restart to be incorporated into the module graph.
Uninstallation¶
Remove the dsh-market-sidebar dependency from the profile’s package.json and the same-named entry in dsh.profile.bundles, delete the local-plugins/dsh-market-sidebar/ directory, then restart DSH.
Use Cases and Notes¶
Who it is for: Developers who are already using dshmarket in their profile, want to quickly open the marketplace from the left sidebar in the Web UI, and do not want to modify dshmarket source code or be tied to its update flow.
Permissions and security: The plugin runs with the permissions of the current DSH profile and process; before installing, please read the source code and MIT license in the GitHub repository to confirm consistency with your environment policies. The community plugin directory (such as SkillHub) is an independent ecosystem site and has no official affiliation with DeepSeek / High-Flyer.
Build notes: lib/client.js is a hand-written client bundle with no separate build step; platform seeds such as react, @deepseek-ai/dsh-client-store, and @deepseek-ai/dsh-client-ui-primitives can be directly required.
Conclusion¶
dsh-market-sidebar uses a minimal patch to add the missing sidebar slot for dshmarket, and remains compatible with the one-or-the-other constraint of the official community marketplace (no UI is registered when market is absent). For details, refer to the repository README and lib/client.js.
- Directory page: https://www.skillhub.cn/plugins/Palpitate1388/dsh-market-sidebar
- GitHub: https://github.com/Palpitate1388/dsh-market-sidebar