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
- Sliverkiss/workbuddy2api (MIT) — reference for the WorkBuddy upstream protocol.
- franksong2702/dsh-codex-connect (Apache-2.0) — reference for DSH plugin structure and provider registration.
License
MIT.
Contributing
Bugs and requests go to the repo Issues.
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 89228
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 2083
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1023
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 644
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.