dsh-codex-subscription 3.1.6 → 3.1.8
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 +14 -11
- package/README.md +13 -12
- package/compatibility.json +3 -2
- package/lib/client.js +927 -384
- package/lib/index.js +1157 -280
- package/package.json +36 -36
package/README.en.md
CHANGED
|
@@ -39,13 +39,15 @@ Models and quota depend on what your account returns. [Complete feature list →
|
|
|
39
39
|
|
|
40
40
|
Let DeepSeek or any other DSH model use the apps you connected in ChatGPT: GitHub, Gmail, Google Drive, Calendar and more. Models search first, then call, and by default every change asks for your approval (you can switch that off in settings). Off by default; turn it on under Web & tools.
|
|
41
41
|
|
|
42
|
-
Web search
|
|
42
|
+
Web search and webpage reading sources, ChatGPT connectors and official Codex independent subtasks are on **Settings → Codex subscription → Web & tools**, with one master switch at the top: when off, conversations on DeepSeek and other non-Codex models no longer use subscription web search (DSH search is used instead), image generation or ChatGPT connectors; Codex subscription models are not affected. On by default.
|
|
43
|
+
|
|
44
|
+
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-interop-en-dark.webp"><img src="docs/assets/ui-interop-en-light.webp" width="640" alt="Web & tools settings: separate search and webpage reading sources and connector permissions"></picture></p>
|
|
43
45
|
|
|
44
46
|
</details>
|
|
45
47
|
|
|
46
48
|
## Prepare DSH
|
|
47
49
|
|
|
48
|
-
Verified against DSH `0.2.1-rc.
|
|
50
|
+
Verified against DSH `0.2.1-rc.4` (the `next` channel), with `0.2.1-rc.3` and `0.2.1-rc.2` still supported; the minimum supported version is `0.1.7-rc.2`. Please upgrade older DSH releases first.
|
|
49
51
|
|
|
50
52
|
This plugin supports the latest DeepSeek Harness release recorded in its package metadata and requires a ChatGPT account that currently has Codex access.
|
|
51
53
|
|
|
@@ -66,7 +68,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
66
68
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
67
69
|
|
|
68
70
|
```text
|
|
69
|
-
dsh-codex-subscription@3.1.
|
|
71
|
+
dsh-codex-subscription@3.1.8
|
|
70
72
|
```
|
|
71
73
|
|
|
72
74
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
@@ -83,7 +85,7 @@ Why the version is included: DSH's plugin page only installs versions that are a
|
|
|
83
85
|
<summary>Terminal installation (with an existing dsh command)</summary>
|
|
84
86
|
|
|
85
87
|
```sh
|
|
86
|
-
dsh plugin --profile web add dsh-codex-subscription@3.1.
|
|
88
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.8
|
|
87
89
|
```
|
|
88
90
|
|
|
89
91
|
Follow the restart instructions, then sign in under **Settings → Codex**. Both the Plugins page and the terminal use DSH's installation management.
|
|
@@ -96,7 +98,7 @@ Follow the restart instructions, then sign in under **Settings → Codex**. Both
|
|
|
96
98
|
After signing in and selecting a Codex model in Web, install the same plugin in the Headless profile:
|
|
97
99
|
|
|
98
100
|
```sh
|
|
99
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.1.
|
|
101
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.8
|
|
100
102
|
dsh --profile headless "Reply with only the word: ok"
|
|
101
103
|
```
|
|
102
104
|
|
|
@@ -134,11 +136,13 @@ Open **Settings → Codex** to manage accounts and preferences. Screenshots and
|
|
|
134
136
|
| Settings tab | What it controls |
|
|
135
137
|
| --- | --- |
|
|
136
138
|
| **Start** | Sign-in and accounts, a switch for every feature, subscription quota, quota display and alerts |
|
|
137
|
-
| **Models** | Default model and model list, answer style; the folded Advanced group has context length, retry, connection mode, cloud compaction and the review model |
|
|
139
|
+
| **Models** | Default model, default reasoning effort and model list, answer style; the folded Advanced group has context length, retry, connection mode, cloud compaction and the review model |
|
|
138
140
|
| **Web & tools** | The master switch for other models, search source, ChatGPT connectors, official Codex subtasks |
|
|
139
141
|
| **Create** | Image generation, editing, @image in the composer, image viewer, sketch board and agent drawing |
|
|
140
142
|
| **Phone & more** | Phone remote control, experimental voice calls, local cache, support diagnostics |
|
|
141
143
|
|
|
144
|
+
Voice conversation is off by default. Enable it under **Phone & more**, then start a call from the composer. If a native window, including Linux, does not support WebRTC, DSH offers to continue the same conversation in a browser. Voice samples remain available, and your existing subscription is used without an API key.
|
|
145
|
+
|
|
142
146
|
**Model-aware context** follows your account's model directory; refreshing preserves your unsaved draft. Quota groups use backend-provided values, including separate buckets such as Spark.
|
|
143
147
|
|
|
144
148
|
Subscription failures remain visible: no silent fallback to another paid route.
|
|
@@ -239,8 +243,6 @@ This is a third-party compatibility layer using OpenAI's remote connection servi
|
|
|
239
243
|
|
|
240
244
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-remote-en-dark.png"><img src="docs/assets/ui-remote-en-light.png" width="560" alt="Phone remote control in settings: the switch, pairing QR code and manual code, paired phones"></picture></p>
|
|
241
245
|
|
|
242
|
-
<p align="center"><sub>The screenshot’s QR code hides a little Easter egg. To pair your phone, use the code generated in DSH settings.</sub></p>
|
|
243
|
-
|
|
244
246
|
</details>
|
|
245
247
|
|
|
246
248
|
## All features
|
|
@@ -254,9 +256,10 @@ Model access and quota depend on your account.
|
|
|
254
256
|
| Feature | What you can do | Availability / setup |
|
|
255
257
|
| --- | --- | --- |
|
|
256
258
|
| **Subscription sign-in** | Sign in to ChatGPT and use Codex subscription models without an API key | Normal chat needs no Codex CLI |
|
|
257
|
-
| **Model catalog sync** | Read available models and reasoning levels from your account, with manual refresh; models marked for retirement show their retirement date next to the model name, without automatically switching your selection | New models appear when your account offers them; the account catalog is the only source, so signed out or when
|
|
259
|
+
| **Model catalog sync** | Read available models and reasoning levels from your account, with manual refresh; the last successful catalog is stored locally per account and remains available during the background refresh after restart, with a 24-hour lifetime; models marked for retirement show their retirement date next to the model name, without automatically switching your selection | New models appear when your account offers them; the account catalog is the only source, so no models are shown when signed out or when neither a remote read nor a valid cache is available |
|
|
258
260
|
| **Model list** | Show or hide individual models in the composer picker on the Models page; the picker keeps DSH's own model labels (such as the new-model badge) | Display only; selected models and requests still work |
|
|
259
261
|
| **Default model** | Choose the model a new conversation opens with on the Models page | Writes the DSH default model setting, the same one a model switch inside a chat writes; unset it to follow the DSH default |
|
|
262
|
+
| **Default reasoning effort** | Choose a default level for subscription models on the Models page; Model default follows each model's official catalog recommendation | Manual choices take priority. Unsupported levels fall back to the model's valid default; existing manual conversation choices are preserved |
|
|
260
263
|
| **Reasoning levels** | Choose supported reasoning effort in the composer | Levels vary by model |
|
|
261
264
|
| **Speed tiers** | Switch supported models between Standard and Fast; Ultrafast (Beta) too when the account catalog offers it, with a lightning indicator | Standard by default; Fast and Ultrafast increase usage, and Ultrafast is Pro 500 only today |
|
|
262
265
|
| **Response verbosity** | Request short, medium, or detailed responses | Follows the model default unless changed |
|
|
@@ -282,7 +285,7 @@ Model access and quota depend on your account.
|
|
|
282
285
|
| **Usage overview** | In the quota card, see lifetime tokens, busiest day, streaks, most used reasoning level and a half-year daily heatmap | From the official usage statistics; hidden when the account has none |
|
|
283
286
|
| **Credits and reset cards** | View extra Credits, spending caps, and available reset cards | Shown when returned for your account |
|
|
284
287
|
| **Composer quota** | See remaining quota as a percentage or progress bar while chatting | Off by default; choose your display mode |
|
|
285
|
-
| **Runway estimate** |
|
|
288
|
+
| **Runway estimate** | Hover over or click the composer quota to see when recent usage would exhaust it | Beta; optional estimate, not a guarantee |
|
|
286
289
|
| **Quota alerts** | Use fixed, early, or custom short / long-window thresholds | 20% remaining by default; can be disabled |
|
|
287
290
|
| **Redeem reset cards** | Use an available reset card after confirmation | Confirmation and waiting safeguards; server decides the result |
|
|
288
291
|
| **Retry after reset** | Wait for a confirmed short-window reset before continuing | Off by default; waiting can be stopped |
|
|
@@ -353,7 +356,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
|
|
|
353
356
|
<summary>Terminal commands</summary>
|
|
354
357
|
|
|
355
358
|
```sh
|
|
356
|
-
dsh plugin --profile web update dsh-codex-subscription@3.1.
|
|
359
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.8
|
|
357
360
|
```
|
|
358
361
|
|
|
359
362
|
Run only when you want to uninstall:
|
package/README.md
CHANGED
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
|
|
40
40
|
让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等。模型先搜索再调用,写操作默认每次都要你批准,也可以在设置里改成不再询问。默认关闭,在“联网与工具”里开启。
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
联网搜索与网页读取来源、ChatGPT 连接器和官方 Codex 独立子任务在 **设置 → Codex 订阅 → 联网与工具**,页首一个总开关:关闭后,用 DeepSeek 等非 Codex 模型对话时不再使用订阅的联网搜索(改用 DSH 搜索)、图片生成和 ChatGPT 连接器,Codex 订阅模型不受影响。默认开启。
|
|
43
43
|
|
|
44
|
-
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-interop-zh-dark.webp"><img src="docs/assets/ui-interop-zh-light.webp" width="640" alt="
|
|
44
|
+
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-interop-zh-dark.webp"><img src="docs/assets/ui-interop-zh-light.webp" width="640" alt="联网与工具设置页:分别选择搜索和网页读取来源、连接器权限与独立子任务"></picture></p>
|
|
45
45
|
|
|
46
46
|
</details>
|
|
47
47
|
|
|
48
48
|
## 准备 DSH
|
|
49
49
|
|
|
50
|
-
已验证兼容 DSH `0.2.1-rc.
|
|
50
|
+
已验证兼容 DSH `0.2.1-rc.4`(`next` 通道),继续支持 `0.2.1-rc.3` 和 `0.2.1-rc.2`,最低支持 `0.1.7-rc.2`;更早的 DSH 请先升级。
|
|
51
51
|
|
|
52
52
|
本插件支持软件包元数据中记录的最新版 DeepSeek Harness,并需要一个当前具有 Codex 使用资格的 ChatGPT 账户。
|
|
53
53
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
69
69
|
|
|
70
70
|
```text
|
|
71
|
-
dsh-codex-subscription@3.1.
|
|
71
|
+
dsh-codex-subscription@3.1.8
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
86
86
|
|
|
87
87
|
```sh
|
|
88
|
-
dsh plugin --profile web add dsh-codex-subscription@3.1.
|
|
88
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.8
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
@@ -98,7 +98,7 @@ dsh plugin --profile web add dsh-codex-subscription@3.1.6
|
|
|
98
98
|
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.1.
|
|
101
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.8
|
|
102
102
|
dsh --profile headless "只回复:ok"
|
|
103
103
|
```
|
|
104
104
|
|
|
@@ -136,11 +136,13 @@ dsh --profile headless "只回复:ok"
|
|
|
136
136
|
| 设置页 | 在这里做什么 |
|
|
137
137
|
| --- | --- |
|
|
138
138
|
| **开始** | 登录与切换账号、各功能开关一览、订阅额度、额度显示和提醒 |
|
|
139
|
-
| **模型** |
|
|
139
|
+
| **模型** | 默认模型、默认推理等级与模型列表、回答风格;折叠的“高级”里有上下文长度、重试、连接方式、云端压缩、审查模型 |
|
|
140
140
|
| **联网与工具** | 其他模型能否用订阅功能的总开关,搜索来源、ChatGPT 连接器、官方 Codex 子任务 |
|
|
141
141
|
| **创作** | 图片生成、编辑、输入框 @生图、图片查看器,草图画板和 Agent 绘图 |
|
|
142
142
|
| **手机与更多** | 手机远程控制、语音对话(实验性)、本机缓存、支持诊断 |
|
|
143
143
|
|
|
144
|
+
语音对话默认关闭,在 **手机与更多** 开启后可从输入框发起。Linux 等原生窗口不支持 WebRTC 时,会提供在浏览器中继续同一会话的入口;音色试听仍可使用,继续使用现有订阅,无需 API Key。
|
|
145
|
+
|
|
144
146
|
**模型感知上下文**跟随账号模型目录,刷新不会覆盖未保存的草稿。额度分组以服务端实际返回为准,包括 Spark 等独立额度。
|
|
145
147
|
|
|
146
148
|
订阅请求失败时会明确报错,不会静默切换到其他付费路由。
|
|
@@ -241,8 +243,6 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
|
|
|
241
243
|
|
|
242
244
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-remote-zh-dark.png"><img src="docs/assets/ui-remote-zh-light.png" width="560" alt="设置里的手机远程控制:开关、配对二维码和手动码、已配对的手机"></picture></p>
|
|
243
245
|
|
|
244
|
-
<p align="center"><sub>截图中的二维码藏着一个小彩蛋;实际配对请使用 DSH 设置里生成的二维码。</sub></p>
|
|
245
|
-
|
|
246
246
|
</details>
|
|
247
247
|
|
|
248
248
|
## 全部功能
|
|
@@ -256,9 +256,10 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
|
|
|
256
256
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
257
257
|
| --- | --- | --- |
|
|
258
258
|
| **订阅登录** | 直接登录 ChatGPT,使用 Codex 订阅模型,无需 API Key | 普通聊天无需 Codex CLI |
|
|
259
|
-
| **模型目录同步** |
|
|
259
|
+
| **模型目录同步** | 自动读取账号可用模型与推理档位,支持手动刷新;上次成功读取的目录会按账号保存在本地,重启时可在后台刷新期间继续使用,缓存有效期为 24 小时;目录标注退役的模型会在模型名称旁显示退役日期,不会自动切换你的选择 | 新型号以账号目录开放情况为准;模型只来自账号目录,未登录或读取失败且没有有效缓存时不显示任何模型,也不使用内置列表 |
|
|
260
260
|
| **模型列表** | 在“模型”页中逐个显示或隐藏输入框中的模型;模型选择器沿用 DSH 官方的模型标识(如新模型徽章) | 仅影响列表显示;已选模型和请求不受影响 |
|
|
261
261
|
| **默认模型** | 在“模型”页里选择每次新建会话默认使用的模型 | 写入 DSH 的默认模型设置,与在对话里切换模型是同一处;未设置时跟随 DSH 默认 |
|
|
262
|
+
| **默认推理等级** | 在“模型”页统一选择订阅模型的默认档位;默认跟随各模型的官方目录推荐值 | 手动选档优先;模型不支持所选档位时使用该模型的合法默认值;不更改已有会话的手动选择 |
|
|
262
263
|
| **推理等级** | 在输入框选择模型支持的推理档位 | 档位随模型变化 |
|
|
263
264
|
| **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
|
|
264
265
|
| **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
|
|
@@ -284,7 +285,7 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
|
|
|
284
285
|
| **使用概览** | 在额度卡片里查看累计 token、单日最高、连续使用天数、最常用推理档,以及最近半年的每日用量热力图 | 来自官方使用统计;账号没有该统计时不显示 |
|
|
285
286
|
| **Credits 与重置卡** | 查看额外 Credits、消费上限和可用重置卡 | 账号返回对应数据时显示 |
|
|
286
287
|
| **输入框额度** | 不离开会话即可查看百分比或进度条 | 默认关闭,可选显示方式 |
|
|
287
|
-
| **续航预测** |
|
|
288
|
+
| **续航预测** | 悬浮或点击输入框额度,查看按最近用量估算的用完时间 | Beta;可选,不是保证值 |
|
|
288
289
|
| **额度提醒** | 使用固定阈值、提前提醒,或分别设置短 / 长周期阈值 | 默认剩余 20% 提醒,可关闭 |
|
|
289
290
|
| **使用重置卡** | 在确认后主动使用服务端提供的重置卡 | 二次确认与等待保护,由服务端判定结果 |
|
|
290
291
|
| **重置后重试** | 等待已确认的短时额度重置,再继续请求 | 默认关闭;等待期间可停止 |
|
|
@@ -355,7 +356,7 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
|
|
|
355
356
|
<summary>终端方式</summary>
|
|
356
357
|
|
|
357
358
|
```sh
|
|
358
|
-
dsh plugin --profile web update dsh-codex-subscription@3.1.
|
|
359
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.8
|
|
359
360
|
```
|
|
360
361
|
|
|
361
362
|
仅在需要卸载时运行:
|
package/compatibility.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"latestTested": "0.2.1-rc.
|
|
2
|
+
"latestTested": "0.2.1-rc.4",
|
|
3
3
|
"supported": [
|
|
4
4
|
"0.1.7-rc.2",
|
|
5
5
|
"0.2.0-rc.1",
|
|
6
6
|
"0.2.0-rc.2",
|
|
7
7
|
"0.2.1-rc.1",
|
|
8
8
|
"0.2.1-rc.2",
|
|
9
|
-
"0.2.1-rc.3"
|
|
9
|
+
"0.2.1-rc.3",
|
|
10
|
+
"0.2.1-rc.4"
|
|
10
11
|
],
|
|
11
12
|
"previews": [
|
|
12
13
|
"0.2.1-alpha.1",
|