kam74515-boop/dsh-everything-oauth

Import local Codex / Grok / Claude / OpenCode / CC Switch logins into DeepSeek Harness

Bundle 已验证 NOASSERTION JavaScript 未知
Bundle 已验证

已收录

2

Model

Bundle 已验证

版本未知
语言JavaScript
许可证NOASSERTION
在 GitHub 查看

功能介绍

把本机 Codex / Grok / Claude / OpenCode / CC Switch 登录态导入 DSH,在设置里自选来源并启用模型。

适合

  • 本机已有 Codex、Grok、Claude、Gemini、OpenCode 或 CC Switch 凭据,并希望在 DSH 中复用的用户。
  • 希望选择导入来源,并只在模型选择器中启用指定模型的多供应商用户。
  • 希望免于重复登录,并使用官方 OAuth 路由或兼容自定义路由的本地环境。

不适合

  • 没有任何受支持本地登录文件、钥匙串记录或环境变量密钥的新机器或隔离部署。
  • 不希望 DSH 读取本机凭据来源的用户,即使源文件只会被只读访问。
  • 要求 token 刷新绝不能影响原 CLI 登录的工作流;刷新可能轮换 token 并使原 CLI 退出。

README

dsh-everything-oauth

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

Scans the same places CC Switch cares about:

Source What is imported
~/.cc-switch/cc-switch.db Claude / Codex / Gemini / OpenCode providers (DeepSeek, Kimi, official, …)
~/.claude/settings.json ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN
macOS Keychain Claude Code-credentials Claude subscription OAuth
~/.codex/auth.json ChatGPT / Codex OAuth or OPENAI_API_KEY
~/.grok/auth.json + config.toml SuperGrok OAuth and custom model keys
~/.config/opencode/opencode.json OpenCode providers
~/.gemini/.env GEMINI_API_KEY
process env ANTHROPIC_*, 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

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:kam74515-boop/dsh-everything-oauth。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。