DSH Agent Bridge: Integrating Locally Authenticated Qoder/WorkBuddy Models into DeepSeek Harness

Preface

When using coding agents in DeepSeek Harness (DSH), model sources typically come from cloud API keys or DSH built-in channels. If you already use desktop clients like Qoder or WorkBuddy (including the international version WorkBuddy AI) on Windows daily, where accounts and quotas are maintained within the client, applying for a separate key or repeating OAuth for DSH is often redundant.

The community plugin dsh-agent-bridge (maintainer: AbyssWhalen, SkillHub Category: Model Inference) takes a different approach: it reads the local client’s installation location and login state, registering official plan models available in the client as DSH LlmAdapters. It does not create new API keys or repeat the OAuth process.

What is this

DSH Agent Bridge (npm package name dsh-agent-bridge, current version 1.0.0) is a DSH desktop plugin bundle. In one sentence: it reverse-proxies models from logged-in local AI desktop clients into DSH as an additional model provider.

The tested snapshots from the README (subject to fluctuation based on account and upstream adjustments) are as follows:

Vendor Model Count (Snapshot) Quota Reasoning Intensity Channel
Qoder 14 Remaining Credits Tiered or On/Off by model Subprocess + Control Frames
WorkBuddy (incl. Int’l WorkBuddy AI) 19 Remaining Credits / Benefit Packs Tiered for some models HTTP + SSE

The plugin runs with the current DSH process privileges and reads local client credential files (used only for local requests). Before installation, please review the GitHub source code and the MIT license yourself; the license notice specifies that the host layer and the WorkBuddy credential decryption flow are partially derived from dsh-workbuddy-connect (MIT, Corrine Hu).

Core Features

The following summarizes the capabilities outlined in the README, without exceeding the scope of the provided materials.

Zero-configuration access. Usable immediately after installation and registration in the profile; no keys to fill in, no secondary login required. Switching accounts in the client is followed by the plugin.

One package, two independently switchable components. cordis.patch.yml inserts one Loader line each for Qoder and WorkBuddy, using the same module with two config.component entries. The plugin page displays a package card plus two component rows; each row has its own switch and detail page. Turning off one does not affect the routing, timers, or subprocesses of the other.

Streaming chat and reasoning blocks. When the upstream returns reasoning-delta, the plugin forwards it as a collapsible reasoning block in DSH. Reasoning intensity only displays the tiers declared by the upstream (low / medium / high / xhigh / max; models capable of turning off reasoning have an additional Off). If not declared, the control is not shown, and no active probing is performed (to avoid consuming quota).

Quota and settings UI. Quota text is displayed on the model group title (e.g., Qoder · 2,427 credits left). Each row expands into three tabs: “Overview / Models / Account”; the model list and selector share the same source, and the account bar displays the raw results driving locate().

Tool Calling. The plugin passes harness tool declarations to the upstream and reorganizes streaming tool_calls into DSH’s chunked sequences; history messages are replayed using native tool_calls / tool_call_id, rather than being compressed into plain text placeholders.

Failure isolation and uninstallation. If a driver fails to load, the client is missing, or there is a provider ID conflict, only that provider shows “Not Available,” while the other works as usual. Upon uninstallation, the driver directory is moved to $DSH_HOME/agent-bridge-removed/<id>/, which can be restored via “Restore”; reinstalling does not automatically bring back previously moved drivers.

DSH Version Constraints. The declared runtime range is ^0.2.0-rc.2 (allowing the 0.2 line, rejecting 0.3). If peerDependencies do not match the running @deepseek-ai/dsh*, DSH will skip the entire bundle. Per the README, specific “Plugin Version × DSH Version” combinations can be individually allowed in %USERPROFILE%\.dsh\profiles\desktop\compatibility.json.

Installation and Activation

