Preface¶
When integrating third-party models into DeepSeek Harness (DSH), the common approach is to provide your own API Key or use the official open platform. If the Doubao desktop client is already logged in, the session credentials are stored in local Chromium cookies, but the Harness itself does not read these files. If you wish to treat the Seed series models under the same account as a DSH model provider and view quota overviews in the settings, you need a plugin pipeline that “reads local login state → registers provider → lists available models.”
Below is an introduction to the community plugin DSH Connect Doubao (npm package name dsh-connect-doubao, maintained by Wahwayhale). It does not reuse account password logins; instead, it relies on the Doubao PC version already logged in on Windows, uses the decrypted cookies for upstream dialogue requests, and provides a read-only display of 5-hour limits and weekly quotas in the settings panel.
What is this¶
The positioning of DSH Connect Doubao is to: connect the existing login state of the local Doubao desktop client to DeepSeek Harness as a provider for the Seed series models, and provide a read-only quota overview (5-hour limit / weekly quota and reset countdown) in the settings panel.
The plugin registers a pi-ai provider via the DSH plugin mechanism, mounts a “Doubao” navigation card in the settings sidebar, and runs a loopback shim listening only on 127.0.0.1 to forward dialogue requests. The project uses the MIT license, and the current npm version is 0.1.0 (subject to package.json).
Prerequisites¶
The hard conditions listed in the README must be met before use; otherwise, the card will display “Not Logged In” or the provider will be unavailable.
| Requirement | Description |
|---|---|
| Doubao desktop client logged in | The plugin will not log in for you or enter account passwords |
| Windows x64 | Credential decryption relies on Windows DPAPI; macOS / Linux not supported |
| Available subscription quota | Free accounts can connect, but quota is small |
Credentials are read from the Doubao client’s Chromium cookie jar and decrypted using DPAPI within the current process; cookie values are not written to disk, logs, or command lines. If the Doubao client is not logged in, the plugin will explicitly report an error rather than silently failing.
Core Features¶
Seed Models & Thinking Intensity¶
The model catalog comes from the Doubao client configuration cache (server-issued menuConfV2). The model_item_key is the same string as the model id on the DSH side, with no additional mapping. The six entries listed in the README are as follows:
| id | Name | Badge | Thinking Support |
|---|---|---|---|
0 |
Doubao Fast | — | Supported |
seed-lite-7b |
Doubao 2.1 Lite | 0921 New |
Supported |
3 |
Doubao 2.1 Turbo | Expert |
Supported |
5 |
Doubao 2.1 Pro | — | Supported |
4 |
Doubao 2.1 Turbo | Deprecated |
Supported |
9 |
Auto | — | Supported |
The three levels of thinking intensity (Low / Mid / High) correspond to upstream reasoning_effort tested values of 3 / 4 / 5. In the settings card, you can check which entries should appear in the DSH model selector; requests are initiated according to model_item_key after saving.
Read-only Quota & Account Status¶
A “Doubao” primary navigation item appears on the left side of the settings panel; the right-side card displays two progress bars for the 5-hour limit and weekly quota, along with their respective reset countdowns, supporting manual refresh and approximately 5-minute auto-refresh. The account status line distinguishes between “Logged In / Not Logged In / Login Info Unreadable” and provides corresponding handling suggestions.
Local Shim & Diagnostic Commands¶
Dialogue requests are forwarded via a local loopback endpoint with a per-process shared secret; non-local sources are rejected. The read-only routes /plugins/dsh-connect-doubao/quota and /catalog construct responses according to an explicit allowlist and do not pass through arbitrary upstream fields.
You can perform link health checks without consuming inference quota:
dsh-connect-doubao-doctor
dsh-connect-doubao-doctor --json
The smoke probe consumes one inference quota:
dsh-connect-doubao-probe --prompt "hi"
dsh-connect-doubao-probe --prompt "hi" --model 5 --thinking high --json
Optional parameters for probe include --model <key>, --thinking <low|mid|high>, --json, --timeout <ms> (default 120000). doctor outputs conclusions in four sections: credentials, account, provider assembly, and quota; credentials only report the count, not the values.
Installation & Host Version¶
Installation via DSH CLI is recommended (commands from the project README):
dsh plugin --profile desktop add dsh-connect-doubao
You can also install the npm package globally and then execute the same add command:
npm install -g dsh-connect-doubao
dsh plugin --profile desktop add dsh-connect-doubao
For local development, you can pass the source directory path to add (it will be written as a link: dependency; after modifying the source code, simply run npm run build without reinstalling).
Supported host range (declared in README):
| Project | Version |
|---|---|
| DeepSeek Harness | >=0.1.7-rc.1 <0.3.0-0 (Documentation tested on: 0.2.0-rc.2 desktop version) |
@earendil-works/pi-ai |
>=0.85.0 <0.88.0 |
| Node.js | ^22.19.0 \|\| >=24.0.0 |
Please check the GitHub repository source code and MIT license yourself before installation. The plugin runs with the current DSH process privileges and will read cookie files under the local Doubao user data directory.
Typical Usage¶
- Install and log in to the Doubao PC version on Windows (README verification environment: Doubao 2.31.4).
- Add the plugin to the DSH desktop profile using the command above, restart or load the plugin as required by the host.
- Open Harness Settings → “Doubao” on the left, confirm the account status is logged in, refresh the quota and model list, check the desired models, and save.
- Select entries under the “Doubao” group in the DSH model selector; to adjust thinking depth, configure within the supported levels (Low / Mid / High).
- If the provider is unavailable, run
dsh-connect-doubao-doctorfirst, then troubleshoot credentials paths, login status, and the shim based on the four-section conclusions.
Credential lookup order (code logic): %LOCALAPPDATA%\Doubao\User Data → %APPDATA%\Doubao\User Data → AppData\Local\Doubao\User Data under each user; the hit condition is the existence of Default\Network\Cookies. The README notes that the first entry was tested and passed locally, while the others are fallback branches not verified on real machines.
Use Cases & Notes¶
Who it is for: Developers who already use the DSH desktop version on Windows and consume Seed quota daily via the Doubao PC version; those who want to uniformly select models and view dual-window quotas within the Harness without opening a separate set of Open Platform Keys.
Limitations you must be aware of (Summary from README “Known Limitations”):
- Uses unofficial interfaces and reverse-engineered client behavior; upstream changes may cause failure without notice.
- Platform is Windows only; risk control sliders need to be manually verified in the Doubao client.
- This provider only sends text blocks and does not provide image input; single account, no account pool.
- The Turbo entry with id
'4'marked “Deprecated” is noted in the README as not tested for dialogue; the response side cannot independently prove that the server definitely used the selectedmodel_item_key. - The project declares it is for personal learning and research only and is not affiliated with ByteDance, DeepSeek, or DeepSeek Harness officials; use must comply with Doubao’s Terms of Service, and risks are borne by the user.
The community plugin directory SkillHub Entry and the GitHub repository are independent of each other and do not constitute an official app store or official endorsement. Before installing third-party plugins, it is recommended to read the disclaimer and acknowledgments in the README (the design approach borrowed from the plugin structure of dsh-connect-workbuddy, but the code is an independent implementation).
Links¶
- Directory Page: https://www.skillhub.cn/plugins/Wahwayhale/dsh-connect-doubao
- Source Code & Full Description: https://github.com/Wahwayhale/dsh-connect-doubao
DSH Connect Doubao turns “locally logged-in Doubao” into a selectable and diagnostic Seed provider within the Harness, accompanied by a read-only quota panel; provided Windows and the Doubao client are ready, simply install using the official dsh plugin --profile desktop add command to begin configuration and doctor health checks.