Preface¶
When developing agents in DeepSeek Harness (dsh), model providers typically come from cloud APIs or configured channels. If you have a batch of WorkBuddy / CodeBuddy accounts and want to schedule them uniformly on your local machine and use them in dsh the same way you would select an ordinary LLM, you need a local gateway layer that converts the account pool into OpenAI-compatible providers and can manage login and credits within dsh.
The community plugin dsh-wb2api (npm package name dsh-plugin-wb2api-ui, maintained by Wei894348) takes exactly this approach: it self-hosts a gateway process, registers itself as a dsh LLM provider, and ships with a Web settings panel and growth-task automation capabilities. The SkillHub catalog classifies it under “Model Inference”.
What This Is¶
In one sentence: Turn your local WorkBuddy / CodeBuddy account pool into a local model gateway, register it into dsh, and after installation, select and use models directly within dsh.
The plugin is maintained in the GitHub repository Wei894348/dsh-wb2api; the version referenced in the current documentation is 1.5.8, licensed under MIT, with a runtime requirement of Node.js >= 22. After uninstalling the plugin, the runtime data directory %USERPROFILE%\.dsh\wb2api\ (account pool and configuration) is not deleted automatically and must be cleaned up manually.
Core Features¶
The following capabilities all come from the repository README and package.json descriptions; you can verify them in the source code before installing.
-
Local Gateway and Provider Registration
Self-hosts a gateway process, exposes the account pool in an OpenAI-compatible manner, and registers itself as an LLM provider on the dsh side. -
Web Settings Panel
Used to view gateway status and per-account credits, and to perform OAuth login, credential import, account management, and other operations (the exact entry points depend on how the plugin UI is injected into the dsh desktop / Web client). -
Growth Task Automation Engine
Supports one-click confirmation of to-do items, task execution, and automatic reward collection upon reaching targets, and other automation flows (the engine module is provided at the package export path./engine). -
Integration with the dsh Ecosystem
The plugin connects to dsh client modules (such as settings, slots, etc.) via Cordis patches (cordis.patch.yml); client injection for the web profile is declared in thedsh.clientfield ofpackage.json.
Installation and Activation¶
Choose any one installation method. You must restart dsh after installation completes — the host side only loads plugins at startup.
Method 1: dshmarket Plugin Market (Recommended)¶
Open dsh’s plugin market (dshmarket), search for wb2api or wb2api-ui, find this plugin, and click Install.
Method 2: Desktop UI¶
On the desktop client: Settings → Plugins → Add Plugin, and enter the repository URL:
https://github.com/Wei894348/dsh-wb2api
You may also provide an absolute path to a local directory, or the path to a .tgz produced by npm pack. The documentation notes this is the only installation method under the desktop profile (the command line cannot manage the desktop plugin list).
Method 3: Command Line¶
Execute under the web profile:
dsh plugin --profile web add github:Wei894348/dsh-wb2api
Uninstall¶
- Desktop client: Settings → Plugins → locate this plugin → Uninstall
- Command line:
dsh plugin --profile web remove dsh-plugin-wb2api-ui
You also need to restart dsh after uninstalling. To completely remove local accounts and configuration, you must manually delete %USERPROFILE%\.dsh\wb2api\.
Typical Usage¶
The main path in the documentation is straightforward: after completing installation and restarting dsh, select the model registered by this plugin within dsh for chatting or development — there is no longer any need to integrate separately with WorkBuddy / CodeBuddy’s original interface forms.
Daily account and gateway operations should be handled through the plugin’s settings panel: adding or importing accounts, viewing credits, and confirming the gateway is running. If you use the growth-task capabilities, you can rely on the plugin’s built-in task automation engine to handle to-do confirmation and reward-collection flows; for more detailed API and configuration options, refer to the repository’s docs/ and source code. This article does not expand on field names that do not appear in the already-collected materials.
Use Cases and Notes¶
Who It’s For
- You already maintain multiple local WorkBuddy / CodeBuddy accounts and want to use them uniformly as LLM providers within dsh.
- You need to manage accounts and credits in the dsh UI and optionally use growth-task automation, rather than writing your own polling scripts.
Notes
-
Permissions and Security
The plugin runs with the permissions of the current dsh process and can read and write the accounts and configuration under%USERPROFILE%\.dsh\wb2api\. Before installing, you should read the GitHub source code and the MIT license to confirm it meets your security and compliance requirements. -
Profile and Installation Channels
The Web side uses the command-lineadd/removecommands; the desktop client must use the UI to add plugin URLs or local packages. Do not mix operation habits across the two profiles. -
Ecosystem Notes
DeepSeek Harness’s philosophy is “everything is a plugin”; the SkillHub plugin catalog is an independent community site with no official affiliation with DeepSeek / Hiascend. This article introduces a community-maintained third-party plugin, not an official app-store listing.
Conclusion¶
dsh-wb2api consolidates a local WorkBuddy / CodeBuddy account pool into an OpenAI-compatible gateway layer and hooks it into dsh’s model-selection and settings interfaces, making it suitable for developers who want to use existing account resources directly in their Harness workflows.
- Catalog page: https://www.skillhub.cn/plugins/Wei894348/dsh-wb2api
- Source code and README: https://github.com/Wei894348/dsh-wb2api