dsh-chatgpt-sub 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  [![License: MIT](https://img.shields.io/github/license/SONGOAO25/dsh-chatgpt-sub)](https://github.com/SONGOAO25/dsh-chatgpt-sub/blob/main/LICENSE)
6
6
  [![Release](https://img.shields.io/github/v/release/SONGOAO25/dsh-chatgpt-sub)](https://github.com/SONGOAO25/dsh-chatgpt-sub/releases)
7
+ [![npm version](https://img.shields.io/npm/v/dsh-chatgpt-sub)](https://www.npmjs.com/package/dsh-chatgpt-sub)
7
8
 
8
9
  A DeepSeek Harness plugin that connects your ChatGPT account through OpenAI's sign-in page and lets you use the account's available ChatGPT models inside DSH. You need a plan that includes Codex access and sufficient subscription quota.
9
10
 
@@ -49,9 +50,11 @@ Open **Plugins → ChatGPT Subscription** and choose **Sign in with ChatGPT**. C
49
50
 
50
51
  Authorization and model requests communicate with official OpenAI endpoints. Sign-in tokens are saved in the standard local `~/.codex/auth.json` file with owner-only permissions and synchronized into DSH's credential store. Signing in can update that shared file, so it can affect which account Codex CLI uses. Tokens are transmitted to OpenAI for authorized requests; they are not written to plugin logs.
51
52
 
52
- Unbinding and uninstalling preserve `~/.codex/auth.json` and remove the plugin's binding and managed DSH entries. The plugin refreshes sign-in automatically. Under **Version and updates**, automatic updates (default) check npm when DSH starts, verify and replace the plugin files, then take effect after a restart. Manual mode checks without installing; installation asks for confirmation. Failed updates restore the previous files, and settings offer rollback when needed. Sign-in data is preserved. Local checkout and linked installs require a code update and rebuild; see [docs/INSTALL.md](docs/INSTALL.md). Updates become available after the npm package is published.
53
+ Unbinding and uninstalling preserve `~/.codex/auth.json` and remove the plugin's binding and managed DSH entries. The plugin refreshes sign-in automatically. Under **Version and updates**, automatic updates (default) check npm when DSH starts, verify and replace the plugin files, then take effect after a restart. Manual mode checks without installing; installation asks for confirmation. Failed updates restore the previous files, and settings offer rollback when needed. Sign-in data is preserved. Local checkout and linked installs require a code update and rebuild; see [docs/INSTALL.md](docs/INSTALL.md).
53
54
 
54
- Remove the plugin from the desktop app's **Plugins** page, or use `dsh plugin --profile web remove dsh-chatgpt-sub` for the CLI web profile. Do not include sign-in files, credentials, or account details in bug reports.
55
+ ## Uninstall and roll back
56
+
57
+ Remove the plugin from the desktop app's **Plugins** page, or use `dsh plugin --profile web remove dsh-chatgpt-sub` for the CLI web profile, then restart DSH. Uninstalling keeps `~/.codex/auth.json` (the Codex CLI's own sign-in) and removes this plugin's binding and the DSH entries it manages. To go back a version instead of removing the plugin, **Version and updates** offers rollback after a failed update or while a newer build waits for a restart. Do not include sign-in files, credentials, or account details in bug reports.
55
58
 
56
59
  ## Languages
57
60
 
package/README.zh-CN.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  [![License: MIT](https://img.shields.io/github/license/SONGOAO25/dsh-chatgpt-sub)](https://github.com/SONGOAO25/dsh-chatgpt-sub/blob/main/LICENSE)
6
6
  [![Release](https://img.shields.io/github/v/release/SONGOAO25/dsh-chatgpt-sub)](https://github.com/SONGOAO25/dsh-chatgpt-sub/releases)
7
+ [![npm 版本](https://img.shields.io/npm/v/dsh-chatgpt-sub)](https://www.npmjs.com/package/dsh-chatgpt-sub)
7
8
 
8
9
  一个 DeepSeek Harness 插件:通过 OpenAI 登录页面连接 ChatGPT 账号,在 DSH 中使用该账号可用的 ChatGPT 模型。需要包含 Codex 使用权限的套餐和足够的订阅额度。
9
10
 
@@ -49,9 +50,11 @@ npm 上的 `dsh-chatgpt-sub` 自 2026-10-13(0.5.1)起公开可装。包名
49
50
 
50
51
  授权和模型请求与 OpenAI 官方服务通信。登录信息保存在本机标准位置 `~/.codex/auth.json`,只有文件所有者可读写,并同步到 DSH 的凭据库。绑定会更新这个共用文件,因此可能改变 Codex CLI 使用的账号。登录信息会随授权请求传给 OpenAI,不写入插件日志。
51
52
 
52
- 解绑和卸载保留 `~/.codex/auth.json`,清除本插件的绑定和它管理的 DSH 条目。插件自动续期登录。**版本与更新**中,自动更新(默认)在 DSH 启动时检查 npm,校验并替换插件文件,重启后生效;手动模式只检查,安装前需要确认。更新失败会恢复旧文件,需要时可在设置中回滚。登录信息会保留。本地副本和链接安装需要更新代码并重新构建,见 [docs/INSTALL.md](docs/INSTALL.md)。npm 包发布后才能获取更新。
53
+ 解绑和卸载保留 `~/.codex/auth.json`,清除本插件的绑定和它管理的 DSH 条目。插件自动续期登录。**版本与更新**中,自动更新(默认)在 DSH 启动时检查 npm,校验并替换插件文件,重启后生效;手动模式只检查,安装前需要确认。更新失败会恢复旧文件,需要时可在设置中回滚。登录信息会保留。本地副本和链接安装需要更新代码并重新构建,见 [docs/INSTALL.md](docs/INSTALL.md)。
53
54
 
54
- 桌面客户端在 **插件** 页卸载;命令行网页端使用 `dsh plugin --profile web remove dsh-chatgpt-sub`。报告问题时,不要附登录文件、凭据或真实账号信息。
55
+ ## 卸载与回退
56
+
57
+ 桌面客户端在 **插件** 页卸载;命令行网页端执行 `dsh plugin --profile web remove dsh-chatgpt-sub`,然后重启 DSH。卸载会保留 `~/.codex/auth.json`(Codex CLI 自己的登录态),清除本插件的绑定和它管理的 DSH 条目。想退回上一版而不卸载:更新失败后、或新版正在等待重启时,可在**版本与更新**里回滚。报告问题时,不要附登录文件、凭据或真实账号信息。
55
58
 
56
59
  ## 语言
57
60