Environment requirements (from README):

  • OS: Windows only (drivers depend on Windows installation paths and credential files; macOS / Linux not supported currently).
  • Client: At least one supported client installed and logged in (Qoder or WorkBuddy / WorkBuddy AI).
  • DSH: Desktop client running; tested with DSH Desktop 0.2.0-rc.2, Node requirement ^22.19.0 or >=24.

DSH does not automatically discover plugins not registered in the profile. The official steps are as follows:

  1. Get the source code and enter the directory:
git clone https://github.com/AbyssWhalen/dsh-agent-bridge.git
cd dsh-agent-bridge
  1. Register the bundle and file: dependency in the desktop profile’s package.json (adjust the path based on where you actually placed the plugin directory):
// %USERPROFILE%\.dsh\profiles\desktop\package.json
{
  "dependencies": {
    "dsh-agent-bridge": "file:./plugins/dsh-agent-bridge"
  },
  "dsh": {
    "profile": {
      "bundles": [/* …original items… */, "dsh-agent-bridge"]
    }
  }
}
  1. Sync and install dependencies:
.\tools\sync.ps1                 # desktop profile
.\tools\sync.ps1 -Profile xxx    # other profiles

The script will confirm this plugin is listed in the profile manifest, copy the source, install dependencies, and compare the hashes of the source code and node_modules. After modifying the source code, you must re-run sync.ps1 and restart DSH (since file: dependencies are hard-linked via pnpm, changes made after copying will not sync automatically).

If another plugin in the profile already takes over the same vendor (e.g., dsh-workbuddy-connect and this plugin’s WorkBuddy driver), keep only one in dsh.profile.bundles and dependencies; DSH accepts only one adapter per provider ID.

Typical Usage

The materials do not contain a separate “Conversation Examples” section. The daily usage path is: Complete installation → Turn on the corresponding component switch on the DSH Plugin Page → Select models under the Qoder or WorkBuddy groups in the model selector → Start a coding agent session like any other provider.

Optional environment variables (for troubleshooting, all have default values):

Variable Function
DSH_BRIDGE_POLL_MS Model/quota refresh interval, default 5 minutes
QODER_INSTALL_DIR Override Qoder installation directory
WORKBUDDY_ELECTRON_BIN Override WorkBuddy executable file
WORKBUDDY_AUTH_FILE Override WorkBuddy credential file

The maintainer provides offline testing and live verification commands in the README, such as npm test (contracts and state machines, no client needed) and npm run test:live (requires the corresponding client installed locally). Before live testing, you can confirm that models and quotas are working properly within the client.

Use Cases and Precautions

Suitable for: Users already using Qoder or WorkBuddy official plans on Windows who want to reuse the same account and model list in DSH coding agents, and who accept the installation method involving manual bundle registration in DSH 0.2.x desktop and profiles.

Must Note:

  • Only reverse-proxies official plan channels within the client; providers added by pasting your own keys in the client will not be taken over.
  • Available models and whether quota is displayed as balance or usage depend on vendor reporting and account status; the plugin does not log in, top up, or bypass restrictions.
  • The plugin reads local credentials; please install within a trust boundary you accept and check the source code and license.
  • Compared to dsh-workbuddy-connect, this plugin merges Qoder + WorkBuddy, modularizes the two Loader lines, and does not probe reasoning intensity; if you only need WorkBuddy and rely on specific behaviors of the other, please compare the comparison table in the README yourself.

Known Limitations (README): Windows only; if source code is modified, tools\sync.ps1 must be re-run and DSH restarted.

Conclusion

The DSH community ecosystem emphasizes “Everything is a plugin”; the SkillHub Directory Page and the GitHub Repository are independent of each other and are not official DeepSeek / High-Flyer app stores. If your model assets are already in Qoder or WorkBuddy desktop clients, DSH Agent Bridge provides an access path without duplicating key configuration: register the profile, run sync.ps1, turn on the corresponding components on the plugin page, and you can select locally logged-in models in the harness.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye