dsh-connect-two
Manifest validOne panel for the credits and daily check-in of locally signed-in Trae and WorkBuddy accounts, with an opt-in daily automatic check-in.
dsh-connect-two
One panel for the credits and daily check-in of your locally signed-in Trae and WorkBuddy accounts, with an opt-in daily automatic check-in.
A companion bundle, not a fork.
dsh-connect-traeanddsh-connect-workbuddystay installed and keep receiving upstream updates; this plugin only reads their read-only routes and calls the check-in route they already ship.
Why not merge the two plugins
| A. Companion bundle (this) | B. Merge into one plugin | |
|---|---|---|
| One panel for both apps | ✅ | ✅ |
| Upstream keeps updating | ✅ upgrade directly | ❌ permanently diverged |
| Maintenance cost | ~500 lines | fork two 1.4 MB builds, 100+ sources |
| After uninstalling | both plugins keep working | you own all of it |
Both upstream plugins iterate fast (4.6.12 / 5.17.0 locally while upstream had already shipped 4.7.0 / 5.18.0). Merging means hand-porting every release from then on, so this is a companion instead.
What it does
- Unified panel under Settings → Plugins → "Check-in & Credits": the four panels (Trae CN / Global, WorkBuddy CN / Global) with sign-in state, available and total credits, today's check-in state, and streak length.
- Check in all / check in one: shown only for the domestic side, because the global sides have no check-in activity at all.
- Daily automatic check-in: off by default. When enabled you choose the run time, which apps it covers, and whether a missed slot is caught up on the next start.
- Check-in log: manual and scheduled runs are both recorded, each row saying claimed / already claimed / device quota used / failed.
Install
# In Harness, through plugin_manager:
install_bundle target = <absolute path to this repo>
Or once published to npm:
dsh plugin add dsh-connect-two
A successful install reports application: "applied". Host-side changes need
a dsh web restart to load; the Client half hot-reloads.
Usage
- Settings → Plugins → Check-in & Credits.
- The rows are live; Refresh re-reads them.
- Check in all, or the per-row Check in, claims today's reward now.
- For automatic check-in, turn the switch on, set the time, pick the apps. The scheduler runs while the Harness process is up; a slot missed while it was down only executes if Catch up missed runs is enabled.
Safety notes
- Check-in is the only operation that changes upstream account state, and it is driven only by your button press or by a schedule you explicitly enabled.
- Both routes are loopback-only. The Hub additionally checks the
Hostheader, so a foreign origin or a DNS-rebinding host is refused with 403. - Repeated claims are harmless: both upstream plugins read today's status first
and answer
alreadyCheckedIninstead of claiming twice. - A run where every target failed does not mark the day as done, so the slot stays open and retries. A partially successful run does mark it.
State
$DSH_HOME/dsh-connect-two/state.json— config, log (last 200 entries), and the day of the last automatic run.- Delete it to return to defaults (automatic check-in off).
- Config validation lives in one place; an invalid time is normalised back to a legal value instead of being stored.
Development
npm test # 12 contract tests, no Harness needed
npm run check
Layout: src/ holds the plugin (the package root manifest points into it),
test/ the contract tests, docs/ the design notes and the measured log.
Boundaries (stated plainly)
- Check-in exists on the domestic side only. The global sides show credits but no check-in button, because their upstream has no such activity.
- WorkBuddy enterprise / education seats are refused by the upstream write
API (
10001); those rows report failure as failure rather than faking success. - Automatic check-in depends on the Harness process being alive at the chosen time, unless catch-up is enabled.
- The panel has not been visually reviewed in a browser by this repository's
author; styling uses only
--dsw-alias-*theme tokens so it follows the host light/dark theme.
License
MIT. See LICENSE.
Comments
Loading…
Similar plugins
by G57651
One DeepSeek Harness plugin that checks in Trae and WorkBuddy from local login files only. The two platforms run independently and do not block each other.
★ 4
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-dual-checkinby leoc114119
DSH (DeepSeek Harness) 插件:注册 workbuddy_checkin 工具,读取本机 WorkBuddy 加密登录态并完成每日积分签到
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-workbuddy-checkinOne-click WorkBuddy daily check-in button pinned to the composer tool row. Clicking it calls the check-in route provided by dsh-connect-workbuddy for the currently selected account, and shows the resu
★ 0
dsh plugin --profile web add dsh-checkin-workbuddyby SnailMann
Scheduled daily credit check-in for Trae CN, WorkBuddy, Qoder and MiniMax Code with per-platform toggles and history. Currently verified on macOS with DSH Desktop 0.12.1.
★ 1
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add dsh-credit-checkin-hubby corrinehu
Runs the WorkBuddy (CN) daily check-in on DSH startup — discovers every account logged in on this machine, claims the daily credits, and shows a status entry on the session title line with a details p
★ 10
↓ 250/wk
MIT
TypeScript
Oct 20, 2026
dsh plugin --profile web add dsh-buddy-checkinby chengzhi-c
把本机 WorkBuddy、Trae、Qoder 的桌面登录接入 DeepSeek Harness:每家一个 OpenAI 兼容的本地端点,账号池、自动换号与设置面板。
★ 8
↓ 798/wk
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-wtq-pool