dsh-llm-codebuddy-power: Integrate all CodeBuddy models and accounts into DSH

Preface

When developing agents or conversations in DeepSeek Harness (DSH), the common practice is to integrate various APIs yourself and maintain keys and model lists. The official CodeBuddy (WorkBuddy) client, however, utilizes browser-based login with its own subscription and quota system, handling model switching and usage display entirely within the product. If you wish to integrate CodeBuddy’s models, multi-account, and usage capabilities into the DSH Web side without replicating the entire client, dsh-llm-codebuddy-power provides a packaged provider plugin path: after installation, simply log in via the plugin card or CLI to select models provided by CodeBuddy and manage accounts within the Harness.

What is this

dsh-llm-codebuddy-power is a DSH plugin published by the maintainer pgnqukezrdxmhjso. The npm package name and plugin name are both dsh-llm-codebuddy-power. The version in current documentation is 1.5.0, licensed under MIT. The plugin describes itself as “A full-featured CodeBuddy (WorkBuddy) provider plugin” and is categorized under “Model Inference” in the SkillHub community directory. Design documentation can be found in design/en/current.md within the repository.

Core Features

The following capabilities are derived from the plugin’s README.

Models & Conversations

  • Supports all models provided by CodeBuddy, with switching available at any time.
  • Model Panel: Displays promotions, subscriptions, credit multipliers, and discounted prices for each model; hover or click for details, and configure thinking intensity, context window, and max output.
  • Image Input: Models supporting images allow pasting or attaching pictures.

Image Generation

  • Can request image generation from models within conversations; click the result for full-screen viewing.

Accounts

  • Browser-based login, no API Key required.
  • Supports maintaining multiple accounts logged in simultaneously; each session can be bound to a specific account.
  • Manage accounts on the Plugins page: drag-and-drop sorting, batch logout.
  • Switch the account used for the current session in the input area.

Usage

  • Quota Ring: Combined display of main quota and gifted quota, with the remaining gifted amount shown in the center.
  • Credits per turn are displayed at the end of each reply; hover to see the billing account and request ID for the turn, click to copy the full ID.

Conversation Activity Reporting

CodeBuddy maintains a daily activity map for the official client, and activity is only counted via a separate reporting channel. This plugin reports by default, but this can be disabled in the plugin card’s Preferences.

When enabled:

  • Conversations here count towards the same daily activity map as the official IDE.
  • Each request reports the model, token count, time, and result, aligned with what the official client sends.

Costs and Notes:

  • Sends data to CodeBuddy: model, input/output tokens, success status, timestamp; does not include prompt or model response text.
  • Reports include a device identifier generated and stored locally by this plugin for each account; CodeBuddy can distinguish that the source is not the official IDE. This identifier is not shared with the official client.
  • The protocol aligns with the official one, but whether the server always accepts it is determined by CodeBuddy and is outside the plugin’s control. Once the toggle is off, no reporting requests are made.

Preferences

Configurable options include: whether to show the quota ring, low quota warning percentage, whether to provide drawing tools in minimal mode, and whether to report conversation activity.

Command Line

Provides the codebuddy-power subcommand for managing accounts in the terminal (see typical usage below).

Installation & Activation

The official installation method is as follows; installing plugins directly via GitHub is not supported.

dsh plugin --profile web add dsh-llm-codebuddy-power

The plugin runs within the DSH process with the permissions of its installation. Before installing, it is recommended to review the GitHub repository source code and MIT license to ensure compliance with your environment and requirements. The community directory page SkillHub and DeepSeek / High-Flyer have no official affiliation; it is a community index only.

Typical Usage

Web Interface

  1. Open Plugins in the sidebar and enter the dsh-llm-codebuddy-power card.
  2. Click Sign in to add an account; the copy button next to it places the login link on the clipboard for completion in other browsers or machines.
  3. Drag account badges to adjust order; use Multi-select to log out one or more accounts.
  4. The account button in the input area switches the current session account; the session follows the account used first until switched again.

CLI

Log in and append accounts (opens browser by default; use --no-open to print link only):

dsh plugin --profile web codebuddy-power

Common parameters:

Parameter Description
--status List all accounts by index and show model list
--logout <account> Log out specified account (<account> can be uid, index, or nickname)
--logout --all Log out all accounts
--no-open Print login link only, do not open browser
--help / -h Print usage

Scenarios & Notes

Suitable for: Developers already using or planning to use CodeBuddy’s subscription and model system who wish to run conversations and agents under the DSH Web profile; scenarios requiring multi-account parallelism, viewing quota and per-turn credits within the Harness, and (optionally) wanting conversations here to count towards the CodeBuddy daily activity map.

Notes:

  • The installation command must use the npm package name dsh-llm-codebuddy-power; do not construct installation methods like github:owner/repo yourself.
  • Conversation activity reporting is enabled by default and sends metadata to CodeBuddy; if you do not want reporting, disable it in Preferences.
  • The DSH version used during plugin development was 0.1.7-rc.2; if this differs from your local DSH version, actual runtime behavior prevails. Check repository issues if necessary.
  • For secondary development, the plugin needs to be placed under the packages/<group>/ path in the dsh repository; the local build command is pnpm --filter dsh-llm-codebuddy-power build.

Conclusion

dsh-llm-codebuddy-power consolidates CodeBuddy’s model panel, browser login, multi-account, quota display, and optional activity reporting into a single DSH installation command and a set of Web/CLI operations. If your goal is “to chat with a CodeBuddy account in the Harness without building your own API layer,” install it via the command above and complete login on the Plugins card.

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

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

Xiaoye