chenbin-dev/dsh-auth-everying
Import local Claude, Codex, Grok, Gemini, Copilot, OpenCode, and CC Switch configurations. Provide OAuth login for supported official providers. Discover CC Switch models from `/v1/models` and `/models` of OpenAI-compatible gateways.
项目介绍Project Overview
dsh-auth-everying 是 DeepSeek Harness 插件,用于导入本地编码平台的登录状态与提供商配置。可导入 Claude、Codex、Grok、Gemini、Copilot、OpenCode、CC Switch,并支持兼容提供商的 OAuth 登录;通过 /v1/models 或 /models 发现 OpenAI 兼容网关模型,同时保留 Codex 原有 model_reasoning_effort 设置。安装后需重启 dsh web;若 CC Switch 网关不可达,导入路由可能无模型。
dsh-auth-everying is a DeepSeek Harness plugin that imports local login state and provider configuration from Claude, Codex, Grok, Gemini, Copilot, OpenCode, and CC Switch. It supports OAuth for compatible providers, discovers models from OpenAI-compatible CC Switch gateways via /v1/models or /models, and preserves the configured Codex reasoning effort. Use it to populate the DSH model picker from local sources. Restart dsh web after install; unreachable gateways produce empty routes.
请帮我了解并安装插件:【dsh-auth-everying】【https://github.com/chenbin-dev/dsh-auth-everying】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-auth-everying
把 chenbin-dev/dsh-auth-everying 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-auth-everying
dsh-auth-everying is a DeepSeek Harness plugin for importing local coding-platform login state and provider configuration. It lets you choose which imported models appear in the DSH model picker.
Features
- Imports local Claude, Codex, Grok, Gemini, Copilot, OpenCode, and CC Switch configuration.
- Supports OAuth login for compatible official providers.
- Discovers models from OpenAI-compatible CC Switch gateways through
/v1/modelsor/models. - Exposes the Codex app-compatible
low,medium,high,xhigh, andmaxlevels without changing their wire values. The unsupportedminimallevel is hidden for CC Switch Codex routes. - Uses
mediumas the concrete Codex default so DSH does not add its separateDefaultprovider-default option. - Adds
ultraonly to models that declare or are known to support it. Non-reasoning and unsupported models do not show that selector. - Preserves the configured Codex
model_reasoning_effortand sendslow,medium,high,xhigh,max, andultrawith the same wire value. - Supports Windows installation and build workflows.
Requirements
- A working DeepSeek Harness installation with the
dshcommand available in PowerShell or a terminal. - A web profile, because the settings panel is provided by the DSH web interface.
- Node.js 22.19 or later only when building the project from source.
Install
After the package is published to npm, the shortest installation command is:
dsh plugin --profile web add dsh-auth-everying
Until the first npm release is published, install directly from the public GitHub repository:
Run these commands in PowerShell or a terminal:
dsh plugin --profile web add github:chenbin-dev/dsh-auth-everying
dsh web
The package name and the GitHub repository are different distribution channels. Publishing the repository does not by itself publish the npm package.
If DSH is already running, restart dsh web after installing or updating the plugin so the new bundle is loaded.
First-Time Setup
- Open the DSH web interface and go to Settings > dsh-auth-everying.
- In Sources, select the local login or provider configuration to import.
- Click the import action and wait for the scan to finish.
- In Imported, enable the models that should be available in DSH.
- Start a new conversation or refresh the model picker.
The plugin reads local configuration from common locations, including CC Switch, Codex, Claude, Grok, Gemini, and OpenCode. It does not require copying API keys into the project or into the README.
CLI
Show available sources and imported routes:
dsh plugin --profile web exec dsh-auth-everying status
Import sources by ID after checking status:
dsh plugin --profile web exec dsh-auth-everying import live:codex-auth live:grok-auth
Use the source IDs reported by status when your local installation exposes different IDs.
Troubleshooting
The plugin does not appear in Settings
Confirm that the install command completed successfully, stop the existing dsh web process, and start it again. Also verify that the command uses the web profile.
The imported route has no models
Open the plugin settings and run the source scan again. For a CC Switch OpenAI-compatible provider, confirm that its gateway is reachable and supports either /v1/models or /models. The configured default model is retained when the gateway does not provide a model list.
The reasoning levels do not match the provider
For CC Switch Codex routes, the selector matches the Codex app: low, medium, high, xhigh, and max are available, while minimal is hidden. The plugin uses medium as the concrete default, so DSH does not add its separate Default entry. ultra is model-specific: the plugin reads optional reasoning capability metadata from the gateway and otherwise enables it only for the known GPT-5.6 Codex aliases. Models without that capability, such as image or automatic-review models, do not show ultra. Each selected level is sent with the same wire value.
Windows installation or startup fails
Use Node.js 22.19 or later for source builds, restart DSH after installation, and ensure the dsh command is available in the same terminal where the plugin command is run.
Development
git clone https://github.com/chenbin-dev/dsh-auth-everying.git
cd dsh-auth-everying
npm ci
npm run check
npm run check runs TypeScript checks, tests, and the production build.
Do not commit authentication files, local databases, API keys, tokens, certificates, or .env files. Test fixtures must use placeholder credentials only.
License
Apache-2.0. See LICENSE.
Project repository: https://github.com/chenbin-dev/dsh-auth-everying
ruvnet/ruflo
amruthpillai/reactive-resume
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora