dsh-codebuddy-auth
Native DeepSeek Harness provider plugin for Tencent CodeBuddy models with browser OAuth, token renewal, and model synchronization.
Install
$ dsh plugin --profile web add github:cainiao1992/dsh-codebuddy-authPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Registers a native `ctx.llm` adapter for the `codebuddy` provider.
- Supports browser-based OAuth login and a standalone Node.js login CLI.
- Stores credentials through `ctx.credentials` and can clear them on logout.
- Renews tokens at startup, periodically while DSH runs, and on demand through tool actions.
- Synchronizes the CodeBuddy model catalog from `/v3/config`, with a five-minute catalog cache.
- Provides SSE streaming, message serialization, reasoning-effort metadata, and error mapping.
- Supports China edition by default and an international edition through mount configuration.
Useful For
- Use Tencent CodeBuddy chat models from the DeepSeek Harness model picker.
- Authenticate a DSH profile with CodeBuddy through an agent-directed browser login.
- Bootstrap CodeBuddy credentials on headless or remote machines with `--no-browser`.
- Refresh available CodeBuddy models after catalog updates.
- Choose model-specific reasoning effort levels exposed by CodeBuddy discovery metadata.
Who It Fits
- DeepSeek Harness users with a Tencent CodeBuddy account.
- Users who want CodeBuddy models available as a native DSH LLM provider.
- Operators configuring DSH on local, remote, or headless environments.
Documented Limitations
- Requires Node.js 18.12 or later and a DSH installation with `pnpm` available on PATH.
- The chat endpoint requires streaming requests; non-streaming requests return code `11101`.
- Model discovery requires Craft/VSCode-oriented request headers to expose reasoning metadata.
- The default configuration targets the China edition; international use requires `edition: intl` in the mount configuration.
- If a refresh token is invalidated, the user must confirm refresh or log in again.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 0 development, 1 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- cainiao1992/dsh-codebuddy-auth
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 3fea159 · 2026-09-18
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 0GitHub stars
- Forks
- 1
- Open issues
- 1
- Last commit
- 2026-08-17
- Last release
- 2026-08-17
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Compatibility bridge and host ABI enabling unmodified Pi plugins to run natively on DeepSeek Harness.
View plugin →Persistent multi-model Agent teams and bounded DAG workflows with GUI controls for DeepSeek Harness.
View plugin →Second-model AI auto-review for DeepSeek Harness approval requests with fail-closed safety and session audit.
View plugin →Native SQLite-backed local project taskboard plugin and UI for DeepSeek Harness with Agent claim and review flows.
View plugin →