dsh-codex-subscription 3.2.9 → 3.2.10
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.de.md +32 -15
- package/README.en.md +32 -15
- package/README.es.md +32 -15
- package/README.fr.md +32 -15
- package/README.ja.md +32 -15
- package/README.md +225 -236
- package/README.pt.md +32 -15
- package/README.ru.md +32 -15
- package/README.zh-CN.md +31 -14
- package/docs/plugin/DETAIL.md +1 -1
- package/lib/client.js +232 -31
- package/lib/index.js +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,391 +1,384 @@
|
|
|
1
|
-
<p align="center"><img src="icon-subscription.webp" width="128" height="128" alt="DSH Codex Subscription
|
|
1
|
+
<p align="center"><img src="icon-subscription.webp" width="128" height="128" alt="DSH Codex Subscription 图标"></p>
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
5
|
# DSH Codex Subscription
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**中文** · [English](README.en.md) · [日本語](README.ja.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [Português](README.pt.md)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
**把 ChatGPT / Codex 订阅直接接入 DeepSeek Harness**
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
用 ChatGPT Plus / Pro 订阅登录,即可在 DSH 中使用 GPT-6 等 Codex 模型、查额度、联网搜索和生图。无需 OpenAI API Key,也不依赖 Codex CLI。
|
|
12
12
|
|
|
13
13
|
[](https://github.com/WSL043/dsh-codex-subscription/actions/workflows/ci.yml)
|
|
14
14
|
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
15
|
-
[](https://www.npmjs.com/package/dsh-codex-subscription)
|
|
16
16
|
[](LICENSE)
|
|
17
17
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
18
18
|
|
|
19
|
-
[
|
|
19
|
+
[核心功能](#核心功能) · [安装](#安装) · [图片与草图](#图片与草图) · [手机远程控制](#手机远程控制beta) · [全部功能](#全部功能) · [使用指南](docs/GUIDE.zh-CN.md) · [常见问题](#常见问题) · [Agent](#agent-reference)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
<p align="center"><img src="docs/assets/hero-
|
|
23
|
+
<p align="center"><img src="docs/assets/hero-zh.webp" width="1100" alt="已有的订阅,在 DSH 接着用:鲸鱼少女吉祥物与 Codex 订阅账号额度界面"></p>
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
## 核心功能
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
| What you want to do | What the plugin provides |
|
|
27
|
+
| 你想做什么 | 插件提供什么 |
|
|
30
28
|
| --- | --- |
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
29
|
+
| **聊天与搜索** | 用订阅登录,选择账号开放的 Codex 模型、推理档位和速度档位,使用订阅联网搜索。 |
|
|
30
|
+
| **管理账号与额度** | 切换账号,查看短周期与每周额度、Credits 和重置时间;在输入框看额度、接收提醒,查看历史用量。 |
|
|
31
|
+
| **生成与编辑图片** | 用订阅出图、圈选区域继续修改,或在可编辑草图画板上自己画、让 Agent 画。[查看实例 →](#图片与草图) |
|
|
32
|
+
| **在手机上继续操作** | 用 ChatGPT 手机 App 配对电脑上的 DSH,DeepSeek 等其他模型也能用。[Beta,默认关闭 →](#手机远程控制beta) |
|
|
33
|
+
| **使用已连接的应用** | 让 DSH 模型使用 ChatGPT 中已连接的 GitHub、Gmail、云端硬盘、日历等;写操作默认逐次询问。 |
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
模型和额度以账号实际返回为准。[查看完整功能清单 →](#全部功能)
|
|
38
36
|
|
|
39
37
|
<details>
|
|
40
|
-
<summary
|
|
38
|
+
<summary>让 DeepSeek 等模型使用订阅能力</summary>
|
|
41
39
|
|
|
42
|
-
|
|
40
|
+
让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等。模型先搜索再调用,写入审批取决于所选模式和当前 DSH 会话权限。默认关闭,在“联网与工具”里开启。
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
联网搜索与网页读取来源、ChatGPT 连接器和官方 Codex 独立子任务在 **设置 → Codex 订阅 → 联网与工具**,页首一个总开关:关闭后,用 DeepSeek 等非 Codex 模型对话时不再使用订阅的联网搜索(改用 DSH 搜索)、图片生成和 ChatGPT 连接器,Codex 订阅模型不受影响。默认开启。
|
|
45
43
|
|
|
46
|
-
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-interop-
|
|
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>
|
|
47
45
|
|
|
48
46
|
</details>
|
|
49
47
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
## Prepare DSH
|
|
48
|
+
## 准备 DSH
|
|
53
49
|
|
|
54
|
-
|
|
50
|
+
已验证兼容 DSH `0.2.2-rc.1`,继续支持 `0.2.1-rc.3` 和 `0.2.1-rc.2`,最低支持 `0.1.7-rc.2`;更早的 DSH 请先升级。
|
|
55
51
|
|
|
56
|
-
DSH `0.2.2-rc.1` CLI/Web
|
|
52
|
+
DSH `0.2.2-rc.1` 的 CLI/Web 模式需要 Node.js **24.9 或更高版本**;官方桌面版使用自带的运行时。
|
|
57
53
|
|
|
58
|
-
|
|
54
|
+
另支持预览宿主 `0.2.2-alpha.2`;范围与验收边界见[兼容性记录](docs/dsh-022-alpha2-compatibility.md)。
|
|
59
55
|
|
|
60
|
-
|
|
56
|
+
本插件支持软件包元数据中记录的最新版 DeepSeek Harness,并需要一个当前具有 Codex 使用资格的 ChatGPT 账户。
|
|
61
57
|
|
|
62
58
|
<details>
|
|
63
|
-
<summary
|
|
59
|
+
<summary>选择 DSH:官方桌面端、便携版或命令行</summary>
|
|
64
60
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
61
|
+
- **推荐:官方桌面端**。DeepSeek 已发布 [DeepSeek Harness 桌面版](https://www.deepseek.com/harness/)(macOS Apple Silicon、Windows 64 位,预览版、开源),无需配置 Node.js,安装后按下文在插件页面添加本插件即可。桌面端与网页版、命令行使用同一套 DSH 插件系统;本插件的端到端验收主要在网页版上完成,桌面端遇到问题请[提交 issue](https://github.com/WSL043/dsh-codex-subscription/issues);
|
|
62
|
+
- 需要 Linux,或想要社区便携分发:使用 [DSH-Portable](https://github.com/WSL043/DSH-Portable)。这是面向 Windows、macOS 和 Linux 的社区便携桌面分发;
|
|
63
|
+
- 想按官方方式运行:查看 [DeepSeek Harness 官方说明](https://github.com/deepseek-ai/deepseek-harness#run)。
|
|
68
64
|
|
|
69
65
|
</details>
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## Install
|
|
67
|
+
## 安装
|
|
74
68
|
|
|
75
|
-
|
|
69
|
+
### 在插件页面安装(推荐)
|
|
76
70
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
1. Open **Plugins → Add plugin** in DSH.
|
|
80
|
-
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
71
|
+
1. 打开 DSH 的 **插件 → 添加插件**。
|
|
72
|
+
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
81
73
|
|
|
82
74
|
```text
|
|
83
|
-
dsh-codex-subscription@3.2.
|
|
75
|
+
dsh-codex-subscription@3.2.10
|
|
84
76
|
```
|
|
85
77
|
|
|
86
|
-
3.
|
|
87
|
-
4.
|
|
78
|
+
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
79
|
+
4. 打开 **设置 → Codex 订阅**,登录 ChatGPT,然后在会话中选择 Codex 模型。
|
|
88
80
|
|
|
89
81
|
<details>
|
|
90
|
-
<summary
|
|
82
|
+
<summary>为什么包名里带版本号?</summary>
|
|
91
83
|
|
|
92
|
-
|
|
84
|
+
为什么要带版本号:DSH 的插件页只会安装发布满 24 小时的版本,只填包名时,新版本发布后的第一天可能装到更早的旧版,而旧版不一定兼容你的 DSH。带上版本号可以直接装到这一版;发布一天后只填 `dsh-codex-subscription` 也会装到最新正式版。其他版本号见[发布页](https://github.com/WSL043/dsh-codex-subscription/releases)。
|
|
93
85
|
|
|
94
86
|
</details>
|
|
95
87
|
|
|
96
88
|
<details>
|
|
97
|
-
<summary
|
|
89
|
+
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
98
90
|
|
|
99
91
|
```sh
|
|
100
|
-
dsh plugin --profile web add dsh-codex-subscription@3.2.
|
|
92
|
+
dsh plugin --profile web add dsh-codex-subscription@3.2.10
|
|
101
93
|
```
|
|
102
94
|
|
|
103
|
-
|
|
95
|
+
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
104
96
|
|
|
105
97
|
</details>
|
|
106
98
|
|
|
107
99
|
<details>
|
|
108
|
-
<summary>Headless
|
|
100
|
+
<summary>Headless 任务</summary>
|
|
109
101
|
|
|
110
|
-
|
|
102
|
+
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
111
103
|
|
|
112
104
|
```sh
|
|
113
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.2.
|
|
114
|
-
dsh --profile headless "
|
|
105
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.2.10
|
|
106
|
+
dsh --profile headless "只回复:ok"
|
|
115
107
|
```
|
|
116
108
|
|
|
117
109
|
</details>
|
|
118
110
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## Interface demo
|
|
111
|
+
## 界面演示
|
|
122
112
|
|
|
123
|
-
|
|
113
|
+
连接 ChatGPT 账号,在 DSH 里选择 Codex 模型,再回到订阅设置查看额度。
|
|
124
114
|
|
|
125
115
|
<details>
|
|
126
|
-
<summary
|
|
116
|
+
<summary>登录账号并查看订阅额度</summary>
|
|
127
117
|
|
|
128
|
-
|
|
118
|
+
打开 **设置 → Codex 订阅 → 开始**,点击 **浏览器登录**。登录后,这里会显示已登记的账号和 ChatGPT 返回的订阅额度。展开 **使用概览** 或 **额度去向** 可以查看更多信息。
|
|
129
119
|
|
|
130
|
-
<p align="center"><img src="docs/assets/interface-account-
|
|
120
|
+
<p align="center"><img src="docs/assets/interface-account-zh.png" width="584" alt="登录账号并查看订阅额度"></p>
|
|
131
121
|
|
|
132
|
-
|
|
122
|
+
_截图中的账号和额度为示例数据。_
|
|
133
123
|
|
|
134
124
|
</details>
|
|
135
125
|
|
|
136
126
|
<details>
|
|
137
|
-
<summary
|
|
127
|
+
<summary>选择 Codex 模型并发送消息</summary>
|
|
138
128
|
|
|
139
|
-
|
|
129
|
+
在 **设置 → Codex 订阅 → 模型** 中选择默认模型和推理等级。也可以在输入框旁的模型选择器里单独为当前会话切换模型。输入并发送消息,就能在 DSH 中使用订阅模型。
|
|
140
130
|
|
|
141
|
-
<p align="center"><img src="docs/assets/interface-models-
|
|
131
|
+
<p align="center"><img src="docs/assets/interface-models-zh.png" width="584" alt="选择 Codex 模型并发送消息"></p>
|
|
142
132
|
|
|
143
133
|
</details>
|
|
144
134
|
|
|
145
135
|
<details>
|
|
146
|
-
<summary
|
|
136
|
+
<summary>五个设置页分别做什么?</summary>
|
|
147
137
|
|
|
148
|
-
|
|
|
138
|
+
| 设置页 | 在这里做什么 |
|
|
149
139
|
| --- | --- |
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
|
154
|
-
|
|
|
140
|
+
| **开始** | 登录与切换账号、各功能开关一览、订阅额度、额度显示和提醒 |
|
|
141
|
+
| **模型** | 默认模型、默认推理等级与模型列表、回答风格;折叠的“高级”里有上下文长度、重试、连接方式、云端压缩、审查模型 |
|
|
142
|
+
| **联网与工具** | 其他模型能否用订阅功能的总开关,搜索来源、ChatGPT 连接器、官方 Codex 子任务 |
|
|
143
|
+
| **创作** | 图片生成、编辑、输入框 @生图、图片查看器,草图画板和 Agent 绘图 |
|
|
144
|
+
| **手机与更多** | 手机远程控制、语音对话(实验性)、本机缓存、支持诊断 |
|
|
155
145
|
|
|
156
|
-
|
|
146
|
+
语音对话默认关闭,在 **手机与更多** 开启后可从输入框发起。Linux 等原生窗口不支持 WebRTC 时,会提供在浏览器中继续同一会话的入口;音色试听仍可使用,继续使用现有订阅,无需 API Key。
|
|
157
147
|
|
|
158
|
-
|
|
148
|
+
**模型感知上下文**跟随账号模型目录,刷新不会覆盖未保存的草稿。设置显示原始窗口,对话预算按官方系数预留安全空间(目录未提供时为 5%),再由 DSH 管理输出预留和压缩,无需手动扣除。额度分组以服务端实际返回为准,包括 Spark 等独立额度。
|
|
159
149
|
|
|
160
|
-
|
|
150
|
+
订阅请求失败时会明确报错,不会静默切换到其他付费路由。
|
|
161
151
|
|
|
162
152
|
</details>
|
|
163
153
|
|
|
164
|
-
|
|
154
|
+
## 图片与草图
|
|
165
155
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Generate images with your subscription, view and download the originals, or mark a region and add notes to continue editing. Image generation and editing are controlled under **Settings → Codex → Create**.
|
|
156
|
+
用订阅生成图片,查看和下载原图;也可以圈选区域、填写备注后继续修改。图片生成与编辑开关在 **设置 → Codex 订阅 → 创作**。
|
|
169
157
|
|
|
170
158
|
<details>
|
|
171
|
-
<summary
|
|
159
|
+
<summary>图片标注与继续编辑</summary>
|
|
172
160
|
|
|
173
|
-
<p align="center"><img src="docs/assets/annotate-
|
|
161
|
+
<p align="center"><img src="docs/assets/annotate-zh.webp" width="900" alt="图片预览:在烟囱上方圈出区域并写下备注,再带着备注继续编辑"></p>
|
|
174
162
|
|
|
175
163
|
</details>
|
|
176
164
|
|
|
177
165
|
<details>
|
|
178
|
-
<summary
|
|
166
|
+
<summary>查看图片与草图设置</summary>
|
|
179
167
|
|
|
180
|
-
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-creative-
|
|
168
|
+
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-creative-zh-dark.png"><img src="docs/assets/ui-creative-zh-light.png" width="564" alt="图片与草图设置:图片生成与编辑、创作入口、请求型号与质量"></picture></p>
|
|
181
169
|
|
|
182
|
-
|
|
170
|
+
DSH 实机设置截图,随浅色 / 深色主题切换。
|
|
183
171
|
|
|
184
172
|
</details>
|
|
185
173
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
### Sketch board (Beta)
|
|
174
|
+
### 草图画板(Beta)
|
|
189
175
|
|
|
190
|
-
|
|
176
|
+
草图画板和 Agent 绘图为 **Beta**,默认关闭,在“创作”页按需开启。手动画图点输入框的草图按钮;让 Agent 画发送 `@sketch` 加要求。
|
|
191
177
|
|
|
192
|
-
|
|
178
|
+
画板支持图层、原生曲线、笔刷、渐变、模糊、混合、裁剪、撤销重做和快捷键,可保存多份草稿、导出 PNG 或可编辑草稿。Agent 可对照参考图、量颜色和位置、撤销重画;画稿还可回放并录成视频。
|
|
193
179
|
|
|
194
180
|
<details>
|
|
195
|
-
<summary>Agent
|
|
181
|
+
<summary>Agent 绘图实例:鲸鱼娘</summary>
|
|
196
182
|
|
|
197
|
-
|
|
183
|
+
以下实例由 Agent 在草图画板上使用原生可编辑笔画绘制,没有调用生图工具。三者使用相同参考图和绘图工具基线;档位、耗时不同,展示的是各一次实跑结果。
|
|
198
184
|
|
|
199
|
-
<p align="center"><b
|
|
185
|
+
<p align="center"><b>原图</b><br><img src="docs/assets/sketch-niang-reference.webp" width="320" alt="鲸鱼娘原始参考图"></p>
|
|
200
186
|
|
|
201
187
|
<table>
|
|
202
188
|
<tr><th width="33%">GPT-6-Astra</th><th width="33%">GPT-6.1-Sol</th><th width="33%">DeepSeek Flash</th></tr>
|
|
203
|
-
<tr><td><img src="docs/assets/sketch-niang-astra-compare.webp" width="280" alt="
|
|
204
|
-
<tr><td>Medium · 20
|
|
189
|
+
<tr><td><img src="docs/assets/sketch-niang-astra-compare.webp" width="280" alt="GPT-6-Astra 在草图画板绘制的鲸鱼娘"></td><td><img src="docs/assets/sketch-niang-sol-6-1.png" width="280" alt="GPT-6.1-Sol 在草图画板绘制的鲸鱼娘"></td><td><img src="docs/assets/sketch-niang-deepseek-flash.png" width="280" alt="DeepSeek Flash 在草图画板绘制的鲸鱼娘"></td></tr>
|
|
190
|
+
<tr><td>Medium · 20 分 57 秒<br>686 笔</td><td>High · 首轮 23 分钟<br>1,020 笔</td><td>High · 9 分 33 秒<br>623 笔</td></tr>
|
|
205
191
|
</table>
|
|
206
192
|
|
|
207
|
-
|
|
193
|
+
6.1 在连接中断后,以自动草稿和原始成功调用恢复全部笔画,再由模型确认预览并保存,未人工补画;这次结果不代表全程无故障完成。
|
|
208
194
|
|
|
209
195
|
</details>
|
|
210
196
|
|
|
211
197
|
<details>
|
|
212
|
-
<summary
|
|
198
|
+
<summary>草图到生图:钟塔剖面图与千峰翠色</summary>
|
|
213
199
|
|
|
214
|
-
|
|
200
|
+
Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅生图工具生成成品。下方 Sol、Astra 指负责执行流程的对话模型,不是生图后端型号。
|
|
215
201
|
|
|
216
|
-
|
|
202
|
+
**钟塔剖面图**
|
|
217
203
|
|
|
218
204
|
<table>
|
|
219
|
-
<tr><th
|
|
220
|
-
<tr><td>GPT-6.1-Sol<br>Xhigh</td><td><img src="docs/assets/sketch-clocktower-sol-sketch.webp" width="360" alt="
|
|
221
|
-
<tr><td>GPT-6-Astra<br>Low</td><td><img src="docs/assets/sketch-clocktower-astra-sketch.webp" width="360" alt="
|
|
205
|
+
<tr><th>对话模型</th><th width="43%">Agent 原生草图</th><th width="43%">以草图为参考的生图结果</th></tr>
|
|
206
|
+
<tr><td>GPT-6.1-Sol<br>Xhigh</td><td><img src="docs/assets/sketch-clocktower-sol-sketch.webp" width="360" alt="钟塔剖面图:sol 绘制的原生草图"></td><td><img src="docs/assets/sketch-clocktower-sol-result.webp" width="360" alt="钟塔剖面图:以 sol 草图为参考生成的图片"></td></tr>
|
|
207
|
+
<tr><td>GPT-6-Astra<br>Low</td><td><img src="docs/assets/sketch-clocktower-astra-sketch.webp" width="360" alt="钟塔剖面图:astra 绘制的原生草图"></td><td><img src="docs/assets/sketch-clocktower-astra-result.webp" width="360" alt="钟塔剖面图:以 astra 草图为参考生成的图片"></td></tr>
|
|
222
208
|
</table>
|
|
223
209
|
|
|
224
|
-
|
|
210
|
+
**千峰翠色**
|
|
225
211
|
|
|
226
212
|
<table>
|
|
227
|
-
<tr><th
|
|
228
|
-
<tr><td>GPT-6.1-Sol<br>Xhigh</td><td><img src="docs/assets/sketch-shanshui-sol-sketch.webp" width="360" alt="
|
|
229
|
-
<tr><td>GPT-6-Astra<br>Low</td><td><img src="docs/assets/sketch-shanshui-astra-sketch.webp" width="360" alt="
|
|
213
|
+
<tr><th>对话模型</th><th width="43%">Agent 原生草图</th><th width="43%">以草图为参考的生图结果</th></tr>
|
|
214
|
+
<tr><td>GPT-6.1-Sol<br>Xhigh</td><td><img src="docs/assets/sketch-shanshui-sol-sketch.webp" width="360" alt="千峰翠色:sol 绘制的原生草图"></td><td><img src="docs/assets/sketch-shanshui-sol-result.webp" width="360" alt="千峰翠色:以 sol 草图为参考生成的图片"></td></tr>
|
|
215
|
+
<tr><td>GPT-6-Astra<br>Low</td><td><img src="docs/assets/sketch-shanshui-astra-sketch.webp" width="360" alt="千峰翠色:astra 绘制的原生草图"></td><td><img src="docs/assets/sketch-shanshui-astra-result.webp" width="360" alt="千峰翠色:以 astra 草图为参考生成的图片"></td></tr>
|
|
230
216
|
</table>
|
|
231
217
|
|
|
232
218
|
</details>
|
|
233
219
|
|
|
234
|
-
[
|
|
220
|
+
[图片编辑与草稿保存 →](docs/GUIDE.zh-CN.md#图片生成与编辑)
|
|
235
221
|
|
|
236
|
-
|
|
222
|
+
## 手机远程控制(Beta)
|
|
237
223
|
|
|
238
|
-
|
|
224
|
+
用 ChatGPT 手机 App 的 Codex 配对电脑上的 DSH,从手机新建或继续对话、调用工具、处理审批,DeepSeek 等任意 DSH 模型都能用。
|
|
239
225
|
|
|
240
|
-
|
|
226
|
+
**默认关闭。** 在 **设置 → Codex 订阅 → 手机与更多 → 手机远程控制** 开启,扫码或输入手动码配对。电脑需要保持开机、联网并运行 DSH。
|
|
241
227
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
This is a third-party compatibility layer using OpenAI's remote connection service. Official Codex remote control exists, but DSH host compatibility is not explicitly guaranteed by OpenAI and may change with service updates. You can remove paired devices or disable it at any time.
|
|
228
|
+
本功能通过 OpenAI 的远程连接服务实现第三方主机兼容。Codex 已有官方远控实现,但 DSH 接入未获官方兼容性承诺,后续服务更新可能影响使用。可以随时移除配对设备或停用。
|
|
245
229
|
|
|
246
230
|
<details>
|
|
247
|
-
<summary
|
|
231
|
+
<summary>手机上支持哪些操作?</summary>
|
|
248
232
|
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
254
|
-
- DSH
|
|
255
|
-
-
|
|
233
|
+
- 查看、新建、续聊、中断、归档对话,搜索对话和对话内的关键词;
|
|
234
|
+
- 切换模型、推理档位和权限(工作区内修改 / 完全访问);
|
|
235
|
+
- 批准工具调用或回答提问时手机直接弹出;手机掉线,重新打开会再弹一次,否则交回电脑处理;
|
|
236
|
+
- 回复边生成边显示;命令、文件修改(带差异)、任务清单、联网搜索、连接器调用和生成的图片用手机原生视图显示;
|
|
237
|
+
- 发图片,@ 搜电脑上的文件,/ 选 DSH 技能,只读 git 查看改动,用真实的文件夹选择器新建对话;
|
|
238
|
+
- DSH 工作区对应手机上的项目;可以从手机分叉对话,看用量额度、累计用量和上下文用量;DSH 支持 `/compact` 时还能从手机压缩上下文;
|
|
239
|
+
- 模型报错会显示在手机上;设置里能看到已配对的手机,随时移除。
|
|
256
240
|
|
|
257
241
|
</details>
|
|
258
242
|
|
|
259
243
|
<details>
|
|
260
|
-
<summary
|
|
244
|
+
<summary>配对设置与已配对手机</summary>
|
|
261
245
|
|
|
262
|
-
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-remote-
|
|
246
|
+
<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>
|
|
263
247
|
|
|
264
248
|
</details>
|
|
265
249
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
## All features
|
|
250
|
+
## 全部功能
|
|
269
251
|
|
|
270
|
-
|
|
252
|
+
模型权限和额度以账号实际返回为准。
|
|
271
253
|
|
|
272
254
|
<details>
|
|
273
|
-
<summary><b
|
|
274
|
-
<br>
|
|
255
|
+
<summary><b>模型与搜索</b></summary>
|
|
275
256
|
|
|
276
|
-
|
|
257
|
+
先按任务选模型,再按需要调整推理等级和速度。推理等级控制分析投入,速度影响支持的请求如何处理,输出详略控制你希望看到的细节。在**联网与工具**中,用搜索找网页,有现成网址时用网页读取。
|
|
258
|
+
|
|
259
|
+
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
277
260
|
| --- | --- | --- |
|
|
278
|
-
|
|
|
279
|
-
|
|
|
280
|
-
|
|
|
281
|
-
|
|
|
282
|
-
|
|
|
283
|
-
|
|
|
284
|
-
|
|
|
285
|
-
|
|
|
286
|
-
| **
|
|
287
|
-
|
|
|
288
|
-
|
|
|
289
|
-
|
|
|
290
|
-
|
|
|
291
|
-
|
|
|
292
|
-
|
|
|
261
|
+
| **订阅登录** | 直接登录 ChatGPT,使用 Codex 订阅模型,无需 API Key | 普通聊天无需 Codex CLI |
|
|
262
|
+
| **模型目录同步** | 自动读取账号可用模型与推理档位,支持手动刷新;上次成功读取的目录会按账号保存在本地,重启时可在后台刷新期间继续使用,缓存有效期为 24 小时;目录标注退役的模型会在模型名称旁显示退役日期,不会自动切换你的选择 | 新型号以账号目录开放情况为准;模型只来自账号目录,未登录或读取失败且没有有效缓存时不显示任何模型,也不使用内置列表 |
|
|
263
|
+
| **模型列表** | 在“模型”页中逐个显示或隐藏输入框中的模型;模型选择器沿用 DSH 官方的模型标识(如新模型徽章) | 仅影响列表显示;已选模型和请求不受影响 |
|
|
264
|
+
| **输入框模型菜单** | 「自动」会给其他模型选择器让位,单独使用时显示订阅菜单。「DSH 标准」由 DSH 或其他插件提供。 | 在“模型”中设置。选择「订阅菜单」可主动使用其选择器与支持的速度档位。已有设置会保留。 |
|
|
265
|
+
| **输入预测(Beta)** | 一轮回复完成后,空输入框可能建议下一句。按 Tab 将建议放进草稿,修改后可自行发送。 | 在“模型”中开启,默认关闭。仅适用于具备预测权限的受支持 Codex 模型,额外请求可能计入用量。 |
|
|
266
|
+
| **默认模型** | 在“模型”页里选择每次新建会话默认使用的模型 | 写入 DSH 的默认模型设置,与在对话里切换模型是同一处;未设置时跟随 DSH 默认 |
|
|
267
|
+
| **默认推理等级** | 在“模型”页统一选择订阅模型的默认档位;默认跟随各模型的官方目录推荐值 | 手动选档优先;模型不支持所选档位时使用该模型的合法默认值;不更改已有会话的手动选择 |
|
|
268
|
+
| **推理等级** | 在输入框选择模型支持的推理档位 | 档位随模型变化 |
|
|
269
|
+
| **Ultra 推理** | 在适合的任务中,使用模型支持的推理等级并让 DSH 主动把独立工作分给原生子任务。 | 仅在模型和 Agent 预设支持时出现。Ultrafast 极速档控制的是速度。 |
|
|
270
|
+
| **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
|
|
271
|
+
| **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
|
|
272
|
+
| **输入图片精度** | 为发送给聊天模型的图片选择低、高、原图或自动精度 | 影响输入 token 用量;默认自动 |
|
|
273
|
+
| **订阅联网搜索** | 自动、DSH、Codex 三种来源 | 自动按会话模型优先选择来源,仅缺少凭据或服务不可用时尝试另一方;手动选择 DSH / Codex 则固定来源,失败直接报错。关闭“其他模型”后,非 Codex 会话只用 DSH 原生搜索。插件不改写 DSH 搜索设置,也不额外使用 DeepSeek 账号回退;原生搜索费用由所选服务决定 |
|
|
274
|
+
| **网页读取来源** | 选择如何读取已知网址,与搜索来源分开设置。 | 在“联网与工具”中设置,默认使用 DSH。切到 Codex 需要宿主支持,失败会直接提示。 |
|
|
275
|
+
| **其他模型总开关** | 一键让 DeepSeek 等非 Codex 模型的对话不再使用订阅的联网搜索、图片生成和 ChatGPT 连接器 | 设置 → Codex 订阅 → 联网与工具;默认开启,Codex 订阅模型不受影响;手机远程控制和语音由你主动开启或发起,不受它影响 |
|
|
276
|
+
| **搜索范围** | 选择实时 / 缓存搜索、关闭搜索,或限定域名 | 在“联网与工具”的搜索来源下 |
|
|
277
|
+
| **流无响应超时** | 设置连续没有收到流式数据时中断请求的时长 | 默认 10 分钟;不是整体回答时限 |
|
|
278
|
+
| **上下文预算** | 按模型使用标准、扩展或自定义上下文预算 | 受模型目录上限约束 |
|
|
279
|
+
| **GPT-Reserve** | 在账号开放时选择备用模型入口 | 实验性;不承诺独立备用额度 |
|
|
293
280
|
|
|
294
281
|
</details>
|
|
295
282
|
|
|
296
283
|
<details>
|
|
297
|
-
<summary><b
|
|
298
|
-
|
|
284
|
+
<summary><b>账号与额度</b></summary>
|
|
285
|
+
|
|
286
|
+
先到**开始 → 订阅额度**看剩余额度和重置时间。短周期和每周额度可以同时生效。额度去向解释过去的用量,续航预测则按最近的使用速度估算。打开输入框额度后,聊天时也能查看剩余量。
|
|
299
287
|
|
|
300
|
-
|
|
|
288
|
+
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
301
289
|
| --- | --- | --- |
|
|
302
|
-
|
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
306
|
-
| **Credits
|
|
307
|
-
|
|
|
308
|
-
|
|
|
309
|
-
|
|
|
310
|
-
|
|
|
311
|
-
|
|
|
290
|
+
| **多账号管理** | 添加、切换、移除账号,或退出全部账号 | 设置 → Codex 订阅 → 开始 |
|
|
291
|
+
| **额度详情** | 查看短周期 / 每周额度、重置时间及独立额度分组 | 仅展示服务端返回的窗口与分组 |
|
|
292
|
+
| **额度去向** | 在额度卡片里按周查看额度花在哪:按模型、入口、来源和触发方式拆分 | 来自官方用量报告,近似值,有一两天延迟;账号没有该报告时不显示 |
|
|
293
|
+
| **使用概览** | 在额度卡片里查看累计 token、单日最高、连续使用天数、最常用推理档,以及最近半年的每日用量热力图 | 来自官方使用统计;账号没有该统计时不显示 |
|
|
294
|
+
| **Credits 与重置卡** | 查看额外 Credits、消费上限和可用重置卡 | 账号返回对应数据时显示 |
|
|
295
|
+
| **输入框额度** | 不离开会话即可查看百分比或进度条 | 默认关闭,可选显示方式 |
|
|
296
|
+
| **续航预测** | 悬浮或点击输入框额度,查看按最近用量估算的用完时间 | Beta;可选,不是保证值 |
|
|
297
|
+
| **额度提醒** | 使用固定阈值、提前提醒,或分别设置短 / 长周期阈值 | 默认剩余 20% 提醒,可关闭 |
|
|
298
|
+
| **使用重置卡** | 在确认后主动使用服务端提供的重置卡 | 二次确认与等待保护,由服务端判定结果 |
|
|
299
|
+
| **重置后重试** | 等待已确认的短时额度重置,再继续请求 | 默认关闭;等待期间可停止 |
|
|
312
300
|
|
|
313
301
|
</details>
|
|
314
302
|
|
|
315
303
|
<details>
|
|
316
|
-
<summary><b
|
|
317
|
-
|
|
304
|
+
<summary><b>图片与草图</b></summary>
|
|
305
|
+
|
|
306
|
+
用生图创建新图,用参考图或评论标记说明要改哪里。关闭查看器会保存标记。点击**添加到输入框**后,可以检查草稿再发送。分享时导出 PNG,想保留可编辑的图层和笔触时保存原生草稿。
|
|
318
307
|
|
|
319
|
-
|
|
|
308
|
+
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
320
309
|
| --- | --- | --- |
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
|
|
|
326
|
-
|
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
|
|
|
330
|
-
|
|
|
331
|
-
|
|
|
332
|
-
| **Agent
|
|
333
|
-
|
|
|
334
|
-
|
|
|
310
|
+
| **图片生成** | 通过订阅生成图片,调整可用的请求型号与质量;需要时可生成透明背景 PNG | 默认开启,可关闭 |
|
|
311
|
+
| **参考图编辑** | 带上参考图继续修改作品 | 默认开启,可关闭 |
|
|
312
|
+
| **图片查看与下载** | 完成的出图结果直接显示在回答后,无需展开工具过程;可缩放、拖动、适合窗口、下载校验后的原图 | 内置查看器,无需另装;旧图可能只有预览 |
|
|
313
|
+
| **区域标注编辑** | 在图上圈定区域、填写备注,带定位参考继续编辑 | 回填输入框后由你确认发送 |
|
|
314
|
+
| **手绘画板** | 选择画布比例,使用钢笔、铅笔、荧光笔及橡皮 | Beta;画板默认关闭 |
|
|
315
|
+
| **形状与文字** | 绘制直线、箭头、形状、原生曲线,选中修改对象和文字 | 在草图画板中使用 |
|
|
316
|
+
| **渐变、模糊、混合与裁剪** | 填充可用线性 / 径向渐变;笔画可加模糊(发光、阴影、雾气)、混合模式(正片叠底、滤色、叠加等)和形状裁剪;图层也能设混合模式 | 都保留为可编辑属性,随移动缩放、草稿和导出保存;Agent 用 SVG 的渐变、`feGaussianBlur`、`mix-blend-mode`、`clip-path` 画出同样效果 |
|
|
317
|
+
| **图层与图片导入** | 分层创作,将图片加入草图继续画 | 图片作为图层管理 |
|
|
318
|
+
| **笔画平滑与导航** | 抬笔后平滑整条路径;拖动、缩放、撤销重做 | 快捷键可自定义和关闭 |
|
|
319
|
+
| **多份草稿** | 保存并重新编辑最多 20 份本地草稿 | 保存在当前浏览器 |
|
|
320
|
+
| **导入与导出** | 导出 PNG,或交换保留原生笔画的草稿文件 | 草稿文件可重新导入继续编辑 |
|
|
321
|
+
| **Agent 绘图** | 用 `@sketch` 让 Agent 绘制,查看进度并随时停止;Agent 可用 SVG 整段作画,导入为可编辑原生笔画;有参考图时可并排对比、看差异热图、局部放大、量颜色与边缘位置、撤销重画,每批画完都会返回误差变化 | Beta;默认关闭,需同时开启画板。这些工具只测量和展示,不替模型作画 |
|
|
322
|
+
| **绘制回放与视频** | 画板里的“回放”按钮把绘制过程一笔一笔重放(线条沿路径画出,填充先描边再自上而下铺色),可调速、拖动进度,并录成 WebM 视频 | 视频先在画板里预览,点“保存视频”才会保存,不会自动下载 |
|
|
323
|
+
| **绘图结果回看** | 完成后向模型返回画布预览,帮助后续检查 | Beta;默认关闭,会增加图片输入用量 |
|
|
335
324
|
|
|
336
325
|
</details>
|
|
337
326
|
|
|
338
|
-
<a id="codex-subtask-runtime"></a>
|
|
339
|
-
|
|
340
327
|
<details>
|
|
341
|
-
<summary><b
|
|
342
|
-
|
|
328
|
+
<summary><b>进阶能力与维护</b></summary>
|
|
329
|
+
|
|
330
|
+
手机远程用来在 ChatGPT 手机 App 中操作正在运行的 DSH,语音通话用来直接在会话中说话,子任务用来分派部分工作。遇到问题时,到**手机与更多 → 支持诊断**确认报告说的是哪项前提条件或近期操作。
|
|
343
331
|
|
|
344
|
-
|
|
|
332
|
+
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
345
333
|
| --- | --- | --- |
|
|
346
|
-
|
|
|
347
|
-
|
|
|
348
|
-
| **
|
|
349
|
-
|
|
|
350
|
-
|
|
|
351
|
-
| **
|
|
352
|
-
| **
|
|
353
|
-
| **
|
|
354
|
-
|
|
|
334
|
+
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta;默认关闭,设置 → Codex 订阅 → 手机与更多 → 手机远程控制,扫码或输入手动码配对 |
|
|
335
|
+
| **语音对话(Beta)** | 从输入框开始语音对话。原生窗口缺少 WebRTC 时,可转到浏览器通话。 | 在“手机与更多”中开启,默认关闭。通话时按提示允许使用麦克风。 |
|
|
336
|
+
| **Codex 独立子任务** | 复用订阅登录和工作区权限执行独立任务,可指定允许的模型与推理档位 | Beta,可选,多数人用不到:默认用 DSH 自己的子智能体(同样能用订阅模型);想让子任务由官方 Codex Agent 执行时,才安装可选组件(含本插件专用 Codex CLI),并在“插件 → 子智能体”开启模型选择。用独立数据目录和订阅登录,不读你电脑上的 Codex 登录 |
|
|
337
|
+
| **子任务组件管理** | 在设置里安装、停用或卸载官方 Codex 子任务组件 | 由支持的 DSH 宿主管理,无需额外登录 |
|
|
338
|
+
| **云端上下文压缩** | 使用 Codex 云端压缩继续长对话,同时保留 DSH 历史与原生压缩 | Beta / 实验性;默认关闭,开启的请求使用 SSE |
|
|
339
|
+
| **WebSocket 连接** | 实验性复用连接和上下文传输,连接失败可回退 SSE | Beta / 实验性;默认 SSE,不保证更快 |
|
|
340
|
+
| **Auto review 官方审查模型** | DSH Auto review 改用 Codex 自带的审查模型判断工具调用,审查规则与放行流程仍由 DSH 负责 | Beta;默认关闭,账号目录提供该模型时生效 |
|
|
341
|
+
| **ChatGPT 连接器** | 让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等;模型先搜索再调用,写入审批取决于所选模式和当前 DSH 会话权限 | 默认关闭,设置 → Codex 订阅 → 联网与工具 → ChatGPT 连接器;需先在 ChatGPT 里连接应用 |
|
|
342
|
+
| **支持诊断** | 查看功能前置条件和近期操作结果,一键复制约 1 KB 的精简报告(完整报告可另行复制);不含凭据和会话正文 | 设置 → Codex 订阅 → 手机与更多;未验证不代表故障 |
|
|
343
|
+
| **预测缓存清理** | 查看并清理本地额度预测历史 | 保留登录、草稿、原图和共享依赖 |
|
|
355
344
|
|
|
356
345
|
</details>
|
|
357
346
|
|
|
358
|
-
<a id="
|
|
347
|
+
<a id="agent-reference"></a>
|
|
359
348
|
|
|
360
|
-
###
|
|
349
|
+
### 供 Agent 和贡献者参考
|
|
361
350
|
|
|
362
|
-
|
|
351
|
+
会话、工具审批和工作区权限由 DSH 管理。订阅插件提供 Codex 请求路径,以及上面介绍的设置和工具。排查功能为什么不可用时,先核对 DSH 版本、账号能力、当前模型和设置,再追踪相关工具或请求。
|
|
363
352
|
|
|
364
|
-
|
|
353
|
+
[完整使用指南](docs/GUIDE.zh-CN.md) · [草图工具协议](docs/sketch-agent.md) · [设置默认值](src/preference-fields.js)
|
|
365
354
|
|
|
366
|
-
|
|
367
|
-
- Successful responses save small, text-free state alongside DSH's existing replay metadata for restart, resume and forks. Successful local compaction changes the prefix; after checking DSH's committed history replacement, the plugin establishes a fresh baseline at the selected effort. Failed compaction keeps the previous state.
|
|
368
|
-
- Enabling an existing chat or returning to a supported model establishes a baseline only when the complete input matches DSH's native session history. The first request may lose the old cache. Unverifiable history, unsupported models, account changes and resource limits use ordinary requests with your selected effort.
|
|
369
|
-
- The same-process pending state freezes an already dispatched input even if it fails or is cancelled. Selecting a different effort for that exact retry reports an error; keep its original effort or send a new message. Failed attempts have no durable successful-response checkpoint, so preserving their cache prefix across a process restart or plugin reload is not guaranteed.
|
|
370
|
-
- Disabling restores ordinary requests without retrofitting updates into old logs. Update history is never sent to `/responses/compact`. Pro, multi-agent, automatic truncation and automatic compaction are not supported.
|
|
371
|
-
- The feature is bounded to 20,000 input items, 16 MiB of fingerprinted input/envelope data, 128 updates and 256 active/pending sessions. Boundary or history validation failures stop preservation, not your selected reasoning effort.
|
|
355
|
+
### 切换推理强度时复用缓存
|
|
372
356
|
|
|
373
|
-
|
|
357
|
+
**切换推理强度时复用缓存**位于**设置 → Codex 订阅 → 模型 → 高级**,默认开启,可随时关闭;已保存的关闭选择会保留。只对当前账号模型目录明确声明支持的标准、单智能体模型生效;不根据模型名称猜测支持情况。普通提示词缓存原本就是自动的,关闭这个开关仍有普通缓存。
|
|
374
358
|
|
|
375
|
-
|
|
359
|
+
请求顶层 `reasoning.effort` 保持当前上下文窗口的初始值。在 DSH 调整强度后,插件在新增历史中记录 `configuration_update`,后续请求保留它的位置。这有助于减少切档导致的缓存失效,不保证每次命中、回复更快或额度节省;服务端响应的顶层 effort 仍可能显示初始值。
|
|
376
360
|
|
|
377
|
-
|
|
361
|
+
- **云端自动压缩和无限重试模式会禁用此功能。** 界面会说明冲突;不会自动修改压缩、重试、鉴权、连接或 cache key 设置。
|
|
362
|
+
- 成功响应在 DSH 原有 replay metadata 中保存少量不含正文的状态,重启、恢复和分支可据此续用。本地压缩成功后,旧前缀不再相同,插件核对 DSH 已提交的历史替换并以当前强度建立新基线;失败的压缩不会清掉原状态。
|
|
363
|
+
- 开启已有会话或切回支持的模型时,只有能与 DSH 原生会话历史完整核对,才建立新基线,第一条不保证复用旧缓存。无法验证的历史、不支持的模型、账户变化及资源上限会使用所选强度的普通请求。
|
|
364
|
+
- 同一进程中的 pending 状态会固定已发送输入,即使该请求失败或取消。对完全相同的输入重试时选择不同强度会明确报错;请保留原强度重试,或发送新消息。失败请求没有成功响应的持久化检查点,因此进程重启或插件重载后,不保证保留失败请求的缓存前缀。
|
|
365
|
+
- 关闭后恢复普通请求,不给旧日志补写 update。不向 `/responses/compact` 发送 update 历史,不支持 pro、多智能体、自动截断或自动压缩。
|
|
366
|
+
- 上限为 20,000 个 input item、16 MiB 输入与外层字段指纹数据、128 个 update,以及 256 个活动或 pending 会话。历史校验或边界校验失败时停止保缓存,不忽略用户所选强度。
|
|
378
367
|
|
|
379
|
-
|
|
368
|
+
此机制使用 OpenAI [推理指南](https://developers.openai.com/api/docs/guides/reasoning)中的 configuration update;[提示词缓存文档](https://developers.openai.com/api/docs/guides/prompt-caching)解释缓存条件。支持情况以当前账号目录和实际响应为准;服务端拒绝参数时报告错误,不换成旧强度或 API key 重试。
|
|
369
|
+
|
|
370
|
+
## 更新与卸载
|
|
371
|
+
|
|
372
|
+
在 DSH **插件** 页面找到本插件,使用更新或卸载操作,完成后按页面提示重启。卸载插件不会删除其他插件。
|
|
380
373
|
|
|
381
374
|
<details>
|
|
382
|
-
<summary
|
|
375
|
+
<summary>终端方式</summary>
|
|
383
376
|
|
|
384
377
|
```sh
|
|
385
|
-
dsh plugin --profile web update dsh-codex-subscription@3.2.
|
|
378
|
+
dsh plugin --profile web update dsh-codex-subscription@3.2.10
|
|
386
379
|
```
|
|
387
380
|
|
|
388
|
-
|
|
381
|
+
仅在需要卸载时运行:
|
|
389
382
|
|
|
390
383
|
```sh
|
|
391
384
|
dsh plugin --profile web remove dsh-codex-subscription
|
|
@@ -393,77 +386,73 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
393
386
|
|
|
394
387
|
</details>
|
|
395
388
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
## Troubleshooting
|
|
389
|
+
## 常见问题
|
|
399
390
|
|
|
400
391
|
<details>
|
|
401
|
-
<summary
|
|
392
|
+
<summary>和官方插件列表里的 Codex 组合包(dsh-hooks-codex)是什么关系?</summary>
|
|
402
393
|
|
|
403
|
-
|
|
394
|
+
没有关系,可以同时安装。官方的 Codex / Claude Code 组合包让 DSH 运行 Codex 或 Claude Code 格式的 hooks 配置(工具调用前后自动执行的脚本);本插件负责用 ChatGPT 订阅登录、使用 Codex 模型、查看额度、搜索、生图和手机远程控制。
|
|
404
395
|
|
|
405
396
|
</details>
|
|
406
397
|
|
|
407
398
|
<details>
|
|
408
|
-
<summary
|
|
399
|
+
<summary>电脑没有 dsh 命令,怎么安装?</summary>
|
|
409
400
|
|
|
410
|
-
|
|
401
|
+
直接使用 DSH 的 **插件 → 添加插件**,粘贴包名即可,无需配置终端命令。
|
|
411
402
|
|
|
412
403
|
</details>
|
|
413
404
|
|
|
414
405
|
<details>
|
|
415
|
-
<summary
|
|
406
|
+
<summary>有多个 DSH,或安装后找不到插件?</summary>
|
|
416
407
|
|
|
417
|
-
|
|
408
|
+
在你实际使用的 DSH 中安装。使用终端时,请从目标 DSH 环境运行命令,并确认对应的 profile;不要删除 profile 或修改系统 PATH 来强行安装。
|
|
418
409
|
|
|
419
410
|
</details>
|
|
420
411
|
|
|
421
412
|
<details>
|
|
422
|
-
<summary
|
|
413
|
+
<summary>如何反馈问题?</summary>
|
|
423
414
|
|
|
424
|
-
|
|
415
|
+
在 **设置 → Codex 订阅 → 手机与更多** 生成“支持诊断”,粘贴到[使用问题表单](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=install-problem.yml)的诊断栏,并补充触发步骤。
|
|
425
416
|
|
|
426
|
-
|
|
417
|
+
诊断不含凭据、账号标识、原始响应或完整日志。请勿附上登录链接、授权码或浏览器回调地址。
|
|
427
418
|
|
|
428
419
|
</details>
|
|
429
420
|
|
|
430
421
|
<details>
|
|
431
|
-
<summary
|
|
422
|
+
<summary>需要装 Codex 命令行才能用吗?</summary>
|
|
432
423
|
|
|
433
|
-
|
|
424
|
+
使用 **Codex 独立子任务** 时,在 DSH 插件页安装 **Codex 子智能体**,再到订阅设置中点击 **准备 CLI**。[安装、卸载与完整说明 →](docs/GUIDE.zh-CN.md#codex-subtask-runtime)
|
|
434
425
|
|
|
435
426
|
</details>
|
|
436
427
|
|
|
437
|
-
<a id="
|
|
438
|
-
<a id="
|
|
439
|
-
|
|
440
|
-
<a id="project-and-support"></a>
|
|
428
|
+
<a id="定位与边界"></a>
|
|
429
|
+
<a id="边界与支持"></a>
|
|
441
430
|
|
|
442
|
-
##
|
|
431
|
+
## 项目与支持
|
|
443
432
|
|
|
444
|
-
-
|
|
445
|
-
-
|
|
446
|
-
-
|
|
447
|
-
-
|
|
433
|
+
- **只做 ChatGPT / Codex 订阅**,并把这一件事做深:额度与预测、图片与草图、子任务、诊断;不接入 Claude、Grok 等其他订阅。
|
|
434
|
+
- **失败就明确报错**:不会静默切换到其他付费路由,也不会虚构账号没有返回的额度窗口。
|
|
435
|
+
- **跟随官方 DSH 发布**:每次发版都用官方 DSH 的 latest、next 等通道做安装、启动、卸载、重装的端到端验收;已验证的版本见 [兼容性记录](docs/dsh-020-compatibility.md)。
|
|
436
|
+
- 模型、额度和功能开放情况以你的账号实际返回为准;ChatGPT 后端与 DSH 可能独立变化。
|
|
448
437
|
|
|
449
|
-
|
|
438
|
+
本项目为社区项目,与 DeepSeek、OpenAI 无隶属或背书关系。
|
|
450
439
|
|
|
451
|
-
-
|
|
452
|
-
-
|
|
453
|
-
-
|
|
454
|
-
-
|
|
455
|
-
-
|
|
456
|
-
-
|
|
440
|
+
- 本项目的问题反馈请使用[使用问题表单](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=install-problem.yml);
|
|
441
|
+
- 明确的产品建议请使用[功能建议表单](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=feature-request.yml);
|
|
442
|
+
- 欢迎提交聚焦的修复和兼容性改进,具体要求见 [CONTRIBUTING.md](CONTRIBUTING.md);
|
|
443
|
+
- 欢迎[共同维护与开发](CONTRIBUTING.md#help-maintain):长期负责某个模块、跟进相关问题或参与代码审查,可以[开个 Issue 聊聊](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=help-maintain.yml);
|
|
444
|
+
- DSH 插件交流可前往 [DeepSeek Harness Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions)。
|
|
445
|
+
- 敏感问题请先阅读 [SECURITY.md](SECURITY.md)。
|
|
457
446
|
|
|
458
|
-
|
|
447
|
+
如果这个项目对你有帮助,[点一下 Star](https://github.com/WSL043/dsh-codex-subscription/stargazers) 可以让更多 DSH 用户发现它。
|
|
459
448
|
|
|
460
449
|
<a href="https://star-history.com/#WSL043/dsh-codex-subscription&Date">
|
|
461
450
|
<picture>
|
|
462
451
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date&theme=dark" />
|
|
463
|
-
<img alt="Star
|
|
452
|
+
<img alt="Star 趋势" src="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date" />
|
|
464
453
|
</picture>
|
|
465
454
|
</a>
|
|
466
455
|
|
|
467
|
-
|
|
456
|
+
[MIT](LICENSE)
|
|
468
457
|
|
|
469
458
|
[](https://github.com/deepseek-ai/deepseek-harness)
|