Skip to content

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

dsh-everything-oauth

Fork note (jjksam) — this fork differs from kam74515-boop/dsh-everything-oauth:

  • Dropped the prepare build script. The npx tsdown build-on-install failed on Windows and also tripped pnpm's allowBuilds gate for git-hosted installs. lib/ is committed, so installs use the prebuilt output directly.
  • Unscoped the package name back to dsh-everything-oauth. The prebuilt lib/client.js registers its module id under that name; a scoped name broke client-plugin discovery (the Settings page never appeared).
  • scripts/prepare.mjs now uses npx.cmd on Windows, kept for anyone who re-enables the prepare step.

Install from this fork:

dsh plugin --profile web add github:jjksam/dsh-everything-oauth
# or --profile desktop for the DSH Desktop app

The Settings → Everything OAuth page may not appear (client-plugin discovery issue); use the CLI instead:

dsh plugin --profile web exec dsh-everything-oauth status
dsh plugin --profile web exec dsh-everything-oauth import <source-id...>

status lists discovered sources and their ids (e.g. ccswitch:claude:<uuid>); pass those ids to import.

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

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages