dsh-codex-subscription 2.2.11 → 2.4.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 +41 -43
- package/README.md +49 -38
- package/lib/client.js +905 -32
- package/lib/index.js +58 -18
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -16,12 +16,27 @@ No OpenAI API key or Codex CLI. Models, search, quota, and image generation stay
|
|
|
16
16
|
[](LICENSE)
|
|
17
17
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
18
18
|
|
|
19
|
-
[Features](#feature-overview) · [Install](#install) · [Daily use](#inside-the-plugin) · [Examples](#from-sketch-to-image) · [User guide](docs/GUIDE.en.md) · [Update and uninstall](#update-and-uninstall)
|
|
19
|
+
[What's new](#whats-new-in-240) · [Features](#feature-overview) · [Install](#install) · [Daily use](#inside-the-plugin) · [Examples](#from-sketch-to-image) · [User guide](docs/GUIDE.en.md) · [Update and uninstall](#update-and-uninstall)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<p align="center"><img src="docs/assets/product-account-demo-en.png" width="1100" alt="Codex subscription account and quota interface with model choices, quota windows and alerts; demonstration data"></p>
|
|
24
24
|
|
|
25
|
+
## What's new in 2.4.0
|
|
26
|
+
|
|
27
|
+
- **Stronger agent drawing (Beta).** A new SVG drawing command lets the model draw a whole layer in the notation it knows best; the result is still editable, undoable and exportable native strokes. Approximations such as gradients or clamped points are reported, and unsupported elements are refused by name.
|
|
28
|
+
- **New showcase.** GPT-6.1-Sol at Xhigh and GPT-6-Astra at Low compared side by side on a mechanical cutaway and a blue-green landscape, run on the official desktop app; see [From sketch to image](#from-sketch-to-image).
|
|
29
|
+
- **Desktop app fixes.** On the official desktop app the Codex subtask component now detects the host version and installs; support diagnostics report the real DSH version; a failed image request says whether it timed out or the connection dropped.
|
|
30
|
+
|
|
31
|
+
### 2.3.0
|
|
32
|
+
|
|
33
|
+
- **The official desktop app works.** The official DeepSeek Harness desktop app (0.2.0-rc.2) passed a hands-on acceptance run: plugin install, sign-in, model list, hiding models, a chat with a tool call, and image generation. See [Install](#install).
|
|
34
|
+
- **Models come only from your account.** The model list is read entirely from the account catalog; before sign-in or when the read fails no model is shown, and there is no built-in fallback. Under Models & runtime you can show or hide each model in the composer.
|
|
35
|
+
- **Settings reorganised.** Models and search are separate cards, switches use DSH's own control, and dead buttons no longer appear while signed out.
|
|
36
|
+
- **Ultrafast speed tier (Beta).** The new tier from OpenAI's developer event. It appears in the model menu only when your account catalog lists it for that model (today Pro 500 with GPT-6 Astra); other accounts never see it and it is never silently swapped for another tier. It is Beta because it has not been run on a Pro 500 account yet.
|
|
37
|
+
- **Shorter support diagnostics.** "Copy report" now copies the conclusions, recent failures and per-feature status (about 1 KB); the full report can still be copied separately from the details.
|
|
38
|
+
- **Subtasks and stability.** Codex subtasks now really take effect on 0.2.0 and no longer expose the apps connected to your account; image generation being rejected by the host on the desktop app is fixed (2.2.11).
|
|
39
|
+
|
|
25
40
|
## Feature overview
|
|
26
41
|
|
|
27
42
|
Subscription access, model controls, quota management, and image creation in one DSH workflow. Each capability is listed below; model access and quota depend on your account.
|
|
@@ -34,7 +49,7 @@ Subscription access, model controls, quota management, and image creation in one
|
|
|
34
49
|
| **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 |
|
|
35
50
|
| **Model list** | Show or hide individual models in the composer picker under Models & runtime | Display only; selected models and requests still work |
|
|
36
51
|
| **Reasoning levels** | Choose supported reasoning effort in the composer | Levels vary by model |
|
|
37
|
-
| **
|
|
52
|
+
| **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 |
|
|
38
53
|
| **Response verbosity** | Request short, medium, or detailed responses | Follows the model default unless changed |
|
|
39
54
|
| **Input image detail** | Choose Low, High, Original, or Auto detail for images sent to the chat model | Affects input tokens; Auto by default |
|
|
40
55
|
| **Subscription web search** | Use Codex search or choose DSH search | Auto, DSH, and Codex routing options |
|
|
@@ -70,7 +85,7 @@ Subscription access, model controls, quota management, and image creation in one
|
|
|
70
85
|
| **Smoothing and navigation** | Smooth complete strokes after release; pan, zoom, undo, and redo | Shortcuts can be customized or disabled |
|
|
71
86
|
| **Multiple drafts** | Save and reopen up to 20 local drafts | Stored in the current browser |
|
|
72
87
|
| **Import and export** | Export PNG, layered PSD, or native drafts that preserve editable strokes | PSD import supports a limited set of ordinary pixel layers |
|
|
73
|
-
| **Agent drawing** | Ask the agent to draw with `@sketch`, follow progress, and stop it | Beta; off by default, requires the canvas |
|
|
88
|
+
| **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 |
|
|
74
89
|
| **Result preview for the model** | Return a canvas image after drawing for subsequent review | Beta; off by default, adds image input usage |
|
|
75
90
|
|
|
76
91
|
### Advanced capabilities and maintenance
|
|
@@ -81,7 +96,7 @@ Subscription access, model controls, quota management, and image creation in one
|
|
|
81
96
|
| **Subtask component management** | Install, disable, or uninstall the official Codex subtask component from settings | Managed by supported DSH hosts; no extra login |
|
|
82
97
|
| **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 |
|
|
83
98
|
| **WebSocket transport** | Experimentally reuse connections and context transfers, with SSE fallback on connection failure | Beta / experimental; SSE by default, no speed guarantee |
|
|
84
|
-
| **Support diagnostics** | Inspect prerequisites
|
|
99
|
+
| **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 |
|
|
85
100
|
| **Forecast cache cleanup** | Inspect and clear local quota forecast history | Keeps sign-in, drafts, originals, and shared dependencies |
|
|
86
101
|
|
|
87
102
|
[Usage details, limitations, and optional components →](docs/GUIDE.en.md)
|
|
@@ -104,7 +119,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
104
119
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
105
120
|
|
|
106
121
|
```text
|
|
107
|
-
dsh-codex-subscription@2.
|
|
122
|
+
dsh-codex-subscription@2.4.0
|
|
108
123
|
```
|
|
109
124
|
|
|
110
125
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
@@ -139,7 +154,7 @@ dsh --profile headless "Reply with only the word: ok"
|
|
|
139
154
|
|
|
140
155
|
### Everyday controls, right in the composer
|
|
141
156
|
|
|
142
|
-
Choose a model, adjust reasoning,
|
|
157
|
+
Choose a model, adjust reasoning, switch speed tiers, and check remaining quota without opening settings for every request.
|
|
143
158
|
|
|
144
159
|
<p align="center"><img src="docs/assets/composer-quota-en.png" width="800" alt="DSH composer with GPT-6-Luna, reasoning controls and remaining quota"></p>
|
|
145
160
|
|
|
@@ -174,59 +189,42 @@ Image generation, editing, and the sketch canvas are **Beta**. The canvas and ag
|
|
|
174
189
|
Draw by hand with the canvas button, or ask the agent with `@sketch` and your drawing request.
|
|
175
190
|
|
|
176
191
|
<table>
|
|
177
|
-
<tr><th width="50%">
|
|
178
|
-
<tr><td><img src="docs/assets/sketch-
|
|
192
|
+
<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>
|
|
193
|
+
<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>
|
|
179
194
|
</table>
|
|
180
195
|
|
|
181
|
-
|
|
196
|
+
**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.
|
|
197
|
+
|
|
198
|
+
The prompt (sent in Chinese): draw "Lighthouse and Homecoming" on a 4:3 canvas — a red-and-white lighthouse on a rocky cape casting a fan of light, an orange-sailed fishing boat heading home with a V-shaped wake, a half-risen sun, three cloud bands, three gulls and surf around the rocks, in six named layers; then turn the sketch into a warm watercolor travel poster with no text, keeping the composition.
|
|
182
199
|
|
|
183
200
|
<details>
|
|
184
|
-
<summary>Advanced examples ·
|
|
201
|
+
<summary>Advanced examples · Mechanical cutaway and blue-green landscape (Sol Xhigh vs Astra Low)</summary>
|
|
185
202
|
|
|
186
|
-
**
|
|
203
|
+
Both 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).
|
|
187
204
|
|
|
188
|
-
**
|
|
205
|
+
**Clock Tower Cutaway**
|
|
189
206
|
|
|
190
207
|
<table>
|
|
191
|
-
<tr><th width="
|
|
192
|
-
<tr><td><img src="docs/assets/sketch-
|
|
208
|
+
<tr><th></th><th width="45%">Native sketch</th><th width="45%">Generated image</th></tr>
|
|
209
|
+
<tr><td><b>Sol<br>Xhigh</b></td><td><img src="docs/assets/sketch-clocktower-sol-sketch.webp" alt="Clock tower sketch by Sol" width="400"></td><td><img src="docs/assets/sketch-clocktower-sol-result.webp" alt="Clock tower illustration from Sol's sketch" width="400"></td></tr>
|
|
210
|
+
<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>
|
|
193
211
|
</table>
|
|
194
212
|
|
|
195
|
-
|
|
196
|
-
<summary>Show the reproduction prompt and original image request</summary>
|
|
197
|
-
|
|
198
|
-
**Sketch reproduction prompt (reconstructed from the artwork, not the original conversation)**
|
|
199
|
-
|
|
200
|
-
Astra drew the original in stages. This Chinese prompt provides a starting point for the same concept, not a guarantee of an identical result.
|
|
201
|
-
|
|
202
|
-
```text
|
|
203
|
-
@sketch 用 4:3 横版画板绘制《画布背面有人》:中央偏上是一处撕开的纸洞,洞内是深蓝星空和一位拿颜料桶的小画师;蓝色颜料从桶中流出,形成 S 形河流,流向下方城市。左侧城市保持未上色线稿,右侧城市被暖色点亮,加入纸船与飞鸟。按纸面、洞内世界、颜料河流、城市、画师和细节分层绘制,保留原生可编辑笔画。
|
|
204
|
-
```
|
|
213
|
+
Sol first computed tooth counts (48, 38, 27, 46, 36, 24, 34, 30, 22) and pitch circles for the nine gears with a script, then placed them in mesh; drawing took about an hour. Its first image request failed; it asked, was allowed one retry, and succeeded. Astra Low finished sketch and image in about 5 minutes, with a simpler structure and gears that are not individually calibrated.
|
|
205
214
|
|
|
206
|
-
**
|
|
207
|
-
|
|
208
|
-
```text
|
|
209
|
-
请基于本条附加草图实际调用订阅图片工具一次,生成成品插画。quality=low,模型使用当前默认,不切换型号,不额外生成。主题《画布背面有人》:保留4:3横构图、中央偏上的撕纸洞口、洞内拿颜料桶的小画师、流出成为S形河流的蓝色颜料、下方左侧未上色城市与右侧被点亮城市、纸船飞鸟。精修为惊艳的立体纸艺与精细手绘结合的编辑插画,纸张纤维、真实撕边及柔和投影,深靛蓝洞内星月,丰富青蓝颜料层次和流动质感,赭橙画师与暖色建筑,微小清晰的叙事细节。不重构为风景,不添加文字水印。必须使用本条参考图片编辑,不能仅凭文字生成。生成后简短说明完成即可。
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
</details>
|
|
213
|
-
|
|
214
|
-
Original example released in: [Beta v2.1.0-beta.2](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.2)
|
|
215
|
-
|
|
216
|
-
**Mona Lisa: Astra sketch → GPT image generation**
|
|
217
|
-
|
|
218
|
-
Example version: [2.1.0-beta.5](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.5)
|
|
219
|
-
|
|
220
|
-
Actual results supplied by the user from another computer: Astra draws on a portrait canvas, then GPT image generation turns the sketch into an oil painting.
|
|
215
|
+
**A Thousand Green Peaks**
|
|
221
216
|
|
|
222
217
|
<table>
|
|
223
|
-
<tr><th width="
|
|
224
|
-
<tr><td><img src="docs/assets/sketch-
|
|
218
|
+
<tr><th></th><th width="45%">Native sketch</th><th width="45%">Generated image</th></tr>
|
|
219
|
+
<tr><td><b>Sol<br>Xhigh</b></td><td><img src="docs/assets/sketch-shanshui-sol-sketch.webp" alt="Landscape sketch by Sol" width="400"></td><td><img src="docs/assets/sketch-shanshui-sol-result.webp" alt="Blue-green landscape from Sol's sketch" width="400"></td></tr>
|
|
220
|
+
<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>
|
|
225
221
|
</table>
|
|
226
222
|
|
|
227
|
-
|
|
223
|
+
Sol Xhigh took about 28 minutes and Astra Low about 5. Both kept the main peak, waterfall, plank path and river in place; Sol's receding ranges and mist bands are more complete.
|
|
224
|
+
|
|
225
|
+
The full Chinese prompts for both subjects are in the [Chinese README](README.md#从草图到作品).
|
|
228
226
|
|
|
229
|
-
|
|
227
|
+
Each example is a single run, not a measure of consistent quality. Sol Xhigh is much slower; Astra or a lower reasoning level is enough for everyday sketches.
|
|
230
228
|
|
|
231
229
|
</details>
|
|
232
230
|
|
package/README.md
CHANGED
|
@@ -16,12 +16,27 @@
|
|
|
16
16
|
[](LICENSE)
|
|
17
17
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
18
18
|
|
|
19
|
-
[功能](#功能一览) · [安装](#安装) · [日常使用](#界面一览) · [作品案例](#从草图到作品) · [使用指南](docs/GUIDE.zh-CN.md) · [更新与卸载](#更新与卸载)
|
|
19
|
+
[更新亮点](#240-更新亮点) · [功能](#功能一览) · [安装](#安装) · [日常使用](#界面一览) · [作品案例](#从草图到作品) · [使用指南](docs/GUIDE.zh-CN.md) · [更新与卸载](#更新与卸载)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<p align="center"><img src="docs/assets/product-account-demo.png" width="1100" alt="Codex 订阅账号与额度界面:模型选择、双周期额度与提醒;使用演示数据"></p>
|
|
24
24
|
|
|
25
|
+
## 2.4.0 更新亮点
|
|
26
|
+
|
|
27
|
+
- **Agent 绘图更强(Beta)**:新增 SVG 绘图命令,模型可用最擅长的 SVG 一次画完一整层,导入后仍是可编辑、可撤销、可导出的原生笔画;渐变、越界等近似处理会明确回报,不支持的元素会点名拒绝。
|
|
28
|
+
- **全新作品案例**:在官方桌面版上用 GPT-6.1-Sol · Xhigh 与 GPT-6-Astra · Low 实测,机械剖面与青绿山水两道题并排对照,见[从草图到作品](#从草图到作品)。
|
|
29
|
+
- **桌面版修复**:官方桌面版上 Codex 子任务组件现在能正确识别宿主版本并安装;支持诊断会报告真实的 DSH 版本;图片请求网络失败时会说明是超时还是连接中断。
|
|
30
|
+
|
|
31
|
+
### 2.3.0
|
|
32
|
+
|
|
33
|
+
- **官方桌面端可用**:DeepSeek Harness 官方桌面版(0.2.0-rc.2)已完成实机验收——安装插件、登录、模型列表、隐藏模型、带工具调用的对话、图片生成均通过;安装方式见[安装](#安装)。
|
|
34
|
+
- **模型只来自你的账号**:模型列表完全读取账号目录,登录前或读取失败时不显示任何模型,也没有内置兜底;“模型与运行”里可逐个显示 / 隐藏输入框中的模型。
|
|
35
|
+
- **设置页重新整理**:模型与搜索分成两个卡片,开关统一使用 DSH 自带控件,未登录时不再出现无效按钮。
|
|
36
|
+
- **极速档 Ultrafast(Beta)**:OpenAI 发布会新增的速度档。只有账号模型目录明确给出该档位(目前为 Pro 500 的 GPT-6 Astra)才会在模型菜单里出现,其他账号不显示,也不会被悄悄降级到别的档位;由于暂无 Pro 500 账号做实机验证,标为 Beta。
|
|
37
|
+
- **更短的支持诊断**:“复制诊断”现在只复制结论、近期失败和各能力状态(约 1 KB),完整报告仍可在详情里单独复制。
|
|
38
|
+
- **子任务与稳定性**:Codex 子任务在 0.2.0 上真正生效,并且不再暴露账号里连接的应用;修复了图片生成在桌面版上被宿主拒绝的问题(2.2.11)。
|
|
39
|
+
|
|
25
40
|
## 功能一览
|
|
26
41
|
|
|
27
42
|
把订阅接入、模型控制、额度管理和图片创作放在同一个 DSH 工作流里。下面逐项列出插件提供的能力;模型权限和额度以账号实际返回为准。
|
|
@@ -34,7 +49,7 @@
|
|
|
34
49
|
| **模型目录同步** | 自动读取账号可用模型与推理档位,支持手动刷新;目录标注退役的模型会在模型名称旁显示退役日期,不会自动切换你的选择 | 新型号以账号目录开放情况为准;模型只来自账号目录,未登录或读取失败时不显示任何模型,也不使用内置列表 |
|
|
35
50
|
| **模型列表** | 在“模型与运行”中逐个显示或隐藏输入框中的模型 | 仅影响列表显示;已选模型和请求不受影响 |
|
|
36
51
|
| **推理等级** | 在输入框选择模型支持的推理档位 | 档位随模型变化 |
|
|
37
|
-
|
|
|
52
|
+
| **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
|
|
38
53
|
| **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
|
|
39
54
|
| **输入图片精度** | 为发送给聊天模型的图片选择低、高、原图或自动精度 | 影响输入 token 用量;默认自动 |
|
|
40
55
|
| **订阅联网搜索** | 使用 Codex 搜索,或选择 DSH 搜索 | 可选自动、DSH、Codex 路由 |
|
|
@@ -70,7 +85,7 @@
|
|
|
70
85
|
| **笔画平滑与导航** | 抬笔后平滑整条路径;拖动、缩放、撤销重做 | 快捷键可自定义和关闭 |
|
|
71
86
|
| **多份草稿** | 保存并重新编辑最多 20 份本地草稿 | 保存在当前浏览器 |
|
|
72
87
|
| **导入与导出** | 导出 PNG、分层 PSD,或交换保留原生笔画的草稿文件 | PSD 导入仅支持有限的普通像素图层 |
|
|
73
|
-
| **Agent 绘图** | 用 `@sketch` 让 Agent
|
|
88
|
+
| **Agent 绘图** | 用 `@sketch` 让 Agent 绘制,查看进度并随时停止;Agent 可用 SVG 整段作画,导入为可编辑原生笔画 | Beta;默认关闭,需同时开启画板 |
|
|
74
89
|
| **绘图结果回看** | 完成后向模型返回画布预览,帮助后续检查 | Beta;默认关闭,会增加图片输入用量 |
|
|
75
90
|
|
|
76
91
|
### 进阶能力与维护
|
|
@@ -81,7 +96,7 @@
|
|
|
81
96
|
| **子任务组件管理** | 在设置里安装、停用或卸载官方 Codex 子任务组件 | 由支持的 DSH 宿主管理,无需额外登录 |
|
|
82
97
|
| **云端上下文压缩** | 使用 Codex 云端压缩继续长对话,同时保留 DSH 历史与原生压缩 | Beta / 实验性;默认关闭,开启的请求使用 SSE |
|
|
83
98
|
| **WebSocket 连接** | 实验性复用连接和上下文传输,连接失败可回退 SSE | Beta / 实验性;默认 SSE,不保证更快 |
|
|
84
|
-
| **支持诊断** |
|
|
99
|
+
| **支持诊断** | 查看功能前置条件和近期操作结果,一键复制约 1 KB 的精简报告(完整报告可另行复制);不含凭据和会话正文 | 设置 → 维护;未验证不代表故障 |
|
|
85
100
|
| **预测缓存清理** | 查看并清理本地额度预测历史 | 保留登录、草稿、原图和共享依赖 |
|
|
86
101
|
|
|
87
102
|
[详细用法、限制与可选组件 →](docs/GUIDE.zh-CN.md)
|
|
@@ -104,7 +119,7 @@
|
|
|
104
119
|
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
105
120
|
|
|
106
121
|
```text
|
|
107
|
-
dsh-codex-subscription@2.
|
|
122
|
+
dsh-codex-subscription@2.4.0
|
|
108
123
|
```
|
|
109
124
|
|
|
110
125
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
@@ -139,7 +154,7 @@ dsh --profile headless "只回复:ok"
|
|
|
139
154
|
|
|
140
155
|
### 日常操作,留在输入框
|
|
141
156
|
|
|
142
|
-
|
|
157
|
+
选模型、调推理档位、切换速度档位,同时查看剩余额度。无需为每次请求打开设置。
|
|
143
158
|
|
|
144
159
|
<p align="center"><img src="docs/assets/composer-astra-fast.png" width="800" alt="DSH 输入框:GPT-6-Astra Max、闪电标识的 Fast 高速模式与剩余额度"></p>
|
|
145
160
|
|
|
@@ -174,59 +189,55 @@ dsh --profile headless "只回复:ok"
|
|
|
174
189
|
手动画图时点击画板按钮;让 Agent 绘图时发送 `@sketch` 加绘图要求。
|
|
175
190
|
|
|
176
191
|
<table>
|
|
177
|
-
<tr><th width="50%"
|
|
178
|
-
<tr><td><img src="docs/assets/sketch-
|
|
192
|
+
<tr><th width="50%">Agent 绘制的原生草图</th><th width="50%">以草图为唯一参考的生图结果</th></tr>
|
|
193
|
+
<tr><td><img src="docs/assets/sketch-lighthouse-sketch.webp" alt="GPT-6.1-Sol 绘制的灯塔与归航草图" width="480"></td><td><img src="docs/assets/sketch-lighthouse-result.webp" alt="根据草图生成的灯塔水彩海报" width="480"></td></tr>
|
|
179
194
|
</table>
|
|
180
195
|
|
|
181
|
-
|
|
196
|
+
**GPT-6.1-Sol · Xhigh**,官方桌面版 0.2.0-rc.2 实测:一条 `@sketch` 消息完成 6 个图层、229 笔可编辑原生笔画,再以这张草图为唯一参考调用一次 GPT Image 2(质量:高),全程约 13 分钟。
|
|
197
|
+
|
|
198
|
+
```text
|
|
199
|
+
@sketch 用 4:3 横版画板绘制《灯塔与归航》:左侧礁石岬角上立一座红白条纹灯塔,塔顶灯室射出扇形光束;右侧海面上一艘挂橙色小帆的渔船正驶回港湾,船后拖出 V 形水痕;地平线上是半个初升的太阳,天空有三条横向云带和三只海鸥,前景礁石间有一圈白色浪花。按天空、太阳与云、海面、礁石与灯塔、渔船、海鸥与浪花分层绘制,保留原生可编辑笔画。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持构图不变,做成温暖的水彩旅行海报,晨光金橙配靛青海面,有纸纹和柔和晕染,不添加文字。
|
|
200
|
+
```
|
|
182
201
|
|
|
183
202
|
<details>
|
|
184
|
-
<summary>进阶展示 ·
|
|
203
|
+
<summary>进阶展示 · 机械剖面与青绿山水(Sol Xhigh 与 Astra Low 对照)</summary>
|
|
185
204
|
|
|
186
|
-
|
|
205
|
+
两道题都选了容易暴露差距的题材:机械剖面考结构与细节(齿轮咬合、摆锤、链条、楼梯上的人物),青绿山水考构图与审美(三远法、留白、皴法与设色)。同一条提示词分别交给 **GPT-6.1-Sol · Xhigh** 和 **GPT-6-Astra · Low**,各跑一次,均在官方桌面版上完成,生图统一为 GPT Image 2(质量:高)。
|
|
187
206
|
|
|
188
|
-
|
|
207
|
+
**《钟塔剖面图》**
|
|
189
208
|
|
|
190
209
|
<table>
|
|
191
|
-
<tr><th width="
|
|
192
|
-
<tr><td><img src="docs/assets/sketch-
|
|
210
|
+
<tr><th></th><th width="45%">原生草图</th><th width="45%">生图结果</th></tr>
|
|
211
|
+
<tr><td><b>Sol<br>Xhigh</b></td><td><img src="docs/assets/sketch-clocktower-sol-sketch.webp" alt="Sol 绘制的钟塔剖面草图" width="400"></td><td><img src="docs/assets/sketch-clocktower-sol-result.webp" alt="Sol 草图生成的钟塔剖面插画" width="400"></td></tr>
|
|
212
|
+
<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>
|
|
193
213
|
</table>
|
|
194
214
|
|
|
195
|
-
|
|
196
|
-
|
|
215
|
+
Sol 先用脚本算出 9 个齿轮的齿数(48、38、27、46、36、24、34、30、22)与节圆,再按咬合位置排布,绘图约 1 小时;第一次生图请求失败,按它的询问同意重试一次后成功。Astra Low 约 5 分钟完成全部草图与生图,结构更简化,齿轮没有逐一校准。
|
|
216
|
+
|
|
217
|
+
**《千峰翠色》**
|
|
218
|
+
|
|
219
|
+
<table>
|
|
220
|
+
<tr><th></th><th width="45%">原生草图</th><th width="45%">生图结果</th></tr>
|
|
221
|
+
<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>
|
|
222
|
+
<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>
|
|
223
|
+
</table>
|
|
197
224
|
|
|
198
|
-
|
|
225
|
+
Sol Xhigh 约 28 分钟,Astra Low 约 5 分钟。两者都保留了主峰、瀑布、栈道与江面的位置;Sol 的远山层次和雾带留白更完整。
|
|
199
226
|
|
|
200
|
-
|
|
227
|
+
<details>
|
|
228
|
+
<summary>展开两道题的完整提示词</summary>
|
|
201
229
|
|
|
202
230
|
```text
|
|
203
|
-
@sketch 用 4
|
|
231
|
+
@sketch 用 3:4 竖版画板绘制《钟塔剖面图》:蒸汽朋克风格的钟塔纵向剖面技术插图。最上方是圆形大钟面(十二个刻度、两根指针)和一口铜钟;钟面下一层是齿轮机房:至少 9 个大小不同、齿数正确、彼此咬合的齿轮(相邻齿轮转向相反,齿廓要画出锯齿),另有一个锚形擒纵机构;中段是一根贯穿的长摆杆,末端为铜制圆盘摆锤,旁边两条挂着配重铁块的链条;塔壁一侧是沿墙盘旋而上的螺旋楼梯,梯上有三个微小的工匠人物;底部是石砌地基与拱门。剖面用厚实的暗色砖石墙体框出,内部露出黄铜与铁质结构,加入铆钉、管道,以及从小窗透进来的光柱。按背景砖墙、结构框架、齿轮组、摆锤与链条、楼梯与人物、光影与细节分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持每个部件的位置、比例与咬合关系不变,做成精密的蒸汽朋克剖面图插画——黄铜与旧钢的金属质感、细致的机械倒影和铆钉、羊皮纸底色配墨线渲染、暖色灯光,不添加文字。
|
|
204
232
|
```
|
|
205
233
|
|
|
206
|
-
**实际生图提示词**
|
|
207
|
-
|
|
208
234
|
```text
|
|
209
|
-
|
|
235
|
+
@sketch 用 3:4 竖版画板绘制《千峰翠色》:宋代青绿山水的构图,严格运用「三远法」。高远:右侧一座主峰拔地而起,占画面上半部,山体用层叠的块面表现,山腰有横向的云雾留白;深远:主峰后方还有两重淡青色远山,越远越淡,之间隔着大片留白的雾带;平远:下方是舒展的江面,一叶渔舟和两只飞鸟。左侧一挂瀑布从中段峭壁倾泻而下,落入山涧,涧边有三株松树,松针成簇;山腰有一座小亭和一条曲折栈道,栈道上有两个极小的行者;前景是坡石与芦苇,用勾勒加披麻皴式的笔触表现。色彩层次为石青、石绿、赭石,远山用淡青。按远山与天空、雾带留白、主峰、瀑布与松树、亭台栈道与行者、江面舟鸟与前景分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持山体、瀑布、栈道、江面的位置和三远法的层次不变,做成宋代青绿山水绢本设色——石青石绿矿物颜料的沉着厚重、细腻的皴擦与勾勒、绢面纹理与微微泛黄的古意、云雾留白,不添加文字或印章。
|
|
210
236
|
```
|
|
211
237
|
|
|
212
238
|
</details>
|
|
213
239
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
**《蒙娜丽莎》:Astra 草图 → GPT 生图**
|
|
217
|
-
|
|
218
|
-
案例版本:[2.1.0-beta.5](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.5)
|
|
219
|
-
|
|
220
|
-
用户在另一台电脑上的实际效果:先让 Astra 在竖版画板上绘制,再通过 GPT 生图转成油画。
|
|
221
|
-
|
|
222
|
-
<table>
|
|
223
|
-
<tr><th width="50%">Astra 原生草图</th><th width="50%">GPT 生图:油画效果</th></tr>
|
|
224
|
-
<tr><td><img src="docs/assets/sketch-mona-lisa-source.png" alt="Astra 绘制的蒙娜丽莎草图" width="480"></td><td><img src="docs/assets/sketch-mona-lisa-result.png" alt="草图转换后的蒙娜丽莎油画" width="480"></td></tr>
|
|
225
|
-
</table>
|
|
226
|
-
|
|
227
|
-
草图提示词:`@sketch 用竖版画板画一幅《蒙娜丽莎》`
|
|
228
|
-
|
|
229
|
-
生图提示词:`帮我变成油画`
|
|
240
|
+
每个例子只跑一次,不代表稳定水平;Sol Xhigh 耗时明显更长,日常草图用 Astra 或较低推理档即可。
|
|
230
241
|
|
|
231
242
|
</details>
|
|
232
243
|
|