dsh-plugin-subhub — third-party subscription accounts inside DeepSeek Harness

Dsh Plugin Subhub

English · 中文

Awesome DSH Plugin dsh-recommend · certified GitHub stars

Release v1.0.0 License: MIT Node.js >= 18.17 DSH Web profile

Bring a **third-party subscription account** into [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) and chat with the models your subscription covers: text chat, image understanding, image generation, and image editing. **Only OpenAI / ChatGPT subscriptions are supported today; more subscription services are planned.** > Model availability, usage limits, and response speed are decided by the subscription provider and your account. Some features may become temporarily unavailable after the provider changes its service. ## Install - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) with Node.js 18.17 or later. ```sh dsh plugin --profile web add github:kinoward/dsh-plugin-subhub dsh web ``` `dsh web` boots the `web` profile (same as `dsh --profile web`). Restart DeepSeek Harness after installing. ## Quick start 1. **Log in** — open **Settings → Third-party subscriptions**, click **Sign in** on the **OpenAI subscription** card, then open the authorization link in a browser and enter the one-time code (valid for 15 minutes). Once authorized, the page syncs automatically and the subscription appears in the model picker. 2. **Pick a model** — click the model selector at the bottom-left of the input area (it shows the current model and reasoning level), choose **Model**, and pick a model under **OpenAI subscription**. Adjust the reasoning level from the same menu if needed. Available models and reasoning levels come from your account and stay in sync automatically. 3. **Use images** — upload an image and ask about it, describe an image to generate one, or ask to edit an image: - View: *“What's in this image?”* / *“Extract the text from this screenshot.”* - Generate: *“A cinematic illustration of a neon street on a rainy night.”* - Edit: upload an image (or use the one just generated), then *“Change the sky to a sunset, keep everything else the same.”* The edit uses the most recent image in the conversation; upload one first if there is none. Viewing, generating, and editing images all require a model that supports image input; the model info marks it with an “Image input” tag. ### Manage your account - **Re-login / log out** — **Settings → Third-party subscriptions** → **Log in again** switches accounts; **Log out** removes the saved login. - **Update** — rerun the install command, then restart DeepSeek Harness. - **Disable** — **Settings → Plugins → Plugin list** → turn off `dsh-plugin-subhub`. ## CLI sign-in (optional) No graphical interface? Sign in with the bundled script instead. From the profile directory, run: ```sh node node_modules/dsh-plugin-subhub/login.js ``` The script prints an authorization link and a one-time code — open the link in a browser, enter the code, and the credentials are saved to `~/.dsh-plugin-subhub/openai-auth.json`. After signing in, open **Settings → Third-party subscriptions** once so the subscription appears in the model picker. ## Screenshots Browser-framed captures of the plugin in the DeepSeek Harness Web UI — light and dark themes: **Settings → Third-party subscriptions — signed out:**

Subscriptions settings — signed out (light) Subscriptions settings — signed out (dark)

**Settings → Third-party subscriptions — signed in:**

Subscriptions settings — signed in (light) Subscriptions settings — signed in (dark)

**Models page — OpenAI subscription expanded (signed in):**

Models page — OpenAI subscription expanded (light) Models page — OpenAI subscription expanded (dark)

**Using images in a conversation — image understanding:**

Image understanding (light) Image understanding (dark)

**Generating images in a conversation — text to image:**

Text to image (light) Text to image (dark)

**Editing images in a conversation — image to image:**

Image to image (light) Image to image (dark)

## Security & privacy - Unless you configure another location, login data is stored in `~/.dsh-plugin-subhub/openai-auth.json`; - The plugin creates or updates that file with access restricted to the current system user; - The plugin never reads login data saved by other programs (such as the Codex CLI); sign in once inside this plugin after installing; - Signing out deletes the login file the plugin currently uses; - Don't share login files, one-time codes, or other account details — and don't commit them to Git or post them in issues. ## Support - [GitHub Issues](https://github.com/kinoward/dsh-plugin-subhub/issues) — report bugs or request features. Remove account details and other sensitive content before posting. ## License [MIT](LICENSE)