dsh-everything-oauth
模型与 MCP 活跃维护

dsh-everything-oauth

kam74515-boop/dsh-everything-oauth

支持把Codex、Grok、Claude、OpenCode、CC Switch本地登录凭证批量导入,基于OAuth自动识别并复用现有会话,免去手动复制Token的繁琐流程,一次操作即可完成多账号迁移。

2
Stars 标星
2
Forks 分支
2
Watchers 关注
3
Open Issues
JavaScript
主要语言
NOASSERTION
开源协议
107 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:kam74515-boop/dsh-everything-oauth
git clone https://github.com/kam74515-boop/dsh-everything-oauth.git
git clone git@github.com:kam74515-boop/dsh-everything-oauth.git
README.md main

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