cainiao1992/dsh-codebuddy-auth ↗★ 0
dsh-codebuddy-auth
适用于 DeepSeek Harness 的 CodeBuddy (腾讯 IOA) 服务商生命周期插件:支持浏览器 OAuth 登录、Token 刷新、凭据存储以及模型同步。
AI 分析
核心用途是管理 CodeBuddy 服务商的身份认证与 Token 刷新。适合需要调用腾讯内部 CodeBuddy 模型的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cainiao1992/dsh-codebuddy-auth说明文档
阅读完整 README ↗Usage
- Switch models: pick any model under CodeBuddy in the model picker (e.g.
deepseek-v4-pro) - Status: "check codebuddy status" → the
codebuddytool'sstatusaction - Renewal (automatic, three layers): ① at every startup, the token is renewed when less than 5 minutes of validity remains (or it has already expired); ② while running, a check every 30 minutes renews whenever less than 1 hour remains — covering a long-lived dsh that never restarts; ③ if the refresh token itself is invalidated (password change / revocation), the first two layers fail and log it — then say "refresh codebuddy" to confirm, or log in again
- Model updates: after Tencent ships new models, say "sync codebuddy models" →
sync-models - Logout: "log out of codebuddy" → clears stored credentials