Introduction¶
In the plugin ecosystem of DeepSeek Harness (dsh), many LLM access methods require an API key. If you already have a Tencent CodeBuddy account and wish to reuse its browser login and model list directly, `@shatyuka/dsh-llm-codebuddy` provides the corresponding dsh plugin solution.
What is it¶
`@shatyuka/dsh-llm-codebuddy` is a DeepSeek Harness (dsh) plugin maintained by `shatyuka` with an MIT license. It integrates Tencent CodeBuddy with dsh: it utilizes browser login without requiring an API key and allows dsh to use CodeBuddy’s own model list.
Core Features¶
The capabilities listed below are from the plugin documentation:
- Login via browser without requiring an API key.
- Use CodeBuddy’s own model list.
- Complete login in the Web UI under `Settings → CodeBuddy`.
- Login, view status, and logout using the `dsh-codebuddy-login` command in the terminal.
- View the current login status and model list.
- Delete stored login credentials.
Installation and Usage¶
First, ensure your local Node version meets the requirements: `^22.19.0 || >=24.0.0`.
Then, add the plugin to the dsh `web` profile. The Web UI will operate based on this profile:
npx @deepseek-ai/dsh plugin --profile web add @shatyuka/dsh-llm-codebuddy
This command registers the plugin to the current dsh environment, after which you can use the CodeBuddy login process in the Web UI or terminal.
Typical Usage¶
Login in the Web UI¶
Open the Web UI and navigate to:
Settings → CodeBuddy
After clicking `Sign in`, the browser will open the login page in a new tab. Once logged in, the harness will automatically write the credentials; this process does not require further terminal interaction.
Login and View Status in the Terminal¶
You can also complete login using terminal commands:
npx dsh-codebuddy-login
View the current login status and model list:
npx dsh-codebuddy-login --status
Delete stored credentials:
npx dsh-codebuddy-login --logout
Building from Source¶
If building the plugin from a source directory, you can use:
pnpm install
pnpm run build
Applicable Scenarios and Notes¶
This plugin is suitable for developers who are already using Tencent CodeBuddy and wish to integrate CodeBuddy into dsh.
Before using, confirm the following:
- Node version is `^22.19.0 || >=24.0.0`.
- The plugin license is MIT.
- The peer dependencies include `@deepseek-ai/cordis`, `@deepseek-ai/dsh-client-ui-primitives`, `@deepseek-ai/dsh-home-paths`, `@deepseek-ai/dsh-llm`, and `react`; `@deepseek-ai/schemastery` is an optional dependency.
- The plugin declares the dsh client platform as `web` and will inject `@deepseek-ai/dsh-client-runtime`, `@deepseek-ai/dsh-client-ui-settings`, and `@deepseek-ai/dsh-client-locale`.
Since the plugin runs within the current dsh process environment, it is recommended to check the source code and license before installing to confirm the dependencies and usage methods.
Reference Links¶
Directory Page:
https://www.skillhub.cn/plugins/shatyuka/dsh-llm-codebuddy
GitHub:
https://github.com/shatyuka/dsh-llm-codebuddy