kam74515-boop/dsh-everything-oauth ↗★ 3

dsh-everything-oauth

把本地 Codex、Grok、Claude、Copilot、Gemini 登录状态导入 DSH。 适合已在这些平台登录、想免重复登录的用户;导入只读,刷新令牌可能使原 CLI 登出。

包名
dsh-everything-oauth
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
^4.0.1-rc.1
版本
0.1.0
许可证
NOASSERTION
最近更新
2026年8月14日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kam74515-boop/dsh-everything-oauth

dsh-everything-oauth

Import local coding-platform logins into DeepSeek Harness without signing in again.

Scans the same places CC Switch cares about:

SourceWhat is imported
~/.cc-switch/cc-switch.dbClaude / Codex / Gemini / OpenCode providers (DeepSeek, Kimi, official, …)
~/.claude/settings.jsonANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN
macOS Keychain Claude Code-credentialsClaude subscription OAuth
~/.codex/auth.jsonChatGPT / Codex OAuth or OPENAI_API_KEY
~/.grok/auth.json + config.tomlSuperGrok OAuth and custom model keys
~/.config/opencode/opencode.jsonOpenCode providers
~/.gemini/.envGEMINI_API_KEY
process envANTHROPIC_*, OPENAI_API_KEY, XAI_API_KEY, GEMINI_API_KEY

Official routes: claude-oauth, codex-oauth, grok-oauth, gemini-oauth, copilot-oauth. CC Switch gateways become everything-* custom routes (Anthropic-compatible or OpenAI-compatible).

Install

dsh plugin --profile web add github:kam74515-boop/dsh-everything-oauth
dsh web

Then Settings → Everything OAuth:

  1. Sources — select local logins / keys
  2. Imported — enable only the models you want in the picker

CLI:

dsh plugin --profile web exec dsh-everything-oauth status
dsh plugin --profile web exec dsh-everything-oauth import live:codex-auth live:grok-auth

Source files are read-only. OAuth refresh later may rotate tokens and sign the original CLI out.

Discoverable via the GitHub dsh-plugin topic.

License

Apache-2.0