dsh-codex-subscription 3.1.0 → 3.1.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 +50 -56
- package/README.md +60 -56
- package/lib/client.js +2958 -2176
- package/lib/index.js +107 -20
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -18,7 +18,7 @@ Sign in with ChatGPT Plus / Pro to use GPT-6 and other Codex models, quota, web
|
|
|
18
18
|
[](LICENSE)
|
|
19
19
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
20
20
|
|
|
21
|
-
[Install](#install) · [Highlights](#highlights) · [Phone remote control](#phone-remote-control-beta)
|
|
21
|
+
[Install](#install) · [Highlights](#highlights) · [Phone remote control](#phone-remote-control-beta) · [All features](#all-features) · [User guide](docs/GUIDE.en.md) · [Troubleshooting](#troubleshooting)
|
|
22
22
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
@@ -42,7 +42,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
42
42
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
43
43
|
|
|
44
44
|
```text
|
|
45
|
-
dsh-codex-subscription@3.1.
|
|
45
|
+
dsh-codex-subscription@3.1.2
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
@@ -54,7 +54,7 @@ Why the version is included: DSH's plugin page only installs versions that are a
|
|
|
54
54
|
<summary>Terminal installation (with an existing dsh command)</summary>
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
dsh plugin --profile web add dsh-codex-subscription@3.1.
|
|
57
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.2
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Follow the restart instructions, then sign in under **Settings → Codex**. Both the Plugins page and the terminal use DSH's installation management.
|
|
@@ -67,7 +67,7 @@ Follow the restart instructions, then sign in under **Settings → Codex**. Both
|
|
|
67
67
|
After signing in and selecting a Codex model in Web, install the same plugin in the Headless profile:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.1.
|
|
70
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.2
|
|
71
71
|
dsh --profile headless "Reply with only the word: ok"
|
|
72
72
|
```
|
|
73
73
|
|
|
@@ -83,8 +83,13 @@ Sign in to ChatGPT under **Settings → Codex** in DSH, then pick GPT-6 and the
|
|
|
83
83
|
|
|
84
84
|
Short-window and weekly quota, reset times, extra Credits and reset cards live in settings; the composer can keep the remaining quota in view and warn you below a threshold.
|
|
85
85
|
|
|
86
|
+
<details>
|
|
87
|
+
<summary>Show screenshot</summary>
|
|
88
|
+
|
|
86
89
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-quota-en-dark.png"><img src="docs/assets/ui-quota-en-light.png" width="560" alt="Quota card: weekly quota and reset time, with usage overview and where the allowance went below"></picture></p>
|
|
87
90
|
|
|
91
|
+
</details>
|
|
92
|
+
|
|
88
93
|
<details>
|
|
89
94
|
<summary>Usage overview and where the allowance went: lifetime usage, streaks, a daily heatmap and the weekly breakdown</summary>
|
|
90
95
|
<br>
|
|
@@ -95,8 +100,13 @@ Short-window and weekly quota, reset times, extra Credits and reset cards live i
|
|
|
95
100
|
|
|
96
101
|
Pick the model, the reasoning level and the speed tier while the remaining quota stays in view, without opening settings for every request.
|
|
97
102
|
|
|
103
|
+
<details>
|
|
104
|
+
<summary>Show screenshot</summary>
|
|
105
|
+
|
|
98
106
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-composer-en-dark.png"><img src="docs/assets/ui-composer-en-light.png" width="760" alt="Composer: permission, sketch, remaining quota, the lightning mark for Fast mode and the model picker"></picture></p>
|
|
99
107
|
|
|
108
|
+
</details>
|
|
109
|
+
|
|
100
110
|
### Phone remote control (Beta)
|
|
101
111
|
|
|
102
112
|
Pair the ChatGPT mobile app's Codex section with a QR code and the DSH on your computer shows up as a host on your phone. DeepSeek and any other DSH model work from the phone:
|
|
@@ -109,25 +119,35 @@ Pair the ChatGPT mobile app's Codex section with a QR code and the DSH on your c
|
|
|
109
119
|
- DSH workspaces appear as projects; fork a conversation, see usage limits, lifetime usage and context usage; where DSH has `/compact` (0.2.1-rc.2 onwards), compact the context from the phone;
|
|
110
120
|
- model errors show on the phone; paired phones are listed in settings and can be removed.
|
|
111
121
|
|
|
112
|
-
Off by default: **Settings → Codex →
|
|
122
|
+
Off by default: **Settings → Codex subscription → Phone & more → Phone remote control**. The computer must stay on, online and running DSH. This feature is a third-party host compatibility layer built on the Codex Remote Control protocol and uses OpenAI's remote connection service. Codex has an official remote control implementation, but connecting DSH as a third-party host is not something OpenAI has explicitly committed to support, and later service updates may affect compatibility, hence Beta. It is off by default; you can turn it on, manage paired devices or turn it off at any time. It does not mean OpenAI has certified or endorsed it.
|
|
123
|
+
|
|
124
|
+
<details>
|
|
125
|
+
<summary>Show screenshot</summary>
|
|
113
126
|
|
|
114
127
|
<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>
|
|
115
128
|
|
|
129
|
+
</details>
|
|
130
|
+
|
|
116
131
|
### Images and sketching
|
|
117
132
|
|
|
118
133
|
Generate images with your subscription, circle a region and write a note to keep editing, or open the sketch board to draw yourself or let the agent draw, then use the sketch as the reference for the finished image. The board supports gradients, blur, blend modes and shape clipping; when the agent draws from a reference it can compare side by side, read a difference heat map, measure colours and positions, and undo; a finished drawing can be replayed stroke by stroke and recorded as a video.
|
|
119
134
|
|
|
135
|
+
<details>
|
|
136
|
+
<summary>Show screenshot</summary>
|
|
137
|
+
|
|
120
138
|
<p align="center"><img src="docs/assets/annotate-en.webp" width="900" alt="Image preview: a region above the chimney is marked with a note, then editing continues with the note"></p>
|
|
121
139
|
|
|
122
|
-
|
|
140
|
+
</details>
|
|
141
|
+
|
|
142
|
+
Details are in [Sketch board](#sketch-board-beta); the switches are under **Settings → Codex → Images & sketch**.
|
|
123
143
|
|
|
124
144
|
### ChatGPT connectors
|
|
125
145
|
|
|
126
|
-
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
|
|
146
|
+
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.
|
|
127
147
|
|
|
128
148
|
### Decide whether DeepSeek and other models get the subscription features
|
|
129
149
|
|
|
130
|
-
Web search source, ChatGPT connectors
|
|
150
|
+
Web search source, ChatGPT connectors and official Codex 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.
|
|
131
151
|
|
|
132
152
|
[Usage details, limitations and optional components →](docs/GUIDE.en.md)
|
|
133
153
|
|
|
@@ -143,15 +163,15 @@ Model access and quota depend on your account.
|
|
|
143
163
|
| --- | --- | --- |
|
|
144
164
|
| **Subscription sign-in** | Sign in to ChatGPT and use Codex subscription models without an API key | Normal chat needs no Codex CLI |
|
|
145
165
|
| **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 it cannot be read no models are shown and no bundled list stands in |
|
|
146
|
-
| **Model list** | Show or hide individual models in the composer picker
|
|
147
|
-
| **Default model** | Choose the model a new conversation opens with
|
|
166
|
+
| **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 |
|
|
167
|
+
| **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 |
|
|
148
168
|
| **Reasoning levels** | Choose supported reasoning effort in the composer | Levels vary by model |
|
|
149
169
|
| **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 |
|
|
150
170
|
| **Response verbosity** | Request short, medium, or detailed responses | Follows the model default unless changed |
|
|
151
171
|
| **Input image detail** | Choose Low, High, Original, or Auto detail for images sent to the chat model | Affects input tokens; Auto by default |
|
|
152
172
|
| **Subscription web search** | Use Codex search or choose DSH search | Auto, DSH, and Codex sources; routed at search time without rewriting DSH's own search settings, so the official settings page keeps showing what you set; both the DeepSeek account route and the API-key route (new Search API / legacy) work; when one side is signed out or has no key the other is used |
|
|
153
|
-
| **Other-models switch** | One switch that stops conversations on DeepSeek and other non-Codex models from using subscription web search, image generation and ChatGPT connectors | Settings → Codex subscription →
|
|
154
|
-
| **Search scope** | Choose live / cached search, disable search, or restrict domains | Configure under
|
|
173
|
+
| **Other-models switch** | One switch that stops conversations on DeepSeek and other non-Codex models from using subscription web search, image generation and ChatGPT connectors | Settings → Codex subscription → Web & tools; on by default, Codex subscription models are not affected; phone remote control and voice are started by you and are not affected |
|
|
174
|
+
| **Search scope** | Choose live / cached search, disable search, or restrict domains | Configure under Web & tools, in the search source group |
|
|
155
175
|
| **Stream inactivity timeout** | Set how long a request can receive no streamed data before it is aborted | 10 minutes by default; not an overall response deadline |
|
|
156
176
|
| **Context budget** | Use standard, extended, or custom budgets per model | Limited by the model catalog |
|
|
157
177
|
| **GPT-Reserve** | Select the reserve model when your account offers it | Experimental; no promise of a separate reserve quota |
|
|
@@ -206,13 +226,13 @@ Model access and quota depend on your account.
|
|
|
206
226
|
|
|
207
227
|
| Feature | What you can do | Availability / setup |
|
|
208
228
|
| --- | --- | --- |
|
|
209
|
-
| **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; off by default; Settings → Codex →
|
|
229
|
+
| **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; off by default; Settings → Codex → Web & tools → Phone remote control, pair by QR or manual code |
|
|
210
230
|
| **Codex independent subtasks** | Reuse subscription sign-in and workspace permissions; select allowed models and reasoning levels | Beta, optional, most people do not need it: by default DSH runs its own subagents (they can use subscription models too); install the optional component (about 377 MB on Windows) and turn on model selection under Plugins → Subagents only if you want subtasks run by the official Codex agent. It uses its own data directory and your subscription sign-in, never the Codex login on this computer |
|
|
211
231
|
| **Subtask component management** | Install, disable, or uninstall the official Codex subtask component from settings | Managed by supported DSH hosts; no extra login |
|
|
212
232
|
| **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 |
|
|
213
233
|
| **WebSocket transport** | Experimentally reuse connections and context transfers, with SSE fallback on connection failure | Beta / experimental; SSE by default, no speed guarantee |
|
|
214
234
|
| **Codex reviewer for Auto review** | DSH Auto review judges tool calls with Codex's own review model; DSH keeps its review policy and allow/deny flow | Beta; off by default, applies when your account catalog offers the model |
|
|
215
|
-
| **ChatGPT connectors** | Let DeepSeek or any 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, switchable | Off by default, Settings → Codex →
|
|
235
|
+
| **ChatGPT connectors** | Let DeepSeek or any 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, switchable | Off by default, Settings → Codex → Web & tools → ChatGPT connectors; connect the apps in ChatGPT first |
|
|
216
236
|
| **Support diagnostics** | Inspect prerequisites and recent operation results, and copy a short report (about 1 KB; the full one can be copied separately) without credentials or conversation text | Settings → Maintenance; unverified does not mean broken |
|
|
217
237
|
| **Forecast cache cleanup** | Inspect and clear local quota forecast history | Keeps sign-in, drafts, originals, and shared dependencies |
|
|
218
238
|
|
|
@@ -235,11 +255,11 @@ Open **Settings → Codex** to manage accounts and quota. Enable other features
|
|
|
235
255
|
|
|
236
256
|
| Settings tab | What it controls |
|
|
237
257
|
| --- | --- |
|
|
238
|
-
| **
|
|
239
|
-
| **Models
|
|
240
|
-
| **
|
|
241
|
-
| **
|
|
242
|
-
| **
|
|
258
|
+
| **Start** | Sign-in and accounts, a switch for every feature, subscription quota, quota display and alerts |
|
|
259
|
+
| **Models** | Default model and model list, answer style; the folded Advanced group has context length, retry, connection mode, cloud compaction and the review model |
|
|
260
|
+
| **Web & tools** | The master switch for other models, search source, ChatGPT connectors, official Codex subtasks |
|
|
261
|
+
| **Create** | Image generation, editing, @image in the composer, image viewer, sketch board and agent drawing |
|
|
262
|
+
| **Phone & more** | Phone remote control, voice calls, local cache, support diagnostics |
|
|
243
263
|
|
|
244
264
|
**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.
|
|
245
265
|
|
|
@@ -249,42 +269,9 @@ Subscription failures remain visible: no silent fallback to another paid route.
|
|
|
249
269
|
|
|
250
270
|
[Read the complete user guide →](docs/GUIDE.en.md)
|
|
251
271
|
|
|
252
|
-
## Sketch
|
|
272
|
+
## Sketch board (Beta)
|
|
253
273
|
|
|
254
|
-
The sketch board and
|
|
255
|
-
|
|
256
|
-
Both examples below were **drawn on the board only, with no image generation**, one run each, so they do not show consistent performance. "Error" is the mean per-pixel colour difference from the reference (smaller is closer, 0 is identical).
|
|
257
|
-
|
|
258
|
-
**DeepSeek-chan, copied from a reference**
|
|
259
|
-
|
|
260
|
-
<table>
|
|
261
|
-
<tr><th width="33%">Reference</th><th width="33%">Before: best of the old tools</th><th width="33%">Now: new tools</th></tr>
|
|
262
|
-
<tr><td><img src="docs/assets/sketch-niang-reference.webp" alt="DeepSeek-chan meme reference" width="240"></td><td><img src="docs/assets/sketch-niang-astra-compare.webp" alt="DeepSeek-chan drawn with the old tools" width="240"><br><sub>GPT-6-Astra Medium · 20 min 57 s · 686 strokes<br>error 8.8%</sub></td><td><img src="docs/assets/sketch-niang-astra-new.webp" alt="DeepSeek-chan drawn with the new tools" width="240"><br><sub>GPT-6-Astra Medium · 8 min 11 s · 481 strokes<br>error 9.3%</sub></td></tr>
|
|
263
|
-
</table>
|
|
264
|
-
|
|
265
|
-
By the numbers they are close and the new run took less than half the time; the hands-on-hips pose and the small whale on the apron are more accurate, while fine hair strands and lace are still less delicate than the original.
|
|
266
|
-
|
|
267
|
-
**Hatsune Miku, portrait, copied from a reference**
|
|
268
|
-
|
|
269
|
-
<table>
|
|
270
|
-
<tr><th width="50%">Before: overlay compare and grid</th><th width="50%">Now: new tools</th></tr>
|
|
271
|
-
<tr><td><img src="docs/assets/sketch-miku-sol-before.webp" alt="Miku drawn with the old tools" width="330"><br><sub>GPT-6.1-Sol Xhigh · error 6.7%</sub></td><td><img src="docs/assets/sketch-miku-sol-new.webp" alt="Miku drawn with the new tools" width="330"><br><sub>GPT-6.1-Sol Xhigh · 21 min · 685 strokes · error 5.2%</sub></td></tr>
|
|
272
|
-
</table>
|
|
273
|
-
|
|
274
|
-
The error fell by about a quarter, and the shoulder "01", the sleeve screen and the thigh lacing were added. Reading the model's full tool trace shows that what remains is mostly the tone and colour of large masses (hair, skin, legs) rather than edge placement: four whole-layer SVG stages in the first three minutes took the error from 18% to 6.5%, and the next 17 minutes of refinement only lowered it by 1.3 points. The experiment log, the problems found in the trace and the changes made are in [Drawing experiments](docs/sketch-drawing-experiments.md).
|
|
275
|
-
|
|
276
|
-
<details>
|
|
277
|
-
<summary>Show the full prompts</summary>
|
|
278
|
-
|
|
279
|
-
```text
|
|
280
|
-
@sketch Using a 1:1 square board, copy the attached reference as faithfully as possible (a chibi anime meme). Scene: white background; a chibi two-head-tall blue-haired whale girl kneels right of centre, blue gradient long hair (dark roots, light tips), one ahoge, a white lace maid headband and a blue bow, dark-blue whale fins with white lining on both sides of the head, big blue eyes with highlights, a cat-mouth pout "ω" expression, blushing cheeks, hands on hips; a dark-blue maid dress, a white lace apron with a small blue whale on it, a black bow tie, white lace frills on cuffs and hem; a dark-blue whale tail behind her. Top left a white speech bubble (black outline, pointer toward her) with the bold black text "你这吃白饭的蓝色大肥鱼。"; from the left edge a hand in a black sleeve points at her; lower left blue-outlined text "没吃饱喵!"; an empty white porcelain bowl on the floor by her feet, with a small blue whale printed inside. Draw in layers: white background, hair and fins and tail, body and clothes, face, bowl, arms and bubble text; keep native editable strokes; pay special attention to proportions, hair gradient and strand direction, lace frills and facial expression. Draw only on the sketch canvas this time, do not call any image generation or editing tool; when done, check the differences from the reference, fix them, then save and finish.
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
```text
|
|
284
|
-
Use the sketch board (codex_sketch) to draw Hatsune Miku from this reference, portrait, as close to 100% as possible: composition, proportions, pose, colours and details all the same.
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
</details>
|
|
274
|
+
The sketch board and Agent drawing are **Beta** and off by default; turn them on in the Create page. Draw by hand from the sketch button in the composer, or send `@sketch` with a request to have the Agent draw.
|
|
288
275
|
|
|
289
276
|
<details>
|
|
290
277
|
<summary>View Images & sketch settings</summary>
|
|
@@ -307,7 +294,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
|
|
|
307
294
|
<summary>Terminal commands</summary>
|
|
308
295
|
|
|
309
296
|
```sh
|
|
310
|
-
dsh plugin --profile web update dsh-codex-subscription@3.1.
|
|
297
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.2
|
|
311
298
|
```
|
|
312
299
|
|
|
313
300
|
Run only when you want to uninstall:
|
|
@@ -353,7 +340,7 @@ Diagnostics exclude credentials, account identifiers, raw responses, and full lo
|
|
|
353
340
|
<details>
|
|
354
341
|
<summary>Do I need the Codex command line?</summary>
|
|
355
342
|
|
|
356
|
-
Not for ordinary subscription chat. Only if you want **Codex independent subtasks**: use "Install component" under Settings → Codex →
|
|
343
|
+
Not for ordinary subscription chat. Only if you want **Codex independent subtasks**: use "Install component" under Settings → Codex subscription → Web & tools; disabling and uninstalling are in the same place. Other experimental options are opt-in. [Optional components, storage cleanup and the full guide →](docs/GUIDE.en.md)
|
|
357
344
|
|
|
358
345
|
</details>
|
|
359
346
|
|
|
@@ -376,4 +363,11 @@ Read [SECURITY.md](SECURITY.md) before reporting sensitive issues.
|
|
|
376
363
|
|
|
377
364
|
If this project is useful, the [Star button](https://github.com/WSL043/dsh-codex-subscription/stargazers) helps more DSH users find it.
|
|
378
365
|
|
|
366
|
+
<a href="https://star-history.com/#WSL043/dsh-codex-subscription&Date">
|
|
367
|
+
<picture>
|
|
368
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date&theme=dark" />
|
|
369
|
+
<img alt="Star history" src="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date" />
|
|
370
|
+
</picture>
|
|
371
|
+
</a>
|
|
372
|
+
|
|
379
373
|
[简体中文](README.md) · [MIT](LICENSE)
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
[](LICENSE)
|
|
19
19
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
20
20
|
|
|
21
|
-
[安装](#安装) · [核心功能](#核心功能) · [手机远程控制](#手机远程控制beta) · [
|
|
21
|
+
[安装](#安装) · [核心功能](#核心功能) · [手机远程控制](#手机远程控制beta) · [草图画板](#草图画板beta) · [全部功能](#全部功能) · [使用指南](docs/GUIDE.zh-CN.md) · [常见问题](#常见问题)
|
|
22
22
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
43
43
|
|
|
44
44
|
```text
|
|
45
|
-
dsh-codex-subscription@3.1.
|
|
45
|
+
dsh-codex-subscription@3.1.2
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
dsh plugin --profile web add dsh-codex-subscription@3.1.
|
|
57
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.2
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
@@ -67,7 +67,7 @@ dsh plugin --profile web add dsh-codex-subscription@3.1.0
|
|
|
67
67
|
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.1.
|
|
70
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.2
|
|
71
71
|
dsh --profile headless "只回复:ok"
|
|
72
72
|
```
|
|
73
73
|
|
|
@@ -83,8 +83,13 @@ dsh --profile headless "只回复:ok"
|
|
|
83
83
|
|
|
84
84
|
短周期和每周额度、重置时间、额外 Credits 与重置卡都在设置里;输入框旁可以常驻显示剩余额度,低于阈值会提醒。
|
|
85
85
|
|
|
86
|
+
<details>
|
|
87
|
+
<summary>查看截图</summary>
|
|
88
|
+
|
|
86
89
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-quota-zh-dark.png"><img src="docs/assets/ui-quota-zh-light.png" width="560" alt="额度卡片:每周额度与重置时间,下方可展开使用概览和额度去向"></picture></p>
|
|
87
90
|
|
|
91
|
+
</details>
|
|
92
|
+
|
|
88
93
|
<details>
|
|
89
94
|
<summary>使用概览与额度去向:累计用量、连续天数、每日热力图,以及每周额度花在哪</summary>
|
|
90
95
|
<br>
|
|
@@ -95,8 +100,13 @@ dsh --profile headless "只回复:ok"
|
|
|
95
100
|
|
|
96
101
|
选模型、调推理档位、切换速度档位,同时查看剩余额度,无需为每次请求打开设置。
|
|
97
102
|
|
|
103
|
+
<details>
|
|
104
|
+
<summary>查看截图</summary>
|
|
105
|
+
|
|
98
106
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-composer-zh-dark.png"><img src="docs/assets/ui-composer-zh-light.png" width="760" alt="输入框:权限、草图、剩余额度、闪电标识的 Fast 模式和模型选择"></picture></p>
|
|
99
107
|
|
|
108
|
+
</details>
|
|
109
|
+
|
|
100
110
|
### 手机远程控制(Beta)
|
|
101
111
|
|
|
102
112
|
用 ChatGPT 手机 App 的 Codex 扫码配对,这台电脑上的 DSH 就出现在手机的主机列表里,DeepSeek 等任意 DSH 模型都能在手机上用:
|
|
@@ -109,19 +119,34 @@ dsh --profile headless "只回复:ok"
|
|
|
109
119
|
- DSH 工作区对应手机上的项目;可以从手机分叉对话,看用量额度、累计用量和上下文用量;DSH 带有 `/compact` 时(0.2.0-rc.2 起)还能从手机压缩上下文;
|
|
110
120
|
- 模型报错会显示在手机上;设置里能看到已配对的手机,随时移除。
|
|
111
121
|
|
|
112
|
-
默认关闭:**设置 → Codex 订阅 →
|
|
122
|
+
默认关闭:**设置 → Codex 订阅 → 手机与更多 → 手机远程控制**。电脑需要保持开机、联网并打开 DSH。本功能基于 Codex Remote Control 协议实现第三方主机兼容,使用 OpenAI 的远程连接服务。Codex 的远程控制能力已有官方实现,但 DSH 作为第三方主机的接入方式尚不属于官方明确承诺支持的范围,后续服务更新可能影响兼容性,所以标为 Beta。功能默认关闭,你可以自行开启、管理已配对设备或随时停用。该功能不代表获得 OpenAI 官方认证或背书。
|
|
123
|
+
|
|
124
|
+
<details>
|
|
125
|
+
<summary>查看截图</summary>
|
|
113
126
|
|
|
114
127
|
<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>
|
|
115
128
|
|
|
129
|
+
</details>
|
|
130
|
+
|
|
116
131
|
### 图片与草图
|
|
117
132
|
|
|
118
133
|
用订阅生成图片,在图上圈出区域写备注继续修改,或者打开草图画板自己画、让 Agent 画,再以草图为参考生成成品。画板支持渐变、模糊、混合模式和形状裁剪;Agent 照着参考图画时能并排对比、看差异热图、量颜色和位置、撤销重来,画完还能一笔一笔回放并录成视频。
|
|
119
134
|
|
|
135
|
+
<details>
|
|
136
|
+
<summary>查看截图</summary>
|
|
137
|
+
|
|
120
138
|
<p align="center"><img src="docs/assets/annotate-zh.webp" width="900" alt="图片预览:在烟囱上方圈出区域并写下备注,再带着备注继续编辑"></p>
|
|
121
139
|
|
|
140
|
+
</details>
|
|
141
|
+
|
|
142
|
+
<details>
|
|
143
|
+
<summary>查看截图</summary>
|
|
144
|
+
|
|
122
145
|
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/ui-replay-zh-dark.webp"><img src="docs/assets/ui-replay-zh-light.webp" width="640" alt="草图画板的回放:按落笔顺序重放整幅画,可调速、拖动进度,并录成视频"></picture></p>
|
|
123
146
|
|
|
124
|
-
|
|
147
|
+
</details>
|
|
148
|
+
|
|
149
|
+
草图画板见 [草图画板](#草图画板beta),开关在 **设置 → Codex 订阅 → 创作**。
|
|
125
150
|
|
|
126
151
|
### ChatGPT 连接器
|
|
127
152
|
|
|
@@ -129,9 +154,14 @@ dsh --profile headless "只回复:ok"
|
|
|
129
154
|
|
|
130
155
|
### 订阅功能要不要给 DeepSeek 等其他模型用,由你定
|
|
131
156
|
|
|
132
|
-
联网搜索来源、ChatGPT
|
|
157
|
+
联网搜索来源、ChatGPT 连接器和官方 Codex 子任务在 **设置 → Codex 订阅 → 联网与工具**,页首一个总开关:关闭后,用 DeepSeek 等非 Codex 模型对话时不再使用订阅的联网搜索(改用 DSH 搜索)、图片生成和 ChatGPT 连接器,Codex 订阅模型不受影响。默认开启。
|
|
133
158
|
|
|
134
|
-
<
|
|
159
|
+
<details>
|
|
160
|
+
<summary>查看截图</summary>
|
|
161
|
+
|
|
162
|
+
<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>
|
|
163
|
+
|
|
164
|
+
</details>
|
|
135
165
|
|
|
136
166
|
[详细用法、限制与可选组件 →](docs/GUIDE.zh-CN.md)
|
|
137
167
|
|
|
@@ -147,15 +177,15 @@ dsh --profile headless "只回复:ok"
|
|
|
147
177
|
| --- | --- | --- |
|
|
148
178
|
| **订阅登录** | 直接登录 ChatGPT,使用 Codex 订阅模型,无需 API Key | 普通聊天无需 Codex CLI |
|
|
149
179
|
| **模型目录同步** | 自动读取账号可用模型与推理档位,支持手动刷新;目录标注退役的模型会在模型名称旁显示退役日期,不会自动切换你的选择 | 新型号以账号目录开放情况为准;模型只来自账号目录,未登录或读取失败时不显示任何模型,也不使用内置列表 |
|
|
150
|
-
| **模型列表** |
|
|
151
|
-
| **默认模型** |
|
|
180
|
+
| **模型列表** | 在“模型”页中逐个显示或隐藏输入框中的模型;模型选择器沿用 DSH 官方的模型标识(如新模型徽章) | 仅影响列表显示;已选模型和请求不受影响 |
|
|
181
|
+
| **默认模型** | 在“模型”页里选择每次新建会话默认使用的模型 | 写入 DSH 的默认模型设置,与在对话里切换模型是同一处;未设置时跟随 DSH 默认 |
|
|
152
182
|
| **推理等级** | 在输入框选择模型支持的推理档位 | 档位随模型变化 |
|
|
153
183
|
| **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
|
|
154
184
|
| **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
|
|
155
185
|
| **输入图片精度** | 为发送给聊天模型的图片选择低、高、原图或自动精度 | 影响输入 token 用量;默认自动 |
|
|
156
186
|
| **订阅联网搜索** | 使用 Codex 搜索,或选择 DSH 搜索 | 可选自动、DSH、Codex 来源;在搜索发生时分流,不改写 DSH 自己的搜索设置,所以官方设置页的开关保持你设的样子;DeepSeek 账号路线和填了 API Key 的路线(新版 Search API / 旧版)都兼容;一方未登录或没有 Key 时自动改用另一方 |
|
|
157
|
-
| **其他模型总开关** | 一键让 DeepSeek 等非 Codex 模型的对话不再使用订阅的联网搜索、图片生成和 ChatGPT 连接器 | 设置 → Codex 订阅 →
|
|
158
|
-
| **搜索范围** | 选择实时 / 缓存搜索、关闭搜索,或限定域名 |
|
|
187
|
+
| **其他模型总开关** | 一键让 DeepSeek 等非 Codex 模型的对话不再使用订阅的联网搜索、图片生成和 ChatGPT 连接器 | 设置 → Codex 订阅 → 联网与工具;默认开启,Codex 订阅模型不受影响;手机远程控制和语音由你主动开启或发起,不受它影响 |
|
|
188
|
+
| **搜索范围** | 选择实时 / 缓存搜索、关闭搜索,或限定域名 | 在“联网与工具”的搜索来源下 |
|
|
159
189
|
| **流无响应超时** | 设置连续没有收到流式数据时中断请求的时长 | 默认 10 分钟;不是整体回答时限 |
|
|
160
190
|
| **上下文预算** | 按模型使用标准、扩展或自定义上下文预算 | 受模型目录上限约束 |
|
|
161
191
|
| **GPT-Reserve** | 在账号开放时选择备用模型入口 | 实验性;不承诺独立备用额度 |
|
|
@@ -168,7 +198,7 @@ dsh --profile headless "只回复:ok"
|
|
|
168
198
|
|
|
169
199
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
170
200
|
| --- | --- | --- |
|
|
171
|
-
| **多账号管理** | 添加、切换、移除账号,或退出全部账号 | 设置 →
|
|
201
|
+
| **多账号管理** | 添加、切换、移除账号,或退出全部账号 | 设置 → Codex 订阅 → 开始 |
|
|
172
202
|
| **额度详情** | 查看短周期 / 每周额度、重置时间及独立额度分组 | 仅展示服务端返回的窗口与分组 |
|
|
173
203
|
| **额度去向** | 在额度卡片里按周查看额度花在哪:按模型、入口、来源和触发方式拆分 | 来自官方用量报告,近似值,有一两天延迟;账号没有该报告时不显示 |
|
|
174
204
|
| **使用概览** | 在额度卡片里查看累计 token、单日最高、连续使用天数、最常用推理档,以及最近半年的每日用量热力图 | 来自官方使用统计;账号没有该统计时不显示 |
|
|
@@ -210,7 +240,7 @@ dsh --profile headless "只回复:ok"
|
|
|
210
240
|
|
|
211
241
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
212
242
|
| --- | --- | --- |
|
|
213
|
-
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta;默认关闭,设置 → Codex 订阅 →
|
|
243
|
+
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta;默认关闭,设置 → Codex 订阅 → 手机与更多 → 手机远程控制,扫码或输入手动码配对 |
|
|
214
244
|
| **Codex 独立子任务** | 复用订阅登录和工作区权限执行独立任务,可指定允许的模型与推理档位 | Beta,可选,多数人用不到:默认用 DSH 自己的子智能体(同样能用订阅模型);想让子任务由官方 Codex Agent 执行时,才安装可选组件(约 377 MB,Windows),并在“插件 → 子智能体”开启模型选择。用独立数据目录和订阅登录,不读你电脑上的 Codex 登录 |
|
|
215
245
|
| **子任务组件管理** | 在设置里安装、停用或卸载官方 Codex 子任务组件 | 由支持的 DSH 宿主管理,无需额外登录 |
|
|
216
246
|
| **云端上下文压缩** | 使用 Codex 云端压缩继续长对话,同时保留 DSH 历史与原生压缩 | Beta / 实验性;默认关闭,开启的请求使用 SSE |
|
|
@@ -239,11 +269,11 @@ dsh --profile headless "只回复:ok"
|
|
|
239
269
|
|
|
240
270
|
| 设置页 | 在这里做什么 |
|
|
241
271
|
| --- | --- |
|
|
242
|
-
|
|
|
243
|
-
|
|
|
244
|
-
|
|
|
245
|
-
|
|
|
246
|
-
|
|
|
272
|
+
| **开始** | 登录与切换账号、各功能开关一览、订阅额度、额度显示和提醒 |
|
|
273
|
+
| **模型** | 默认模型与模型列表、回答风格;折叠的“高级”里有上下文长度、重试、连接方式、云端压缩、审查模型 |
|
|
274
|
+
| **联网与工具** | 其他模型能否用订阅功能的总开关,搜索来源、ChatGPT 连接器、官方 Codex 子任务 |
|
|
275
|
+
| **创作** | 图片生成、编辑、输入框 @生图、图片查看器,草图画板和 Agent 绘图 |
|
|
276
|
+
| **手机与更多** | 手机远程控制、语音对话、本机缓存、支持诊断 |
|
|
247
277
|
|
|
248
278
|
**模型感知上下文**跟随账号模型目录,刷新不会覆盖未保存的草稿。额度分组以服务端实际返回为准,包括 Spark 等独立额度。
|
|
249
279
|
|
|
@@ -253,42 +283,9 @@ dsh --profile headless "只回复:ok"
|
|
|
253
283
|
|
|
254
284
|
[查看完整使用指南 →](docs/GUIDE.zh-CN.md)
|
|
255
285
|
|
|
256
|
-
##
|
|
257
|
-
|
|
258
|
-
草图画板和 Agent 绘图为 **Beta**,默认关闭,在“图片与草图”中按需开启。手动画图点输入框的草图按钮;让 Agent 画发送 `@sketch` 加要求。有参考图时 Agent 可以并排对比、看差异热图、局部放大、量颜色和边缘位置、撤销重画;画完可以点画板里的“回放”,把过程一笔一笔重放并录成视频。这些工具只测量和展示,不替模型画。
|
|
259
|
-
|
|
260
|
-
下面两个例子都是**只在画板上画、没有调用生图**,每个都跑一次,不代表稳定水平。“误差”是画作与参考图逐像素颜色差的平均值(越小越接近,0 为一致)。
|
|
261
|
-
|
|
262
|
-
**《DeepSeek 娘》· 照着参考图临摹**
|
|
263
|
-
|
|
264
|
-
<table>
|
|
265
|
-
<tr><th width="33%">参考图</th><th width="33%">之前:旧工具里的最好成绩</th><th width="33%">现在:新工具</th></tr>
|
|
266
|
-
<tr><td><img src="docs/assets/sketch-niang-reference.webp" alt="DeepSeek 娘表情包参考图" width="240"></td><td><img src="docs/assets/sketch-niang-astra-compare.webp" alt="旧工具画的 DeepSeek 娘" width="240"><br><sub>GPT-6-Astra Medium · 20 分 57 秒 · 686 笔<br>误差 8.8%</sub></td><td><img src="docs/assets/sketch-niang-astra-new.webp" alt="新工具画的 DeepSeek 娘" width="240"><br><sub>GPT-6-Astra Medium · 8 分 11 秒 · 481 笔<br>误差 9.3%</sub></td></tr>
|
|
267
|
-
</table>
|
|
268
|
-
|
|
269
|
-
数字上两者接近,新版用时不到一半;双手叉腰的姿势和围裙上的小鲸鱼更准,发丝和蕾丝的细腻程度仍不及原图。
|
|
270
|
-
|
|
271
|
-
**《初音未来》· 竖图,照着参考图临摹**
|
|
286
|
+
## 草图画板(Beta)
|
|
272
287
|
|
|
273
|
-
|
|
274
|
-
<tr><th width="50%">之前:叠图对照和网格</th><th width="50%">现在:新工具</th></tr>
|
|
275
|
-
<tr><td><img src="docs/assets/sketch-miku-sol-before.webp" alt="旧工具画的初音未来" width="330"><br><sub>GPT-6.1-Sol Xhigh · 误差 6.7%</sub></td><td><img src="docs/assets/sketch-miku-sol-new.webp" alt="新工具画的初音未来" width="330"><br><sub>GPT-6.1-Sol Xhigh · 21 分钟 · 685 笔 · 误差 5.2%</sub></td></tr>
|
|
276
|
-
</table>
|
|
277
|
-
|
|
278
|
-
误差降了约四分之一,肩上的“01”、袖屏、腿部的系带细节补全了。读了模型的完整操作记录,剩下的误差主要是大块头发、皮肤和腿部的明暗色调,而不是边缘位置;前 3 分钟的四次整层 SVG 就把误差从 18% 压到 6.5%,之后 17 分钟的细化只降了 1.3 个百分点。实验过程、记录里发现的问题和改进见 [绘图实验记录](docs/sketch-drawing-experiments.md)。
|
|
279
|
-
|
|
280
|
-
<details>
|
|
281
|
-
<summary>展开完整提示词</summary>
|
|
282
|
-
|
|
283
|
-
```text
|
|
284
|
-
@sketch 用 1:1 方形画板,尽可能忠实地临摹我附上的这张参考图(一张 Q 版二次元表情包)。画面:白色底;Q 版二头身的蓝发鲸鱼娘跪坐在画面右侧偏中,蓝色渐变长发披肩(发根深蓝、发梢浅蓝),头顶一根呆毛,戴白色蕾丝女仆头饰和蓝色蝴蝶结,头两侧是深蓝色带白色内里的鲸鱼耳鳍,蓝色大眼睛带高光,猫嘴嘟嘴的“ω”表情,脸颊泛红,双手叉腰;穿深蓝色女仆装,白色蕾丝围裙(围裙上有一只蓝色小鲸鱼图案),黑色领结,袖口和裙摆有白色蕾丝褶边;身后露出一条深蓝色的鲸鱼尾巴。左上方是白色对话气泡(黑色描边,尖角指向她),气泡里用黑色粗体写“你这吃白饭的蓝色大肥鱼。”;左侧从画面外伸进来一只黑袖子的手,食指指向她;她的左下方用蓝色描边字写“没吃饱喵!”;她脚边的地上放着一只空的白瓷饭碗,碗内壁印着一只蓝色小鲸鱼。请分层绘制:白色背景、头发与鲸鱼耳鳍与尾巴、身体与服装、脸部五官、饭碗、手臂与对话气泡文字,保留原生可编辑笔画,并特别注意角色比例、头发的渐变与发丝走向、蕾丝褶边和脸部表情的细节。这次只在草图画布上画,不要调用任何生图或图片编辑工具;画完后检查一遍与参考图的差异并修正,最后保存并完成。
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
```text
|
|
288
|
-
用画板(codex_sketch)按这张参考图画初音未来,竖图,尽量百分之百还原:构图、比例、姿势、颜色、细节都要一致。
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
</details>
|
|
288
|
+
草图画板和 Agent 绘图为 **Beta**,默认关闭,在“创作”页按需开启。手动画图点输入框的草图按钮;让 Agent 画发送 `@sketch` 加要求。
|
|
292
289
|
|
|
293
290
|
<details>
|
|
294
291
|
<summary>查看图片与草图设置</summary>
|
|
@@ -311,7 +308,7 @@ DSH 实机设置截图,随浅色 / 深色主题切换。
|
|
|
311
308
|
<summary>终端方式</summary>
|
|
312
309
|
|
|
313
310
|
```sh
|
|
314
|
-
dsh plugin --profile web update dsh-codex-subscription@3.1.
|
|
311
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.2
|
|
315
312
|
```
|
|
316
313
|
|
|
317
314
|
仅在需要卸载时运行:
|
|
@@ -357,7 +354,7 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
357
354
|
<details>
|
|
358
355
|
<summary>需要装 Codex 命令行才能用吗?</summary>
|
|
359
356
|
|
|
360
|
-
普通订阅聊天不需要。只有想用 **Codex 独立子任务** 时,才在“设置 → Codex 订阅 →
|
|
357
|
+
普通订阅聊天不需要。只有想用 **Codex 独立子任务** 时,才在“设置 → Codex 订阅 → 联网与工具”里点“安装组件”,停用和卸载也在同一处。其余实验选项按需开启。[可选组件、存储清理与完整说明 →](docs/GUIDE.zh-CN.md)
|
|
361
358
|
|
|
362
359
|
</details>
|
|
363
360
|
|
|
@@ -380,4 +377,11 @@ DSH 插件交流可前往 [DeepSeek Harness Discussions](https://github.com/deep
|
|
|
380
377
|
|
|
381
378
|
如果这个项目对你有帮助,[点一下 Star](https://github.com/WSL043/dsh-codex-subscription/stargazers) 可以让更多 DSH 用户发现它。
|
|
382
379
|
|
|
380
|
+
<a href="https://star-history.com/#WSL043/dsh-codex-subscription&Date">
|
|
381
|
+
<picture>
|
|
382
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date&theme=dark" />
|
|
383
|
+
<img alt="Star 趋势" src="https://api.star-history.com/svg?repos=WSL043/dsh-codex-subscription&type=Date" />
|
|
384
|
+
</picture>
|
|
385
|
+
</a>
|
|
386
|
+
|
|
383
387
|
[MIT](LICENSE)
|