dsh-workbuddy-checkin: Complete Your Daily WorkBuddy Check-in in the DSH Sidebar

Introduction

In DSH (DeepSeek Harness), when writing code or tuning agents, the “Daily Check-in” button in the WorkBuddy domestic client is often out of sight, making it easy to miss a day. Placing the check-in entry in the DSH sidebar allows you to see if you have signed in today without switching apps, and click to claim it when needed. The community plugin dsh-workbuddy-checkin (maintainer MorrowXu) takes this path: it reuses the existing login from the desktop client, without opening a separate login page, and without silently checking in when you haven’t clicked the button.

What is this

dsh-workbuddy-checkin is a DSH bundle plugin (dsh.bundle in package.json), not a standalone app. It reads the credentials stored on disk by the WorkBuddy domestic client, communicates with the Host via local loopback HTTP, displays a status dot and text in the sidebar.footer.action slot (next to Settings), and clicking it expands a panel approximately 320px wide. It is categorized as “Network Tools” in the SkillHub Directory; source code and bilingual README are available at the GitHub repository. The current version in the documentation is 0.2.0, license MIT.

Core Features

Below are the capabilities already explained in the README and consistent with the implementation.

  1. Login Status Detection: Reads *.info files in %LOCALAPPDATA%\CodeBuddyExtension\Data\Public\auth\ (and corresponding paths for macOS, Linux) without starting the WorkBuddy main program.
  2. One-Click Check-in: Supports multiple accounts; does not repeat requests for the same day; skips accounts that have already completed the check-in or are marked as “already checked in” by the upstream.
  3. Feedback on Arrival: Displays points received this time, consecutive login days, and remaining points balance (can be disabled via configuration).
  4. Cross-day and Polling: Calendar day based on Asia/Shanghai; checks date every 5 minutes when the panel is open, and immediately when the window is focused or the tab is visible.
  5. Credential Health Check: Locally determines if the JWT is expired or if the domain is a non-production environment; if invalid, it refuses to initiate upstream requests with a bearer token.
  6. Interface Language: Follows the host’s document.documentElement.lang; copy is built into client.js.

Sidebar dot meanings (as per README convention): Green = checked in today, Yellow = pending check-in, Red = unable to check in (includes failures or expired login), Grey = querying, not logged in, credentials unreadable, or no available accounts.

How it Works (Summary)

The Client side (client.js) is responsible for rendering and polling; the Host side (index.js) registers three routes trusted only locally, reading credentials via credentials.js, calling upstream via upstream.js, and writing status files via store.js. Configuration is delivered via the request header x-workbuddy-checkin-config (base64url JSON); changing configuration does not require restarting the Host.

Upstream calls use HTTPS interfaces on the account’s own domain, for example POST /v2/billing/meter/daily-checkin (to claim daily points, timeout 15s), checkin-activity-status, get-user-resource, etc., see the “Upstream Interfaces” section in the README for details.

Local results are written to <DSH_HOME or ~/.dsh>/.workbuddy-checkin.json, permissions 0600, storing only check-in results, not tokens or keys.

Installation and Enablement

Environment requirements (from original README):

Item Requirement
DSH Version with webServer service (Desktop or Web GUI)
Node ≥ 20
Host Dependencies @deepseek-ai/cordis ^4.0.5, react ^18.2.0 (peer)
WorkBuddy Domestic client 5.6+, and logged in on the local machine

Method 1: Install as bundle to current profile

In the DSH plugin management process:

plugin_manager → install_bundle → target = <absolute path to package directory>

If a restart is prompted, restart the DSH desktop client; after refreshing the page, an entry should appear next to Settings in the sidebar.

Method 2: Manually mount into profile

The cordis.patch.yml inside the repository has already registered the Host entry:

- insert:
    - id: workbuddy-checkin
      name: dsh-workbuddy-checkin

Place this package into the profile’s node_modules and let the profile’s patch reference this entry; the effect is the same as Method 1.

The documentation does not provide commands like dsh plugin add github:...; installation should follow the two methods mentioned above in the README.

Configuration

Set in the profile’s plugin configuration; Host and Client read it once each; default values are consistent:

Field Type Default Description
autoCheckinOnOpen boolean false Automatically performs a make-up check-in once when the panel is open and there is no record for today
hideWhenSignedOut boolean true When not logged in or credentials are unreadable, only show the icon without the status text (the entry is still clickable)
showBalance boolean true Display remaining points and refresh button

Typical Usage

  1. Confirm WorkBuddy domestic client is logged in on the desktop (5.6+).
  2. After installing and enabling the plugin, look at the dot at the bottom of the sidebar: when it is a yellow dot “Pending”, click to expand the panel, then click One-Click Check-in.
  3. When it is a green dot “Completed Today”, you can view points gained, consecutive days, and balance; if needed, use Refresh Balance (only calls POST /refresh, will not check in again).
  4. If autoCheckinOnOpen is enabled, when opening the panel and there is no record for the new day, the Host may automatically perform a make-up check-in once during GET /status (with auto: true in the response).

Local HTTP paths (only loopback trusted, otherwise 403):

GET  /plugins/dsh-workbuddy-checkin/status
POST /plugins/dsh-workbuddy-checkin/checkin
POST /plugins/dsh-workbuddy-checkin/refresh

Applicable Scenarios and Notes

Who it’s for: People who are already logged into the WorkBuddy domestic desktop client, work daily in DSH, and want to keep “did I sign in today” right next to their coding interface. International version credentials (*-ai.info) will be ignored as the upstream does not have a check-in interface.

Permissions and Security: The plugin runs with the current DSH process permissions. It reads the client auth directory and may use the Electron executable to retrieve local protection keys to decrypt the wrapped accessToken in certain environments like Windows. Before installation, you should review the source code and MIT license yourself to confirm that reading credentials and local outbound network traffic are acceptable.

Known Limitations (from README): By default, signing in is only initiated when you click the button; if credential decryption fails, it displays “Credential Abnormal” instead of silently treating it as not logged in; there are deliberate rate limits after decryption failure, such as a 30-second cooldown for Electron launches and a 24-hour memory key cache. For multi-accounts, check-ins are serial; double-clicking will not trigger two check-ins.

The community directory SkillHub is related to DSH’s “Everything is a Plugin” ecosystem and has no official affiliation with DeepSeek / Fudan.

Conclusion

dsh-workbuddy-checkin narrows the WorkBuddy domestic client’s daily check-in to a status on the sidebar and one click: no separate login, no silent check-in, and retains the entry with an explanation when it fails. For installation steps, configuration fields, and HTTP and upstream details, refer to the repository README.

  • Directory page: https://www.skillhub.cn/plugins/MorrowXu/dsh-workbuddy-checkin
  • GitHub: https://github.com/MorrowXu/dsh-workbuddy-checkin
羽毛球分组比赛记分
小程序二维码

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

Xiaoye