Starlight-bananice/dsh-chatgpt-plugin ↗★ 0
@bananiceee/dsh-chatgpt-provider
Sign in with ChatGPT inside DeepSeek Harness and run ChatGPT plan models directly: OpenAI Sign-in-with-ChatGPT (SIWC) OAuth token sharing feeding an official Responses API adapter. 在 DeepSeek Harness 里登录 ChatGPT 账号并直接使用 ChatGPT 模型。 适合拥有 ChatGPT 账号、想在 DSH 中直接调用其官方模型的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Starlight-bananice/dsh-chatgpt-pluginドキュメント
README 全文を読む ↗使用 / Usage
登录与账号
入口在 设置 → ChatGPT。同一个 provider 的卡片也会出现在 设置 → 模型 里, 但插件自己的页面更可靠:模型页那条路径依赖「已服务的 settings 命名空间」来 join provider 行, 命名空间出问题时那一行不会出现也不报错。
- 使用其他 ChatGPT 账号 —— 每个账号一条独立注册记录,互不覆盖
- 重新授权 —— 复用已签发的 client id 重走一次授权
- 退出登录 —— 撤销授权并清除本地记录
- 管理用量 —— 跳转 ChatGPT 的用量设置页
- 测试连接 —— 真的发一次请求,按名字报出账号过期、额度用尽、会话被撤销
模型
模型列表默认取自你的账号(GET /v1/models,只展示 visibility: "list" 的条目)。
要在选择器里出现清单之外的模型,显式配置即可 —— 清单外的 id 是能用的, 它只表示「账号没主动报告这个模型」:
### 配置项
| 字段 | 默认 | 说明 |
| --- | --- | --- |
| `displayName` | `ChatGPT` | 选择器里显示的名字 |
| `account` | 最近登录的 | 指定使用哪个已登录账号 |
| `agentName` | `DeepSeek Harness` | 授权页上显示的应用名 |
| `reasoningEfforts` | `low/medium/high/xhigh/max` | 选择器提供的推理档位 |
| `reasoningEffort` | 模型默认 | 默认档位 |
| `models` | 账号清单 | 附加/覆盖的模型条目 |
| `testModel` | 优先选含 `luna` 的 | 「测试连接」使用的模型 |
| `callbackPort` | `1455` | OAuth 回调端口 |
| `maxImageBytes` | 8 MiB | 单张图片上限 |
| `maxInlineImageBytes` | 24 MiB | 单请求图片总量上限 |