dsh-codex-subscription 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +47 -66
- package/README.md +45 -89
- package/lib/client.js +3332 -196
- package/lib/index.js +1722 -101
- 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) · [Sketch drawing](#sketch-drawing-measured) · [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.
|
|
45
|
+
dsh-codex-subscription@3.1.0
|
|
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.
|
|
57
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.0
|
|
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.
|
|
70
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.0
|
|
71
71
|
dsh --profile headless "Reply with only the word: ok"
|
|
72
72
|
```
|
|
73
73
|
|
|
@@ -109,21 +109,25 @@ Pair the ChatGPT mobile app's Codex section with a QR code and the DSH on your c
|
|
|
109
109
|
- 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
110
|
- model errors show on the phone; paired phones are listed in settings and can be removed.
|
|
111
111
|
|
|
112
|
-
Off by default: **Settings → Codex →
|
|
112
|
+
Off by default: **Settings → Codex → Other models → 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.
|
|
113
113
|
|
|
114
114
|
<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
115
|
|
|
116
116
|
### Images and sketching
|
|
117
117
|
|
|
118
|
-
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.
|
|
118
|
+
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
119
|
|
|
120
120
|
<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
121
|
|
|
122
|
-
Examples are in [
|
|
122
|
+
Examples are in [Sketch drawing, measured](#sketch-drawing-measured); the switches are under **Settings → Codex → Images & sketch**.
|
|
123
123
|
|
|
124
124
|
### ChatGPT connectors
|
|
125
125
|
|
|
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
|
|
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 Other models.
|
|
127
|
+
|
|
128
|
+
### Decide whether DeepSeek and other models get the subscription features
|
|
129
|
+
|
|
130
|
+
Web search source, ChatGPT connectors, review model, subtasks, voice and phone remote control are all on one page: **Settings → Codex subscription → Other models**. 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.
|
|
127
131
|
|
|
128
132
|
[Usage details, limitations and optional components →](docs/GUIDE.en.md)
|
|
129
133
|
|
|
@@ -132,21 +136,22 @@ Let DeepSeek or any other DSH model use the apps you connected in ChatGPT: GitHu
|
|
|
132
136
|
Model access and quota depend on your account.
|
|
133
137
|
|
|
134
138
|
<details>
|
|
135
|
-
<summary><b>Models and search</b> (
|
|
139
|
+
<summary><b>Models and search</b> (14)</summary>
|
|
136
140
|
<br>
|
|
137
141
|
|
|
138
142
|
| Feature | What you can do | Availability / setup |
|
|
139
143
|
| --- | --- | --- |
|
|
140
144
|
| **Subscription sign-in** | Sign in to ChatGPT and use Codex subscription models without an API key | Normal chat needs no Codex CLI |
|
|
141
145
|
| **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 |
|
|
142
|
-
| **Model list** | Show or hide individual models in the composer picker under Models & runtime | Display only; selected models and requests still work |
|
|
146
|
+
| **Model list** | Show or hide individual models in the composer picker under Models & runtime; the picker keeps DSH's own model labels (such as the new-model badge) | Display only; selected models and requests still work |
|
|
143
147
|
| **Default model** | Choose the model a new conversation opens with under Models & runtime → Models | Writes the DSH default model setting, the same one a model switch inside a chat writes; unset it to follow the DSH default |
|
|
144
148
|
| **Reasoning levels** | Choose supported reasoning effort in the composer | Levels vary by model |
|
|
145
149
|
| **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 |
|
|
146
150
|
| **Response verbosity** | Request short, medium, or detailed responses | Follows the model default unless changed |
|
|
147
151
|
| **Input image detail** | Choose Low, High, Original, or Auto detail for images sent to the chat model | Affects input tokens; Auto by default |
|
|
148
|
-
| **Subscription web search** | Use Codex search or choose DSH search | Auto, DSH, and Codex
|
|
149
|
-
| **
|
|
152
|
+
| **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 → Other models; on by default, Codex subscription models are not affected; phone remote control and voice are started by you and are not affected |
|
|
154
|
+
| **Search scope** | Choose live / cached search, disable search, or restrict domains | Configure under Other models, next to the search source |
|
|
150
155
|
| **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 |
|
|
151
156
|
| **Context budget** | Use standard, extended, or custom budgets per model | Limited by the model catalog |
|
|
152
157
|
| **GPT-Reserve** | Select the reserve model when your account offers it | Experimental; no promise of a separate reserve quota |
|
|
@@ -173,7 +178,7 @@ Model access and quota depend on your account.
|
|
|
173
178
|
</details>
|
|
174
179
|
|
|
175
180
|
<details>
|
|
176
|
-
<summary><b>Images and sketching</b> (
|
|
181
|
+
<summary><b>Images and sketching</b> (14)</summary>
|
|
177
182
|
<br>
|
|
178
183
|
|
|
179
184
|
| Feature | What you can do | Availability / setup |
|
|
@@ -184,11 +189,13 @@ Model access and quota depend on your account.
|
|
|
184
189
|
| **Region-based editing** | Mark regions, add notes, and continue editing with location references | Fills the composer for you to review and send |
|
|
185
190
|
| **Manual canvas** | Choose an aspect ratio and draw with pen, pencil, marker, and erasers | Beta; canvas off by default |
|
|
186
191
|
| **Shapes and text** | Draw lines, arrows, shapes, native curves, and editable text / objects | Available in the sketch canvas |
|
|
192
|
+
| **Gradients, blur, blend and clip** | Fill with linear / radial gradients; add blur (glow, shadow, haze), blend modes (multiply, screen, overlay, …) and shape clipping to a stroke; layers can have a blend mode too | All stay editable properties and survive moving, scaling, drafts and export; the agent gets the same through SVG gradients, `feGaussianBlur`, `mix-blend-mode` and `clip-path` |
|
|
187
193
|
| **Layers and image import** | Work in layers and bring images into the canvas | Images are managed as layers |
|
|
188
194
|
| **Smoothing and navigation** | Smooth complete strokes after release; pan, zoom, undo, and redo | Shortcuts can be customized or disabled |
|
|
189
195
|
| **Multiple drafts** | Save and reopen up to 20 local drafts | Stored in the current browser |
|
|
190
196
|
| **Import and export** | Export PNG, or native drafts that preserve editable strokes | Drafts can be imported again to keep editing |
|
|
191
|
-
| **Agent drawing** | Ask the agent to draw with `@sketch`, follow progress, and stop it; the agent can draw whole stages in SVG, imported as editable native strokes | Beta; off by default, requires the canvas |
|
|
197
|
+
| **Agent drawing** | Ask the agent to draw with `@sketch`, follow progress, and stop it; the agent can draw whole stages in SVG, imported as editable native strokes; with a reference it can compare side by side, read a difference heat map, zoom into a region, measure colours and edge positions, and undo, and every batch reports how the error changed | Beta; off by default, requires the canvas. The tools only measure and show; they never draw for the model |
|
|
198
|
+
| **Replay and video** | The Replay button redraws the process stroke by stroke (lines along their path, fills outlined first and then filled top to bottom), with speed presets and a scrubber, and records it as a WebM video | The video is previewed in the board and only saved when you click Save video; nothing downloads automatically |
|
|
192
199
|
| **Result preview for the model** | Return a canvas image after drawing for subsequent review | Beta; off by default, adds image input usage |
|
|
193
200
|
|
|
194
201
|
</details>
|
|
@@ -199,13 +206,13 @@ Model access and quota depend on your account.
|
|
|
199
206
|
|
|
200
207
|
| Feature | What you can do | Availability / setup |
|
|
201
208
|
| --- | --- | --- |
|
|
202
|
-
| **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 →
|
|
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 → Other models → Phone remote control, pair by QR or manual code |
|
|
203
210
|
| **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 |
|
|
204
211
|
| **Subtask component management** | Install, disable, or uninstall the official Codex subtask component from settings | Managed by supported DSH hosts; no extra login |
|
|
205
212
|
| **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 |
|
|
206
213
|
| **WebSocket transport** | Experimentally reuse connections and context transfers, with SSE fallback on connection failure | Beta / experimental; SSE by default, no speed guarantee |
|
|
207
214
|
| **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 |
|
|
208
|
-
| **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 →
|
|
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 → Other models → ChatGPT connectors; connect the apps in ChatGPT first |
|
|
209
216
|
| **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 |
|
|
210
217
|
| **Forecast cache cleanup** | Inspect and clear local quota forecast history | Keeps sign-in, drafts, originals, and shared dependencies |
|
|
211
218
|
|
|
@@ -229,7 +236,8 @@ Open **Settings → Codex** to manage accounts and quota. Enable other features
|
|
|
229
236
|
| Settings tab | What it controls |
|
|
230
237
|
| --- | --- |
|
|
231
238
|
| **Account** | Sign-in, account switching, reset times, quota display and alerts |
|
|
232
|
-
| **Models & runtime** |
|
|
239
|
+
| **Models & runtime** | Model list and default model, context budget, input image detail, connection mode, cloud compaction |
|
|
240
|
+
| **Other models** | The master switch, plus search source, ChatGPT connectors, review model, independent subtasks, voice and phone remote control |
|
|
233
241
|
| **Images & sketch** | Separate switches for image generation, the canvas, and agent drawing |
|
|
234
242
|
| **Maintenance** | Support diagnostics and local quota forecast cache |
|
|
235
243
|
|
|
@@ -241,69 +249,42 @@ Subscription failures remain visible: no silent fallback to another paid route.
|
|
|
241
249
|
|
|
242
250
|
[Read the complete user guide →](docs/GUIDE.en.md)
|
|
243
251
|
|
|
244
|
-
##
|
|
245
|
-
|
|
246
|
-
The sketch canvas and agent drawing are **Beta**. The canvas and agent drawing are off by default; enable them under Images & sketch when needed.
|
|
247
|
-
|
|
248
|
-
**Sketch → Attach to the composer → Describe the result → Generate.**
|
|
249
|
-
|
|
250
|
-
Draw by hand with the canvas button, or ask the agent with `@sketch` and your drawing request.
|
|
251
|
-
|
|
252
|
-
<table>
|
|
253
|
-
<tr><th width="50%">Native sketch drawn by the agent</th><th width="50%">Image generated with the sketch as the only reference</th></tr>
|
|
254
|
-
<tr><td><img src="docs/assets/sketch-lighthouse-sketch.webp" alt="Lighthouse sketch drawn by GPT-6.1-Sol" width="480"></td><td><img src="docs/assets/sketch-lighthouse-result.webp" alt="Watercolor lighthouse poster generated from the sketch" width="480"></td></tr>
|
|
255
|
-
</table>
|
|
256
|
-
|
|
257
|
-
**GPT-6.1-Sol · Xhigh** on the official desktop app 0.2.0-rc.2: one `@sketch` message produced 6 layers and 229 editable native strokes, then called GPT Image 2 (quality: high) once with the sketch as the only reference. About 13 minutes end to end.
|
|
252
|
+
## Sketch drawing, measured
|
|
258
253
|
|
|
259
|
-
The
|
|
254
|
+
The sketch board and agent drawing are **Beta** and off by default; turn them on under Images & sketch. Draw by hand with the sketch button in the composer, or send `@sketch` plus a request to let the agent draw. With a reference, the agent can compare side by side, read a difference heat map, zoom into a region, measure colours and edge positions, and undo; a finished drawing can be replayed stroke by stroke in the board's Replay and recorded as a video. The tools only measure and show; they never draw for the model.
|
|
260
255
|
|
|
261
|
-
|
|
262
|
-
<summary>Advanced examples · Mechanical cutaway, blue-green landscape and a reference-copy challenge</summary>
|
|
263
|
-
|
|
264
|
-
The first two subjects were chosen to expose quality differences: a mechanical cutaway tests structure and detail (meshing gears, pendulum, chains, tiny figures on a staircase), and a Song-dynasty blue-green landscape tests composition and taste (the "three distances", empty space, texture strokes and mineral color). The same prompt went to **GPT-6.1-Sol · Xhigh** and **GPT-6-Astra · Low**, one run each, on the official desktop app, with GPT Image 2 (quality: high).
|
|
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).
|
|
265
257
|
|
|
266
|
-
**
|
|
258
|
+
**DeepSeek-chan, copied from a reference**
|
|
267
259
|
|
|
268
260
|
<table>
|
|
269
|
-
<tr><th
|
|
270
|
-
<tr><td><
|
|
271
|
-
<tr><td><b>Astra<br>Low</b></td><td><img src="docs/assets/sketch-clocktower-astra-sketch.webp" alt="Clock tower sketch by Astra" width="400"></td><td><img src="docs/assets/sketch-clocktower-astra-result.webp" alt="Clock tower illustration from Astra's sketch" width="400"></td></tr>
|
|
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>
|
|
272
263
|
</table>
|
|
273
264
|
|
|
274
|
-
|
|
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.
|
|
275
266
|
|
|
276
|
-
**
|
|
267
|
+
**Hatsune Miku, portrait, copied from a reference**
|
|
277
268
|
|
|
278
269
|
<table>
|
|
279
|
-
<tr><th
|
|
280
|
-
<tr><td><
|
|
281
|
-
<tr><td><b>Astra<br>Low</b></td><td><img src="docs/assets/sketch-shanshui-astra-sketch.webp" alt="Landscape sketch by Astra" width="400"></td><td><img src="docs/assets/sketch-shanshui-astra-result.webp" alt="Blue-green landscape from Astra's sketch" width="400"></td></tr>
|
|
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>
|
|
282
272
|
</table>
|
|
283
273
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
**"DeepSeek-chan" · copy a reference image (draw only, no image generation)**
|
|
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).
|
|
287
275
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
<table>
|
|
291
|
-
<tr><th width="20%">Reference</th><th width="40%">Native strokes</th><th width="40%">SVG</th></tr>
|
|
292
|
-
<tr><td rowspan="2"><img src="docs/assets/sketch-niang-reference.webp" alt="DeepSeek-chan sticker reference" width="220"></td><td><img src="docs/assets/sketch-niang-sol-native.webp" alt="Sol native strokes" width="330"><br><sub><b>Sol Xhigh</b> · 40 min 50 s · 526 strokes</sub></td><td><img src="docs/assets/sketch-niang-sol-svg.webp" alt="Sol SVG" width="330"><br><sub><b>Sol Xhigh</b> · 31 min 48 s · 463 strokes</sub></td></tr>
|
|
293
|
-
<tr><td><img src="docs/assets/sketch-niang-astra-native.webp" alt="Astra native strokes" width="330"><br><sub><b>Astra Medium</b> · about 7 min · 332 strokes</sub></td><td><img src="docs/assets/sketch-niang-astra-svg.webp" alt="Astra SVG" width="330"><br><sub><b>Astra Medium</b> · 10 min 5 s</sub></td></tr>
|
|
294
|
-
</table>
|
|
295
|
-
|
|
296
|
-
The SVG runs have finer hair highlights, lace trim and lettering, and Sol was almost 9 minutes faster with SVG than stroke by stroke; Astra spent about 3 extra minutes on SVG for clearly richer detail. Neither model got the face shape right (too long and flat) or the small whale motif on the apron, though Sol's whale looks more like a whale.
|
|
297
|
-
|
|
298
|
-
**The same challenge again, with the model checking itself against the reference**
|
|
276
|
+
<details>
|
|
277
|
+
<summary>Show the full prompts</summary>
|
|
299
278
|
|
|
300
|
-
|
|
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
|
+
```
|
|
301
282
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
+
```
|
|
305
286
|
|
|
306
|
-
|
|
287
|
+
</details>
|
|
307
288
|
|
|
308
289
|
<details>
|
|
309
290
|
<summary>View Images & sketch settings</summary>
|
|
@@ -326,7 +307,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
|
|
|
326
307
|
<summary>Terminal commands</summary>
|
|
327
308
|
|
|
328
309
|
```sh
|
|
329
|
-
dsh plugin --profile web update dsh-codex-subscription@3.
|
|
310
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.0
|
|
330
311
|
```
|
|
331
312
|
|
|
332
313
|
Run only when you want to uninstall:
|
|
@@ -372,7 +353,7 @@ Diagnostics exclude credentials, account identifiers, raw responses, and full lo
|
|
|
372
353
|
<details>
|
|
373
354
|
<summary>Do I need the Codex command line?</summary>
|
|
374
355
|
|
|
375
|
-
Not for ordinary subscription chat. Only if you want **Codex independent subtasks**: use "Install component" under Settings → Codex →
|
|
356
|
+
Not for ordinary subscription chat. Only if you want **Codex independent subtasks**: use "Install component" under Settings → Codex → Other models; 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)
|
|
376
357
|
|
|
377
358
|
</details>
|
|
378
359
|
|
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) · [草图作画实测](#草图作画实测) · [全部功能](#全部功能) · [使用指南](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.
|
|
45
|
+
dsh-codex-subscription@3.1.0
|
|
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.
|
|
57
|
+
dsh plugin --profile web add dsh-codex-subscription@3.1.0
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
@@ -67,7 +67,7 @@ dsh plugin --profile web add dsh-codex-subscription@3.0.0
|
|
|
67
67
|
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.
|
|
70
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.1.0
|
|
71
71
|
dsh --profile headless "只回复:ok"
|
|
72
72
|
```
|
|
73
73
|
|
|
@@ -109,21 +109,29 @@ dsh --profile headless "只回复:ok"
|
|
|
109
109
|
- DSH 工作区对应手机上的项目;可以从手机分叉对话,看用量额度、累计用量和上下文用量;DSH 带有 `/compact` 时(0.2.0-rc.2 起)还能从手机压缩上下文;
|
|
110
110
|
- 模型报错会显示在手机上;设置里能看到已配对的手机,随时移除。
|
|
111
111
|
|
|
112
|
-
默认关闭:**设置 → Codex 订阅 →
|
|
112
|
+
默认关闭:**设置 → Codex 订阅 → 与其他模型 → 手机远程控制**。电脑需要保持开机、联网并打开 DSH。本功能基于 Codex Remote Control 协议实现第三方主机兼容,使用 OpenAI 的远程连接服务。Codex 的远程控制能力已有官方实现,但 DSH 作为第三方主机的接入方式尚不属于官方明确承诺支持的范围,后续服务更新可能影响兼容性,所以标为 Beta。功能默认关闭,你可以自行开启、管理已配对设备或随时停用。该功能不代表获得 OpenAI 官方认证或背书。
|
|
113
113
|
|
|
114
114
|
<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
115
|
|
|
116
116
|
### 图片与草图
|
|
117
117
|
|
|
118
|
-
用订阅生成图片,在图上圈出区域写备注继续修改,或者打开草图画板自己画、让 Agent
|
|
118
|
+
用订阅生成图片,在图上圈出区域写备注继续修改,或者打开草图画板自己画、让 Agent 画,再以草图为参考生成成品。画板支持渐变、模糊、混合模式和形状裁剪;Agent 照着参考图画时能并排对比、看差异热图、量颜色和位置、撤销重来,画完还能一笔一笔回放并录成视频。
|
|
119
119
|
|
|
120
120
|
<p align="center"><img src="docs/assets/annotate-zh.webp" width="900" alt="图片预览:在烟囱上方圈出区域并写下备注,再带着备注继续编辑"></p>
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
<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
|
+
|
|
124
|
+
实测见 [草图作画实测](#草图作画实测),开关在 **设置 → Codex 订阅 → 图片与草图**。
|
|
123
125
|
|
|
124
126
|
### ChatGPT 连接器
|
|
125
127
|
|
|
126
|
-
让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google
|
|
128
|
+
让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等。模型先搜索再调用,写操作默认每次都要你批准,也可以在设置里改成不再询问。默认关闭,在“与其他模型”里开启。
|
|
129
|
+
|
|
130
|
+
### 订阅功能要不要给 DeepSeek 等其他模型用,由你定
|
|
131
|
+
|
|
132
|
+
联网搜索来源、ChatGPT 连接器、审查模型、子任务、语音和手机远程控制都在 **设置 → Codex 订阅 → 与其他模型** 一页里。页首一个总开关:关闭后,用 DeepSeek 等非 Codex 模型对话时不再使用订阅的联网搜索(改用 DSH 搜索)、图片生成和 ChatGPT 连接器,Codex 订阅模型不受影响。默认开启。
|
|
133
|
+
|
|
134
|
+
<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="与其他模型设置页:总开关,以及搜索来源、ChatGPT 连接器、审查模型、子任务、语音和手机远程控制"></picture></p>
|
|
127
135
|
|
|
128
136
|
[详细用法、限制与可选组件 →](docs/GUIDE.zh-CN.md)
|
|
129
137
|
|
|
@@ -132,21 +140,22 @@ dsh --profile headless "只回复:ok"
|
|
|
132
140
|
模型权限和额度以账号实际返回为准。
|
|
133
141
|
|
|
134
142
|
<details>
|
|
135
|
-
<summary><b>模型与搜索</b>(
|
|
143
|
+
<summary><b>模型与搜索</b>(14 项)</summary>
|
|
136
144
|
<br>
|
|
137
145
|
|
|
138
146
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
139
147
|
| --- | --- | --- |
|
|
140
148
|
| **订阅登录** | 直接登录 ChatGPT,使用 Codex 订阅模型,无需 API Key | 普通聊天无需 Codex CLI |
|
|
141
149
|
| **模型目录同步** | 自动读取账号可用模型与推理档位,支持手动刷新;目录标注退役的模型会在模型名称旁显示退役日期,不会自动切换你的选择 | 新型号以账号目录开放情况为准;模型只来自账号目录,未登录或读取失败时不显示任何模型,也不使用内置列表 |
|
|
142
|
-
| **模型列表** |
|
|
150
|
+
| **模型列表** | 在“模型与运行”中逐个显示或隐藏输入框中的模型;模型选择器沿用 DSH 官方的模型标识(如新模型徽章) | 仅影响列表显示;已选模型和请求不受影响 |
|
|
143
151
|
| **默认模型** | 在“模型与运行 → 模型”里选择每次新建会话默认使用的模型 | 写入 DSH 的默认模型设置,与在对话里切换模型是同一处;未设置时跟随 DSH 默认 |
|
|
144
152
|
| **推理等级** | 在输入框选择模型支持的推理档位 | 档位随模型变化 |
|
|
145
153
|
| **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
|
|
146
154
|
| **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
|
|
147
155
|
| **输入图片精度** | 为发送给聊天模型的图片选择低、高、原图或自动精度 | 影响输入 token 用量;默认自动 |
|
|
148
|
-
| **订阅联网搜索** | 使用 Codex 搜索,或选择 DSH 搜索 | 可选自动、DSH、Codex
|
|
149
|
-
|
|
|
156
|
+
| **订阅联网搜索** | 使用 Codex 搜索,或选择 DSH 搜索 | 可选自动、DSH、Codex 来源;在搜索发生时分流,不改写 DSH 自己的搜索设置,所以官方设置页的开关保持你设的样子;DeepSeek 账号路线和填了 API Key 的路线(新版 Search API / 旧版)都兼容;一方未登录或没有 Key 时自动改用另一方 |
|
|
157
|
+
| **其他模型总开关** | 一键让 DeepSeek 等非 Codex 模型的对话不再使用订阅的联网搜索、图片生成和 ChatGPT 连接器 | 设置 → Codex 订阅 → 与其他模型;默认开启,Codex 订阅模型不受影响;手机远程控制和语音由你主动开启或发起,不受它影响 |
|
|
158
|
+
| **搜索范围** | 选择实时 / 缓存搜索、关闭搜索,或限定域名 | 在“与其他模型”中设置,就在搜索来源旁边 |
|
|
150
159
|
| **流无响应超时** | 设置连续没有收到流式数据时中断请求的时长 | 默认 10 分钟;不是整体回答时限 |
|
|
151
160
|
| **上下文预算** | 按模型使用标准、扩展或自定义上下文预算 | 受模型目录上限约束 |
|
|
152
161
|
| **GPT-Reserve** | 在账号开放时选择备用模型入口 | 实验性;不承诺独立备用额度 |
|
|
@@ -173,7 +182,7 @@ dsh --profile headless "只回复:ok"
|
|
|
173
182
|
</details>
|
|
174
183
|
|
|
175
184
|
<details>
|
|
176
|
-
<summary><b>图片与草图</b>(
|
|
185
|
+
<summary><b>图片与草图</b>(14 项)</summary>
|
|
177
186
|
<br>
|
|
178
187
|
|
|
179
188
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
@@ -184,11 +193,13 @@ dsh --profile headless "只回复:ok"
|
|
|
184
193
|
| **区域标注编辑** | 在图上圈定区域、填写备注,带定位参考继续编辑 | 回填输入框后由你确认发送 |
|
|
185
194
|
| **手绘画板** | 选择画布比例,使用钢笔、铅笔、荧光笔及橡皮 | Beta;画板默认关闭 |
|
|
186
195
|
| **形状与文字** | 绘制直线、箭头、形状、原生曲线,选中修改对象和文字 | 在草图画板中使用 |
|
|
196
|
+
| **渐变、模糊、混合与裁剪** | 填充可用线性 / 径向渐变;笔画可加模糊(发光、阴影、雾气)、混合模式(正片叠底、滤色、叠加等)和形状裁剪;图层也能设混合模式 | 都保留为可编辑属性,随移动缩放、草稿和导出保存;Agent 用 SVG 的渐变、`feGaussianBlur`、`mix-blend-mode`、`clip-path` 画出同样效果 |
|
|
187
197
|
| **图层与图片导入** | 分层创作,将图片加入草图继续画 | 图片作为图层管理 |
|
|
188
198
|
| **笔画平滑与导航** | 抬笔后平滑整条路径;拖动、缩放、撤销重做 | 快捷键可自定义和关闭 |
|
|
189
199
|
| **多份草稿** | 保存并重新编辑最多 20 份本地草稿 | 保存在当前浏览器 |
|
|
190
200
|
| **导入与导出** | 导出 PNG,或交换保留原生笔画的草稿文件 | 草稿文件可重新导入继续编辑 |
|
|
191
|
-
| **Agent 绘图** | 用 `@sketch` 让 Agent 绘制,查看进度并随时停止;Agent 可用 SVG
|
|
201
|
+
| **Agent 绘图** | 用 `@sketch` 让 Agent 绘制,查看进度并随时停止;Agent 可用 SVG 整段作画,导入为可编辑原生笔画;有参考图时可并排对比、看差异热图、局部放大、量颜色与边缘位置、撤销重画,每批画完都会返回误差变化 | Beta;默认关闭,需同时开启画板。这些工具只测量和展示,不替模型作画 |
|
|
202
|
+
| **绘制回放与视频** | 画板里的“回放”按钮把绘制过程一笔一笔重放(线条沿路径画出,填充先描边再自上而下铺色),可调速、拖动进度,并录成 WebM 视频 | 视频先在画板里预览,点“保存视频”才会保存,不会自动下载 |
|
|
192
203
|
| **绘图结果回看** | 完成后向模型返回画布预览,帮助后续检查 | Beta;默认关闭,会增加图片输入用量 |
|
|
193
204
|
|
|
194
205
|
</details>
|
|
@@ -199,13 +210,13 @@ dsh --profile headless "只回复:ok"
|
|
|
199
210
|
|
|
200
211
|
| 功能 | 你可以做什么 | 使用方式 / 条件 |
|
|
201
212
|
| --- | --- | --- |
|
|
202
|
-
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta;默认关闭,设置 → Codex 订阅 →
|
|
213
|
+
| **手机远程控制** | 在 ChatGPT 手机 App 的 Codex 里直接指挥电脑上的 DSH:新建、续聊、归档对话,切换模型和权限,回答审批和提问,DeepSeek 等任意 DSH 模型都能用 | Beta;默认关闭,设置 → Codex 订阅 → 与其他模型 → 手机远程控制,扫码或输入手动码配对 |
|
|
203
214
|
| **Codex 独立子任务** | 复用订阅登录和工作区权限执行独立任务,可指定允许的模型与推理档位 | Beta,可选,多数人用不到:默认用 DSH 自己的子智能体(同样能用订阅模型);想让子任务由官方 Codex Agent 执行时,才安装可选组件(约 377 MB,Windows),并在“插件 → 子智能体”开启模型选择。用独立数据目录和订阅登录,不读你电脑上的 Codex 登录 |
|
|
204
215
|
| **子任务组件管理** | 在设置里安装、停用或卸载官方 Codex 子任务组件 | 由支持的 DSH 宿主管理,无需额外登录 |
|
|
205
216
|
| **云端上下文压缩** | 使用 Codex 云端压缩继续长对话,同时保留 DSH 历史与原生压缩 | Beta / 实验性;默认关闭,开启的请求使用 SSE |
|
|
206
217
|
| **WebSocket 连接** | 实验性复用连接和上下文传输,连接失败可回退 SSE | Beta / 实验性;默认 SSE,不保证更快 |
|
|
207
218
|
| **Auto review 官方审查模型** | DSH Auto review 改用 Codex 自带的审查模型判断工具调用,审查规则与放行流程仍由 DSH 负责 | Beta;默认关闭,账号目录提供该模型时生效 |
|
|
208
|
-
| **ChatGPT 连接器** | 让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等;模型先搜索再调用,写操作默认每次都要你批准,可改成不再询问 | 默认关闭,设置 → Codex 订阅 →
|
|
219
|
+
| **ChatGPT 连接器** | 让 DeepSeek 等任意 DSH 模型使用你在 ChatGPT 里连接的应用:GitHub、Gmail、Google 云端硬盘、日历等;模型先搜索再调用,写操作默认每次都要你批准,可改成不再询问 | 默认关闭,设置 → Codex 订阅 → 与其他模型 → ChatGPT 连接器;需先在 ChatGPT 里连接应用 |
|
|
209
220
|
| **支持诊断** | 查看功能前置条件和近期操作结果,一键复制约 1 KB 的精简报告(完整报告可另行复制);不含凭据和会话正文 | 设置 → 维护;未验证不代表故障 |
|
|
210
221
|
| **预测缓存清理** | 查看并清理本地额度预测历史 | 保留登录、草稿、原图和共享依赖 |
|
|
211
222
|
|
|
@@ -224,12 +235,13 @@ dsh --profile headless "只回复:ok"
|
|
|
224
235
|
在 **设置 → Codex 订阅** 中管理账号和额度;其余功能按任务需要开启。
|
|
225
236
|
|
|
226
237
|
<details>
|
|
227
|
-
<summary
|
|
238
|
+
<summary>五个设置页分别做什么?</summary>
|
|
228
239
|
|
|
229
240
|
| 设置页 | 在这里做什么 |
|
|
230
241
|
| --- | --- |
|
|
231
242
|
| **账号与额度** | 登录与切换账号、查看重置时间、设置额度显示和提醒 |
|
|
232
|
-
| **模型与运行** |
|
|
243
|
+
| **模型与运行** | 模型列表与默认模型、上下文预算、输入图片精度、连接方式、云端压缩 |
|
|
244
|
+
| **与其他模型** | 总开关,以及搜索来源、ChatGPT 连接器、审查模型、独立子任务、语音和手机远程控制 |
|
|
233
245
|
| **图片与草图** | 分别开启图片生成、画板和 Agent 绘图 |
|
|
234
246
|
| **维护** | 生成支持诊断、管理本地额度预测缓存 |
|
|
235
247
|
|
|
@@ -241,99 +253,43 @@ dsh --profile headless "只回复:ok"
|
|
|
241
253
|
|
|
242
254
|
[查看完整使用指南 →](docs/GUIDE.zh-CN.md)
|
|
243
255
|
|
|
244
|
-
##
|
|
256
|
+
## 草图作画实测
|
|
245
257
|
|
|
246
|
-
草图画板和 Agent 绘图为 **Beta
|
|
258
|
+
草图画板和 Agent 绘图为 **Beta**,默认关闭,在“图片与草图”中按需开启。手动画图点输入框的草图按钮;让 Agent 画发送 `@sketch` 加要求。有参考图时 Agent 可以并排对比、看差异热图、局部放大、量颜色和边缘位置、撤销重画;画完可以点画板里的“回放”,把过程一笔一笔重放并录成视频。这些工具只测量和展示,不替模型画。
|
|
247
259
|
|
|
248
|
-
|
|
260
|
+
下面两个例子都是**只在画板上画、没有调用生图**,每个都跑一次,不代表稳定水平。“误差”是画作与参考图逐像素颜色差的平均值(越小越接近,0 为一致)。
|
|
249
261
|
|
|
250
|
-
|
|
262
|
+
**《DeepSeek 娘》· 照着参考图临摹**
|
|
251
263
|
|
|
252
264
|
<table>
|
|
253
|
-
<tr><th width="
|
|
254
|
-
<tr><td><img src="docs/assets/sketch-
|
|
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>
|
|
255
267
|
</table>
|
|
256
268
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
```text
|
|
260
|
-
@sketch 用 4:3 横版画板绘制《灯塔与归航》:左侧礁石岬角上立一座红白条纹灯塔,塔顶灯室射出扇形光束;右侧海面上一艘挂橙色小帆的渔船正驶回港湾,船后拖出 V 形水痕;地平线上是半个初升的太阳,天空有三条横向云带和三只海鸥,前景礁石间有一圈白色浪花。按天空、太阳与云、海面、礁石与灯塔、渔船、海鸥与浪花分层绘制,保留原生可编辑笔画。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持构图不变,做成温暖的水彩旅行海报,晨光金橙配靛青海面,有纸纹和柔和晕染,不添加文字。
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
<details>
|
|
264
|
-
<summary>进阶展示 · 机械剖面、青绿山水与 DeepSeek 娘临摹</summary>
|
|
265
|
-
|
|
266
|
-
前两道题都选了容易暴露差距的题材:机械剖面考结构与细节(齿轮咬合、摆锤、链条、楼梯上的人物),青绿山水考构图与审美(三远法、留白、皴法与设色)。同一条提示词分别交给 **GPT-6.1-Sol · Xhigh** 和 **GPT-6-Astra · Low**,各跑一次,均在官方桌面版上完成,生图统一为 GPT Image 2(质量:高)。
|
|
269
|
+
数字上两者接近,新版用时不到一半;双手叉腰的姿势和围裙上的小鲸鱼更准,发丝和蕾丝的细腻程度仍不及原图。
|
|
267
270
|
|
|
268
|
-
|
|
271
|
+
**《初音未来》· 竖图,照着参考图临摹**
|
|
269
272
|
|
|
270
273
|
<table>
|
|
271
|
-
<tr><th
|
|
272
|
-
<tr><td><
|
|
273
|
-
<tr><td><b>Astra<br>Low</b></td><td><img src="docs/assets/sketch-clocktower-astra-sketch.webp" alt="Astra 绘制的钟塔剖面草图" width="400"></td><td><img src="docs/assets/sketch-clocktower-astra-result.webp" alt="Astra 草图生成的钟塔剖面插画" width="400"></td></tr>
|
|
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>
|
|
274
276
|
</table>
|
|
275
277
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
**《千峰翠色》**
|
|
279
|
-
|
|
280
|
-
<table>
|
|
281
|
-
<tr><th></th><th width="45%">原生草图</th><th width="45%">生图结果</th></tr>
|
|
282
|
-
<tr><td><b>Sol<br>Xhigh</b></td><td><img src="docs/assets/sketch-shanshui-sol-sketch.webp" alt="Sol 绘制的青绿山水草图" width="400"></td><td><img src="docs/assets/sketch-shanshui-sol-result.webp" alt="Sol 草图生成的青绿山水" width="400"></td></tr>
|
|
283
|
-
<tr><td><b>Astra<br>Low</b></td><td><img src="docs/assets/sketch-shanshui-astra-sketch.webp" alt="Astra 绘制的青绿山水草图" width="400"></td><td><img src="docs/assets/sketch-shanshui-astra-result.webp" alt="Astra 草图生成的青绿山水" width="400"></td></tr>
|
|
284
|
-
</table>
|
|
285
|
-
|
|
286
|
-
Sol Xhigh 约 28 分钟,Astra Low 约 5 分钟。两者都保留了主峰、瀑布、栈道与江面的位置;Sol 的远山层次和雾带留白更完整。
|
|
287
|
-
|
|
288
|
-
**《DeepSeek 娘》· 照着参考图临摹(只画不生图)**
|
|
289
|
-
|
|
290
|
-
这道题把一张参考图作为附件发给模型,让它在画板上临摹,考的是比例、渐变长发、蕾丝褶边、手写字和小图案能不能对得上。参考图是社区流传的 DeepSeek 娘表情包。每格都在官方桌面版上跑一次,没有调用生图;原生笔画版开启了“完成后返回预览”,SVG 版在同一条提示词后加了一句“每层用 svg 命令”。
|
|
291
|
-
|
|
292
|
-
<table>
|
|
293
|
-
<tr><th width="20%">参考图</th><th width="40%">原生笔画</th><th width="40%">SVG</th></tr>
|
|
294
|
-
<tr><td rowspan="2"><img src="docs/assets/sketch-niang-reference.webp" alt="DeepSeek 娘表情包参考图" width="220"></td><td><img src="docs/assets/sketch-niang-sol-native.webp" alt="Sol 原生笔画版" width="330"><br><sub><b>Sol Xhigh</b> · 40 分 50 秒 · 526 笔</sub></td><td><img src="docs/assets/sketch-niang-sol-svg.webp" alt="Sol SVG 版" width="330"><br><sub><b>Sol Xhigh</b> · 31 分 48 秒 · 463 笔</sub></td></tr>
|
|
295
|
-
<tr><td><img src="docs/assets/sketch-niang-astra-native.webp" alt="Astra 原生笔画版" width="330"><br><sub><b>Astra Medium</b> · 约 7 分钟 · 332 笔</sub></td><td><img src="docs/assets/sketch-niang-astra-svg.webp" alt="Astra SVG 版" width="330"><br><sub><b>Astra Medium</b> · 10 分 5 秒</sub></td></tr>
|
|
296
|
-
</table>
|
|
297
|
-
|
|
298
|
-
SVG 版的发丝高光、蕾丝褶边和手写字更精细,Sol 用 SVG 还比逐笔绘制快了近 9 分钟;Astra 用 SVG 多花约 3 分钟,换来明显更丰富的细节。两个模型都没能画准脸型(偏长偏平)和围裙上的小鲸鱼图案,Sol 的鲸鱼更像鲸。
|
|
299
|
-
|
|
300
|
-
**同一题再跑一次:让模型自己叠图对照**
|
|
301
|
-
|
|
302
|
-
这一次提示词和附件方式都和上面一样,只是插件多了两样东西:模型可以用 `reference` 把聊天里附的参考图放进画板(作为隐藏的图片图层),并且在预览时打开 `compare`(把画作和参考图各占 50% 叠在一起,位置偏差会显示成重影)和 `grid`(每 100 像素一条带数字的网格)。同一题、同一个 Astra Medium,在官方桌面版上跑了一次,没有调用生图,共 20 分 57 秒、7 个绘画图层、686 条原生笔画;模型还用脚本批量生成了发丝和花边,并在画的过程中多次叠图检查、修正文字和蕾丝遮挡。
|
|
303
|
-
|
|
304
|
-
<table>
|
|
305
|
-
<tr><td><img src="docs/assets/sketch-niang-astra-compare.webp" alt="Astra Medium 叠图对照版" width="380"><br><sub><b>Astra Medium</b> · 20 分 57 秒 · 686 笔</sub></td><td><img src="docs/assets/sketch-niang-astra-overlay.webp" alt="模型看到的叠图对照预览" width="260"><br><sub>模型看到的叠图预览:文字和发丝边缘的重影就是偏差</sub></td></tr>
|
|
306
|
-
</table>
|
|
307
|
-
|
|
308
|
-
脸型、长发走向、蕾丝、手和气泡字都比上面的两个 Astra 版更接近参考图,耗时约是 SVG 版的两倍。这是单次运行,不同提示词和参考图的效果可能不同。
|
|
278
|
+
误差降了约四分之一,肩上的“01”、袖屏、腿部的系带细节补全了。读了模型的完整操作记录,剩下的误差主要是大块头发、皮肤和腿部的明暗色调,而不是边缘位置;前 3 分钟的四次整层 SVG 就把误差从 18% 压到 6.5%,之后 17 分钟的细化只降了 1.3 个百分点。实验过程、记录里发现的问题和改进见 [绘图实验记录](docs/sketch-drawing-experiments.md)。
|
|
309
279
|
|
|
310
280
|
<details>
|
|
311
|
-
<summary
|
|
312
|
-
|
|
313
|
-
```text
|
|
314
|
-
@sketch 用 3:4 竖版画板绘制《钟塔剖面图》:蒸汽朋克风格的钟塔纵向剖面技术插图。最上方是圆形大钟面(十二个刻度、两根指针)和一口铜钟;钟面下一层是齿轮机房:至少 9 个大小不同、齿数正确、彼此咬合的齿轮(相邻齿轮转向相反,齿廓要画出锯齿),另有一个锚形擒纵机构;中段是一根贯穿的长摆杆,末端为铜制圆盘摆锤,旁边两条挂着配重铁块的链条;塔壁一侧是沿墙盘旋而上的螺旋楼梯,梯上有三个微小的工匠人物;底部是石砌地基与拱门。剖面用厚实的暗色砖石墙体框出,内部露出黄铜与铁质结构,加入铆钉、管道,以及从小窗透进来的光柱。按背景砖墙、结构框架、齿轮组、摆锤与链条、楼梯与人物、光影与细节分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持每个部件的位置、比例与咬合关系不变,做成精密的蒸汽朋克剖面图插画——黄铜与旧钢的金属质感、细致的机械倒影和铆钉、羊皮纸底色配墨线渲染、暖色灯光,不添加文字。
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
```text
|
|
318
|
-
@sketch 用 3:4 竖版画板绘制《千峰翠色》:宋代青绿山水的构图,严格运用「三远法」。高远:右侧一座主峰拔地而起,占画面上半部,山体用层叠的块面表现,山腰有横向的云雾留白;深远:主峰后方还有两重淡青色远山,越远越淡,之间隔着大片留白的雾带;平远:下方是舒展的江面,一叶渔舟和两只飞鸟。左侧一挂瀑布从中段峭壁倾泻而下,落入山涧,涧边有三株松树,松针成簇;山腰有一座小亭和一条曲折栈道,栈道上有两个极小的行者;前景是坡石与芦苇,用勾勒加披麻皴式的笔触表现。色彩层次为石青、石绿、赭石,远山用淡青。按远山与天空、雾带留白、主峰、瀑布与松树、亭台栈道与行者、江面舟鸟与前景分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持山体、瀑布、栈道、江面的位置和三远法的层次不变,做成宋代青绿山水绢本设色——石青石绿矿物颜料的沉着厚重、细腻的皴擦与勾勒、绢面纹理与微微泛黄的古意、云雾留白,不添加文字或印章。
|
|
319
|
-
```
|
|
281
|
+
<summary>展开完整提示词</summary>
|
|
320
282
|
|
|
321
283
|
```text
|
|
322
284
|
@sketch 用 1:1 方形画板,尽可能忠实地临摹我附上的这张参考图(一张 Q 版二次元表情包)。画面:白色底;Q 版二头身的蓝发鲸鱼娘跪坐在画面右侧偏中,蓝色渐变长发披肩(发根深蓝、发梢浅蓝),头顶一根呆毛,戴白色蕾丝女仆头饰和蓝色蝴蝶结,头两侧是深蓝色带白色内里的鲸鱼耳鳍,蓝色大眼睛带高光,猫嘴嘟嘴的“ω”表情,脸颊泛红,双手叉腰;穿深蓝色女仆装,白色蕾丝围裙(围裙上有一只蓝色小鲸鱼图案),黑色领结,袖口和裙摆有白色蕾丝褶边;身后露出一条深蓝色的鲸鱼尾巴。左上方是白色对话气泡(黑色描边,尖角指向她),气泡里用黑色粗体写“你这吃白饭的蓝色大肥鱼。”;左侧从画面外伸进来一只黑袖子的手,食指指向她;她的左下方用蓝色描边字写“没吃饱喵!”;她脚边的地上放着一只空的白瓷饭碗,碗内壁印着一只蓝色小鲸鱼。请分层绘制:白色背景、头发与鲸鱼耳鳍与尾巴、身体与服装、脸部五官、饭碗、手臂与对话气泡文字,保留原生可编辑笔画,并特别注意角色比例、头发的渐变与发丝走向、蕾丝褶边和脸部表情的细节。这次只在草图画布上画,不要调用任何生图或图片编辑工具;画完后检查一遍与参考图的差异并修正,最后保存并完成。
|
|
323
285
|
```
|
|
324
286
|
|
|
325
|
-
SVG 版在“这次只在草图画布上画”之前多加了一句:
|
|
326
|
-
|
|
327
287
|
```text
|
|
328
|
-
|
|
288
|
+
用画板(codex_sketch)按这张参考图画初音未来,竖图,尽量百分之百还原:构图、比例、姿势、颜色、细节都要一致。
|
|
329
289
|
```
|
|
330
290
|
|
|
331
291
|
</details>
|
|
332
292
|
|
|
333
|
-
每个例子只跑一次,不代表稳定水平;Sol Xhigh 耗时明显更长,日常草图用 Astra 或较低推理档即可。
|
|
334
|
-
|
|
335
|
-
</details>
|
|
336
|
-
|
|
337
293
|
<details>
|
|
338
294
|
<summary>查看图片与草图设置</summary>
|
|
339
295
|
|
|
@@ -355,7 +311,7 @@ DSH 实机设置截图,随浅色 / 深色主题切换。
|
|
|
355
311
|
<summary>终端方式</summary>
|
|
356
312
|
|
|
357
313
|
```sh
|
|
358
|
-
dsh plugin --profile web update dsh-codex-subscription@3.
|
|
314
|
+
dsh plugin --profile web update dsh-codex-subscription@3.1.0
|
|
359
315
|
```
|
|
360
316
|
|
|
361
317
|
仅在需要卸载时运行:
|
|
@@ -401,7 +357,7 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
401
357
|
<details>
|
|
402
358
|
<summary>需要装 Codex 命令行才能用吗?</summary>
|
|
403
359
|
|
|
404
|
-
普通订阅聊天不需要。只有想用 **Codex 独立子任务** 时,才在“设置 → Codex 订阅 →
|
|
360
|
+
普通订阅聊天不需要。只有想用 **Codex 独立子任务** 时,才在“设置 → Codex 订阅 → 与其他模型”里点“安装组件”,停用和卸载也在同一处。其余实验选项按需开启。[可选组件、存储清理与完整说明 →](docs/GUIDE.zh-CN.md)
|
|
405
361
|
|
|
406
362
|
</details>
|
|
407
363
|
|