dsh-codex-subscription 2.5.9 → 3.0.0-beta.2
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.en.md +29 -6
- package/README.md +29 -6
- package/compatibility.json +2 -12
- package/lib/client.js +2447 -89
- package/lib/index.js +1651 -22
- package/package.json +23 -22
package/README.en.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
Sign in with ChatGPT Plus / Pro to use GPT-6 and other Codex models, quota, web search, and image generation inside DSH. No OpenAI API key or Codex CLI.
|
|
12
12
|
|
|
13
|
+
**New: control the DSH on your computer from the ChatGPT mobile app (Beta)** — DeepSeek and any other DSH model work from your phone.
|
|
14
|
+
|
|
13
15
|
[](https://github.com/WSL043/dsh-codex-subscription/actions/workflows/ci.yml)
|
|
14
16
|
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
15
17
|
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
@@ -78,6 +80,7 @@ Subscription access, model controls, quota management, and image creation in one
|
|
|
78
80
|
|
|
79
81
|
| Feature | What you can do | Availability / setup |
|
|
80
82
|
| --- | --- | --- |
|
|
83
|
+
| **Phone remote control** | Drive the DSH on your computer from the Codex section of the ChatGPT mobile app: start, continue and archive conversations, switch model and permissions, answer approvals and questions; DeepSeek and any other DSH model work | Beta (3.0.0-beta.1); off by default; Settings → Codex → Models & runtime → Phone remote control, pair by QR or manual code |
|
|
81
84
|
| **Codex independent subtasks** | Reuse subscription sign-in and workspace permissions; select allowed models and reasoning levels | Beta; DSH by default, Codex requires the optional component and model-selection setup |
|
|
82
85
|
| **Subtask component management** | Install, disable, or uninstall the official Codex subtask component from settings | Managed by supported DSH hosts; no extra login |
|
|
83
86
|
| **Cloud context compaction** | Continue long conversations using Codex compaction while retaining DSH history and native compaction | Beta / experimental; off by default, enabled requests use SSE |
|
|
@@ -90,7 +93,7 @@ Subscription access, model controls, quota management, and image creation in one
|
|
|
90
93
|
|
|
91
94
|
## Prepare DSH
|
|
92
95
|
|
|
93
|
-
Verified against DSH `0.2.0-rc.2` (`next`
|
|
96
|
+
Verified against DSH `0.2.0-rc.2` (`latest` and `next` channels); the minimum supported version is `0.1.7-rc.2`. Please upgrade older DSH releases first.
|
|
94
97
|
|
|
95
98
|
This plugin supports the latest DeepSeek Harness release recorded in its package metadata and requires a ChatGPT account that currently has Codex access.
|
|
96
99
|
|
|
@@ -118,7 +121,7 @@ Why the version is included: DSH's plugin page only installs versions that are a
|
|
|
118
121
|
<summary>Terminal installation (with an existing dsh command)</summary>
|
|
119
122
|
|
|
120
123
|
```sh
|
|
121
|
-
dsh plugin --profile web add dsh-codex-subscription
|
|
124
|
+
dsh plugin --profile web add dsh-codex-subscription@2.5.9
|
|
122
125
|
```
|
|
123
126
|
|
|
124
127
|
Follow the restart instructions, then sign in under **Settings → Codex**. Both the Plugins page and the terminal use DSH's installation management.
|
|
@@ -131,7 +134,7 @@ Follow the restart instructions, then sign in under **Settings → Codex**. Both
|
|
|
131
134
|
After signing in and selecting a Codex model in Web, install the same plugin in the Headless profile:
|
|
132
135
|
|
|
133
136
|
```sh
|
|
134
|
-
dsh plugin --profile headless add dsh-codex-subscription
|
|
137
|
+
dsh plugin --profile headless add dsh-codex-subscription@2.5.9
|
|
135
138
|
dsh --profile headless "Reply with only the word: ok"
|
|
136
139
|
```
|
|
137
140
|
|
|
@@ -151,6 +154,19 @@ Choose a model, adjust reasoning, switch speed tiers, and check remaining quota
|
|
|
151
154
|
|
|
152
155
|
<p align="center"><img src="docs/assets/composer-quota-en.png" width="800" alt="DSH composer with GPT-6-Luna, reasoning controls and remaining quota"></p>
|
|
153
156
|
|
|
157
|
+
### Control DSH from your phone (Beta)
|
|
158
|
+
|
|
159
|
+
Turn on **Settings → Codex → Models & runtime → Phone remote control** and pair by scanning the QR code in the Codex section of the ChatGPT mobile app. This computer's DSH then appears in the phone's host list:
|
|
160
|
+
|
|
161
|
+
- browse, start, continue, interrupt and archive DSH conversations from the phone, with DeepSeek, Codex or any other DSH model;
|
|
162
|
+
- switch model, reasoning level and permissions (workspace write / full access) from the phone;
|
|
163
|
+
- when DSH needs a tool approval or asks you a question, it pops up on the phone; if the phone dropped, it is asked again when you return, otherwise the computer handles it;
|
|
164
|
+
- model errors are shown on the phone.
|
|
165
|
+
|
|
166
|
+
Off by default. The computer must stay on, online and running DSH. This uses a ChatGPT capability OpenAI has not opened to third parties and may change at any time, hence Beta. Currently available in the pre-release `dsh-codex-subscription@3.0.0-beta.1`.
|
|
167
|
+
|
|
168
|
+
<p align="center"><img src="docs/assets/remote-control-en.png" width="560" alt="Official desktop app settings: phone remote control connected, showing a pairing QR code and manual code"></p>
|
|
169
|
+
|
|
154
170
|
### Accounts and preferences, in one place
|
|
155
171
|
|
|
156
172
|
Open **Settings → Codex** to manage accounts and quota. Enable other features as your tasks need them.
|
|
@@ -161,7 +177,7 @@ Open **Settings → Codex** to manage accounts and quota. Enable other features
|
|
|
161
177
|
| Settings tab | What it controls |
|
|
162
178
|
| --- | --- |
|
|
163
179
|
| **Account** | Sign-in, account switching, reset times, quota display and alerts |
|
|
164
|
-
| **Models & runtime** | Subscription search, context budget, connections and
|
|
180
|
+
| **Models & runtime** | Subscription search, context budget, connections, subtasks and phone remote control |
|
|
165
181
|
| **Images & sketch** | Separate switches for image generation, the canvas, and agent drawing |
|
|
166
182
|
| **Maintenance** | Support diagnostics and local quota forecast cache |
|
|
167
183
|
|
|
@@ -266,7 +282,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
|
|
|
266
282
|
<summary>Terminal commands</summary>
|
|
267
283
|
|
|
268
284
|
```sh
|
|
269
|
-
dsh plugin --profile web update dsh-codex-subscription
|
|
285
|
+
dsh plugin --profile web update dsh-codex-subscription@2.5.9
|
|
270
286
|
```
|
|
271
287
|
|
|
272
288
|
Run only when you want to uninstall:
|
|
@@ -282,7 +298,14 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
282
298
|
<details>
|
|
283
299
|
<summary>DSH 0.2.0-rc.2 reports the plugin as incompatible?</summary>
|
|
284
300
|
|
|
285
|
-
DSH 0.2.0-rc.2 did not exist when any release before 2.2.10 was published, and a published package's compatibility declaration cannot be changed. Install 2.2.10 or later (a bare package name can resolve to an older release during the first 24 hours, so enter `dsh-codex-subscription@2.2.10`) from the **Plugins** page, or run `dsh plugin --profile web update dsh-codex-subscription`, then restart DSH.
|
|
301
|
+
DSH 0.2.0-rc.2 did not exist when any release before 2.2.10 was published, and a published package's compatibility declaration cannot be changed. Install 2.2.10 or later (a bare package name can resolve to an older release during the first 24 hours, so enter `dsh-codex-subscription@2.2.10`) from the **Plugins** page, or run `dsh plugin --profile web update dsh-codex-subscription@2.5.9`, then restart DSH.
|
|
302
|
+
|
|
303
|
+
</details>
|
|
304
|
+
|
|
305
|
+
<details>
|
|
306
|
+
<summary>How does this relate to the official Codex bundle (dsh-hooks-codex) in the plugin list?</summary>
|
|
307
|
+
|
|
308
|
+
They are unrelated and can be installed together. The official Codex / Claude Code bundles let DSH run Codex or Claude Code style hooks configs (scripts that run before and after tool calls). This plugin signs in with your ChatGPT subscription and provides Codex models, quota, search, images and phone remote control.
|
|
286
309
|
|
|
287
310
|
</details>
|
|
288
311
|
|
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
用 ChatGPT Plus / Pro 订阅登录,即可在 DSH 中使用 GPT-6 等 Codex 模型、查额度、联网搜索和生图。无需 OpenAI API Key,也不依赖 Codex CLI。
|
|
12
12
|
|
|
13
|
+
**新:用 ChatGPT 手机 App 远程控制电脑上的 DSH(Beta)**,DeepSeek 等任意 DSH 模型都能在手机上用。
|
|
14
|
+
|
|
13
15
|
[](https://github.com/WSL043/dsh-codex-subscription/actions/workflows/ci.yml)
|
|
14
16
|
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
15
17
|
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
|
|
79
81
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
80
82
|
| --- | --- | --- |
|
|
83
|
+
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta(3.0.0-beta.1);默认关闭,设置 → Codex 订阅 → 模型与运行 → 手机远程控制,扫码或输入手动码配对 |
|
|
81
84
|
| **Codex 独立子任务** | 复用订阅登录和工作区权限执行独立任务,可指定允许的模型与推理档位 | Beta;默认 DSH,Codex 需安装可选组件并配置模型选择 |
|
|
82
85
|
| **子任务组件管理** | 在设置里安装、停用或卸载官方 Codex 子任务组件 | 由支持的 DSH 宿主管理,无需额外登录 |
|
|
83
86
|
| **云端上下文压缩** | 使用 Codex 云端压缩继续长对话,同时保留 DSH 历史与原生压缩 | Beta / 实验性;默认关闭,开启的请求使用 SSE |
|
|
@@ -90,7 +93,7 @@
|
|
|
90
93
|
|
|
91
94
|
## 准备 DSH
|
|
92
95
|
|
|
93
|
-
已验证兼容 DSH `0.2.0-rc.2`(`next`
|
|
96
|
+
已验证兼容 DSH `0.2.0-rc.2`(`latest` 与 `next` 通道),最低支持 `0.1.7-rc.2`;更早的 DSH 请先升级。
|
|
94
97
|
|
|
95
98
|
本插件支持软件包元数据中记录的最新版 DeepSeek Harness,并需要一个当前具有 Codex 使用资格的 ChatGPT 账户。
|
|
96
99
|
|
|
@@ -118,7 +121,7 @@
|
|
|
118
121
|
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
119
122
|
|
|
120
123
|
```sh
|
|
121
|
-
dsh plugin --profile web add dsh-codex-subscription
|
|
124
|
+
dsh plugin --profile web add dsh-codex-subscription@2.5.9
|
|
122
125
|
```
|
|
123
126
|
|
|
124
127
|
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
@@ -131,7 +134,7 @@ dsh plugin --profile web add dsh-codex-subscription
|
|
|
131
134
|
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
132
135
|
|
|
133
136
|
```sh
|
|
134
|
-
dsh plugin --profile headless add dsh-codex-subscription
|
|
137
|
+
dsh plugin --profile headless add dsh-codex-subscription@2.5.9
|
|
135
138
|
dsh --profile headless "只回复:ok"
|
|
136
139
|
```
|
|
137
140
|
|
|
@@ -151,6 +154,19 @@ dsh --profile headless "只回复:ok"
|
|
|
151
154
|
|
|
152
155
|
<p align="center"><img src="docs/assets/composer-astra-fast.png" width="800" alt="DSH 输入框:GPT-6-Astra Max、闪电标识的 Fast 高速模式与剩余额度"></p>
|
|
153
156
|
|
|
157
|
+
### 手机远程控制 DSH(Beta)
|
|
158
|
+
|
|
159
|
+
打开 **设置 → Codex 订阅 → 模型与运行 → 手机远程控制**,用 ChatGPT 手机 App 的 Codex 扫码配对,这台电脑上的 DSH 就会出现在手机的主机列表里:
|
|
160
|
+
|
|
161
|
+
- 在手机上查看、新建、续聊、中断和归档 DSH 对话,DeepSeek、Codex 以及其他 DSH 模型都能用;
|
|
162
|
+
- 在手机上切换模型、推理档位和权限(工作区内修改 / 完全访问);
|
|
163
|
+
- DSH 需要批准工具调用或向你提问时,手机会直接弹出;手机掉线会在重新打开时再弹一次,否则交回电脑处理;
|
|
164
|
+
- 模型报错会显示在手机上。
|
|
165
|
+
|
|
166
|
+
默认关闭。电脑需要保持开机、联网并打开 DSH。这是 OpenAI 尚未向第三方开放的 ChatGPT 能力,随时可能变化,所以标为 Beta。目前在预发布版中提供:`dsh-codex-subscription@3.0.0-beta.1`。
|
|
167
|
+
|
|
168
|
+
<p align="center"><img src="docs/assets/remote-control.png" width="560" alt="官方桌面版设置页:手机远程控制已连接,显示配对二维码和手动码"></p>
|
|
169
|
+
|
|
154
170
|
### 账号与偏好,集中管理
|
|
155
171
|
|
|
156
172
|
在 **设置 → Codex 订阅** 中管理账号和额度;其余功能按任务需要开启。
|
|
@@ -161,7 +177,7 @@ dsh --profile headless "只回复:ok"
|
|
|
161
177
|
| 设置页 | 在这里做什么 |
|
|
162
178
|
| --- | --- |
|
|
163
179
|
| **账号与额度** | 登录与切换账号、查看重置时间、设置额度显示和提醒 |
|
|
164
|
-
| **模型与运行** |
|
|
180
|
+
| **模型与运行** | 订阅搜索、上下文预算、连接方式、独立子任务与手机远程控制 |
|
|
165
181
|
| **图片与草图** | 分别开启图片生成、画板和 Agent 绘图 |
|
|
166
182
|
| **维护** | 生成支持诊断、管理本地额度预测缓存 |
|
|
167
183
|
|
|
@@ -295,7 +311,7 @@ DSH 实机设置截图。
|
|
|
295
311
|
<summary>终端方式</summary>
|
|
296
312
|
|
|
297
313
|
```sh
|
|
298
|
-
dsh plugin --profile web update dsh-codex-subscription
|
|
314
|
+
dsh plugin --profile web update dsh-codex-subscription@2.5.9
|
|
299
315
|
```
|
|
300
316
|
|
|
301
317
|
仅在需要卸载时运行:
|
|
@@ -311,7 +327,14 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
311
327
|
<details>
|
|
312
328
|
<summary>DSH 0.2.0-rc.2 提示插件不兼容?</summary>
|
|
313
329
|
|
|
314
|
-
2.2.10 之前的所有版本发布时 DSH 0.2.0-rc.2 还不存在,其兼容声明无法事后修改。请安装 2.2.10 或更高版本(只填包名时,发布满 24 小时前可能装到旧版,请直接填 `dsh-codex-subscription@2.2.10`):在 **插件** 页面更新,或运行 `dsh plugin --profile web update dsh-codex-subscription`,然后重启 DSH。
|
|
330
|
+
2.2.10 之前的所有版本发布时 DSH 0.2.0-rc.2 还不存在,其兼容声明无法事后修改。请安装 2.2.10 或更高版本(只填包名时,发布满 24 小时前可能装到旧版,请直接填 `dsh-codex-subscription@2.2.10`):在 **插件** 页面更新,或运行 `dsh plugin --profile web update dsh-codex-subscription@2.5.9`,然后重启 DSH。
|
|
331
|
+
|
|
332
|
+
</details>
|
|
333
|
+
|
|
334
|
+
<details>
|
|
335
|
+
<summary>和官方插件列表里的 Codex 组合包(dsh-hooks-codex)是什么关系?</summary>
|
|
336
|
+
|
|
337
|
+
没有关系,可以同时安装。官方的 Codex / Claude Code 组合包让 DSH 运行 Codex 或 Claude Code 格式的 hooks 配置(工具调用前后自动执行的脚本);本插件负责用 ChatGPT 订阅登录、使用 Codex 模型、查看额度、搜索、生图和手机远程控制。
|
|
315
338
|
|
|
316
339
|
</details>
|
|
317
340
|
|
package/compatibility.json
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"latestTested": "0.2.0-rc.2",
|
|
3
3
|
"supported": [
|
|
4
|
-
"0.1.2-rc.1",
|
|
5
|
-
"0.1.5-rc.1",
|
|
6
|
-
"0.1.5-rc.2",
|
|
7
|
-
"0.1.5-rc.3",
|
|
8
|
-
"0.1.7-rc.1",
|
|
9
4
|
"0.1.7-rc.2",
|
|
10
5
|
"0.2.0-rc.1",
|
|
11
6
|
"0.2.0-rc.2"
|
|
12
7
|
],
|
|
13
8
|
"previews": [
|
|
14
|
-
"0.1
|
|
15
|
-
"0.1
|
|
16
|
-
"0.1.6-alpha.1",
|
|
17
|
-
"0.1.6-alpha.2",
|
|
18
|
-
"0.1.7-alpha.1",
|
|
19
|
-
"0.1.7-alpha.2",
|
|
20
|
-
"0.2.1-alpha.1"
|
|
9
|
+
"0.2.1-alpha.1",
|
|
10
|
+
"0.2.1-alpha.2"
|
|
21
11
|
]
|
|
22
12
|
}
|