cainiao1992/dsh-codebuddy-auth
cainiao1992★ 0JavaScript最后同步: 2026-08-16
CodeBuddy (Tencent IOA) provider plugin for DeepSeek Harness: OAuth login, token refresh, and model sync via native dsh seams
README 摘要
dsh-codebuddy-auth English 简体中文 A DeepSeek Harness (DSH) port of kuops/opencode-codebuddy-auth — use Tencent CodeBuddy (IOA) chat models directly in DSH: browser OAuth login, automatic token renewal, and automatic model-list sync. Log in once, and craft-agent models such as deepseek-v4-pro , glm-5.2 , kimi-k3-1 , and minimax-m3 appear in the model picker. How it works The original OpenCode plugin works through three hooks; this package maps each one onto a native DSH seam, with zero interception on the request path (DSH's pi-ai adapter natively speaks the OpenAI-completions protocol, the credential is sent automatically as Authorization: Bearer , and route headers pass through verbatim): OpenCode plugin DSH equivalent config hook: register provider + discover models from /v3/config the llm-pi-ai.providers.codebuddy route, which the plugin creates on first boot and syncs your account's real model list into after login auth hook: IOA browser OAuth + polling + refresh the codebuddy model tool ( login / status / refresh / logout / sync-models ) + automatic renewal at startup token stored in auth.json the ctx.credentials service ( /.dsh/.credentials.yaml , resolved per request, hot-swap…
在 GitHub 查看完整 README →