kam74515-boop/dsh-everything-oauth
Import local Codex / Grok / Claude / OpenCode / CC Switch logins into DeepSeek Harness
已收录
2
Model
Bundle 已验证
功能介绍
把本机 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:
- Sources — select local logins / keys
- 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 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。