DeepSeek Harness Plugin

dsh-plugin-lab/dsh-workbuddy-bridge

Stars ★ 50 Downloads (30d) 8,547 Category Models & Providers Added 2026-10-14 npm dsh-workbuddy-bridge

Brings WorkBuddy desktop-app models into DeepSeek Harness: the China and international builds each appear as their own group in the model picker, with the reasoning tiers the upstream declares, per-reply credit cost and remaining balance, per-account model visibility, and image input where supported.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-workbuddy-bridge

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:dsh-plugin-lab/dsh-workbuddy-bridge

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README


[!NOTE] Credentials never leave this machine: sign-in state is read from the WorkBuddy desktop app's own credential file and kept as one encrypted local copy; the browser half never sees a token, and none ever appears in the UI.

The CN WorkBuddy and the international WorkBuddy AI coexist: install one app and its model group appears; install both and the two groups sit side by side, each with its own account and credit. The models appear directly in the DSH model picker — no separate provider to configure.

Capabilities

  • Zero configuration — install, enable, and the model group appears by itself.
  • Two isolated versions — "WorkBuddy" (CN) and "WorkBuddy AI" (international) each form their own group; models, accounts and credit never mix, and each follows only its own app's sign-in.
  • Reasoning levels — models that declare levels expose them directly; the rest can be checked manually on the plugin page. The bulb means "this model can switch levels"; a declared model shows it too, it just has nothing to detect. A switchable model also carries a default level (the upstream's own declaration when it has one, otherwise high), so the picker no longer offers "Default". Off means "send no level parameter": neither endpoint accepts that literal, so the plugin never puts it on the wire — whether thinking is then actually disabled is up to the upstream, and the plugin makes no claim.
  • Credit in view — each reply shows what it consumed, and remaining credit sits beside the model picker. Nothing renders when a figure is unavailable.
  • Model visibility — tick which models appear in the picker on the card's "Models" tab, saved per signed-in account.
  • Image input — most models accept pasted or dropped images; text-only models say so explicitly.
  • Three surfaces — Web, Desktop and TUI; only the TUI lacks manual detection.

Install

One prerequisite: the WorkBuddy desktop app is installed and signed in (WorkBuddy AI for the international version) — the plugin reuses the app's sign-in state.

dsh plugin --profile web add dsh-workbuddy-bridge
dsh web

For Desktop and TUI swap --profile web for desktop / dsh-tui (the TUI needs a recent version of the terminal plugin @deepseek-harness-tui/dsh-tui — see its docs).

Or from source:

git clone https://github.com/dsh-plugin-lab/dsh-workbuddy-bridge.git
cd dsh-workbuddy-bridge
pnpm install && pnpm build
dsh plugin --profile web add "$PWD"

⚠️ The pnpm install above is not optional: under a path install the repository has to supply its own dependencies (see local development setup) — skip it and the plugin shows as "not running" (ERR_MODULE_NOT_FOUND).

The plugin page

Sidebar Plugins → installed → click DSH WorkBuddy Bridge. The configuration area sits right under the description and takes effect on save:

  • Sign-in file paths (CN / international) — leave blank to use the app's own location.
  • Allow reasoning-level detection and use the largest declared context window — two switches.

Why detection is manual

The WorkBuddy API does not guarantee that level information is reliable — some models were observed to accept reasoning_effort while silently ignoring unknown values. So the plugin does not guess: it confirms one model at a time with a few real requests on demand, and a result only means the upstream currently accepts that level — it does not promise any change in behaviour. Models that declare their levels skip this step and use the declared set directly. Mechanism and trade-offs in docs/ARCHITECTURE.md.

Compatibility and limits

The bridge reuses a prompt cache identifier per DSH session for hy4std, hy4flash, and hy4flash-free in both CN and Global. To disable this behavior, set WORKBUDDY_HY4_CACHE_AFFINITY=0 before starting the host.

A group without credentials does not appear. The host version floor, platform support, where the model catalog comes from and known gaps → docs/COMPATIBILITY.md.

Design notes → docs/ARCHITECTURE.md; release process → docs/PUBLISHING.md; maintainer map → AGENTS.md.

Disclaimer

  • This project is for personal study and research only; it drives your own WorkBuddy account on your own machine. Do not use it commercially.
  • You must comply with WorkBuddy's terms of service; any consequences are your own responsibility.
  • Not affiliated with, nor endorsed by, Tencent, WorkBuddy, or DeepSeek; names appear only to describe compatibility, and trademarks belong to their owners.

Acknowledgements

License

MIT.

Contributing

Bugs and requests go to the repo Issues.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.