dsh-codex-subscription 2.4.0 → 2.4.1
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 +17 -20
- package/README.md +27 -20
- package/lib/client.js +8 -3
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -16,27 +16,12 @@ 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
|
-
[
|
|
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)
|
|
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
|
-
|
|
40
25
|
## Feature overview
|
|
41
26
|
|
|
42
27
|
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.
|
|
@@ -119,7 +104,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
119
104
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
120
105
|
|
|
121
106
|
```text
|
|
122
|
-
dsh-codex-subscription@2.4.
|
|
107
|
+
dsh-codex-subscription@2.4.1
|
|
123
108
|
```
|
|
124
109
|
|
|
125
110
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
@@ -198,9 +183,9 @@ Draw by hand with the canvas button, or ask the agent with `@sketch` and your dr
|
|
|
198
183
|
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.
|
|
199
184
|
|
|
200
185
|
<details>
|
|
201
|
-
<summary>Advanced examples · Mechanical cutaway
|
|
186
|
+
<summary>Advanced examples · Mechanical cutaway, blue-green landscape and a reference-copy challenge</summary>
|
|
202
187
|
|
|
203
|
-
|
|
188
|
+
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).
|
|
204
189
|
|
|
205
190
|
**Clock Tower Cutaway**
|
|
206
191
|
|
|
@@ -222,7 +207,19 @@ Sol first computed tooth counts (48, 38, 27, 46, 36, 24, 34, 30, 22) and pitch c
|
|
|
222
207
|
|
|
223
208
|
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
209
|
|
|
225
|
-
|
|
210
|
+
**"DeepSeek-chan" · copy a reference image (draw only, no image generation)**
|
|
211
|
+
|
|
212
|
+
Here the reference image is attached to the message and the model copies it on the canvas, which tests proportions, gradient long hair, lace trim, hand lettering and small motifs. The reference is a community sticker of the DeepSeek mascot girl. Each cell is one run on the official desktop app with no image generation; the native-stroke runs had "return preview when finished" enabled, and the SVG runs added one sentence to the same prompt asking for the svg command on every layer.
|
|
213
|
+
|
|
214
|
+
<table>
|
|
215
|
+
<tr><th width="20%">Reference</th><th width="40%">Native strokes</th><th width="40%">SVG</th></tr>
|
|
216
|
+
<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>
|
|
217
|
+
<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>
|
|
218
|
+
</table>
|
|
219
|
+
|
|
220
|
+
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.
|
|
221
|
+
|
|
222
|
+
The full Chinese prompts for all three subjects are in the [Chinese README](README.md#从草图到作品).
|
|
226
223
|
|
|
227
224
|
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.
|
|
228
225
|
|
package/README.md
CHANGED
|
@@ -16,27 +16,12 @@
|
|
|
16
16
|
[](LICENSE)
|
|
17
17
|
[](https://github.com/WSL043/dsh-codex-subscription/stargazers)
|
|
18
18
|
|
|
19
|
-
[
|
|
19
|
+
[功能](#功能一览) · [安装](#安装) · [日常使用](#界面一览) · [作品案例](#从草图到作品) · [使用指南](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
|
-
|
|
40
25
|
## 功能一览
|
|
41
26
|
|
|
42
27
|
把订阅接入、模型控制、额度管理和图片创作放在同一个 DSH 工作流里。下面逐项列出插件提供的能力;模型权限和额度以账号实际返回为准。
|
|
@@ -119,7 +104,7 @@
|
|
|
119
104
|
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
120
105
|
|
|
121
106
|
```text
|
|
122
|
-
dsh-codex-subscription@2.4.
|
|
107
|
+
dsh-codex-subscription@2.4.1
|
|
123
108
|
```
|
|
124
109
|
|
|
125
110
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
@@ -200,9 +185,9 @@ dsh --profile headless "只回复:ok"
|
|
|
200
185
|
```
|
|
201
186
|
|
|
202
187
|
<details>
|
|
203
|
-
<summary>进阶展示 ·
|
|
188
|
+
<summary>进阶展示 · 机械剖面、青绿山水与 DeepSeek 娘临摹</summary>
|
|
204
189
|
|
|
205
|
-
|
|
190
|
+
前两道题都选了容易暴露差距的题材:机械剖面考结构与细节(齿轮咬合、摆锤、链条、楼梯上的人物),青绿山水考构图与审美(三远法、留白、皴法与设色)。同一条提示词分别交给 **GPT-6.1-Sol · Xhigh** 和 **GPT-6-Astra · Low**,各跑一次,均在官方桌面版上完成,生图统一为 GPT Image 2(质量:高)。
|
|
206
191
|
|
|
207
192
|
**《钟塔剖面图》**
|
|
208
193
|
|
|
@@ -224,8 +209,20 @@ Sol 先用脚本算出 9 个齿轮的齿数(48、38、27、46、36、24、34
|
|
|
224
209
|
|
|
225
210
|
Sol Xhigh 约 28 分钟,Astra Low 约 5 分钟。两者都保留了主峰、瀑布、栈道与江面的位置;Sol 的远山层次和雾带留白更完整。
|
|
226
211
|
|
|
212
|
+
**《DeepSeek 娘》· 照着参考图临摹(只画不生图)**
|
|
213
|
+
|
|
214
|
+
这道题把一张参考图作为附件发给模型,让它在画板上临摹,考的是比例、渐变长发、蕾丝褶边、手写字和小图案能不能对得上。参考图是社区流传的 DeepSeek 娘表情包。每格都在官方桌面版上跑一次,没有调用生图;原生笔画版开启了“完成后返回预览”,SVG 版在同一条提示词后加了一句“每层用 svg 命令”。
|
|
215
|
+
|
|
216
|
+
<table>
|
|
217
|
+
<tr><th width="20%">参考图</th><th width="40%">原生笔画</th><th width="40%">SVG</th></tr>
|
|
218
|
+
<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>
|
|
219
|
+
<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>
|
|
220
|
+
</table>
|
|
221
|
+
|
|
222
|
+
SVG 版的发丝高光、蕾丝褶边和手写字更精细,Sol 用 SVG 还比逐笔绘制快了近 9 分钟;Astra 用 SVG 多花约 3 分钟,换来明显更丰富的细节。两个模型都没能画准脸型(偏长偏平)和围裙上的小鲸鱼图案,Sol 的鲸鱼更像鲸。
|
|
223
|
+
|
|
227
224
|
<details>
|
|
228
|
-
<summary
|
|
225
|
+
<summary>展开三道题的完整提示词</summary>
|
|
229
226
|
|
|
230
227
|
```text
|
|
231
228
|
@sketch 用 3:4 竖版画板绘制《钟塔剖面图》:蒸汽朋克风格的钟塔纵向剖面技术插图。最上方是圆形大钟面(十二个刻度、两根指针)和一口铜钟;钟面下一层是齿轮机房:至少 9 个大小不同、齿数正确、彼此咬合的齿轮(相邻齿轮转向相反,齿廓要画出锯齿),另有一个锚形擒纵机构;中段是一根贯穿的长摆杆,末端为铜制圆盘摆锤,旁边两条挂着配重铁块的链条;塔壁一侧是沿墙盘旋而上的螺旋楼梯,梯上有三个微小的工匠人物;底部是石砌地基与拱门。剖面用厚实的暗色砖石墙体框出,内部露出黄铜与铁质结构,加入铆钉、管道,以及从小窗透进来的光柱。按背景砖墙、结构框架、齿轮组、摆锤与链条、楼梯与人物、光影与细节分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持每个部件的位置、比例与咬合关系不变,做成精密的蒸汽朋克剖面图插画——黄铜与旧钢的金属质感、细致的机械倒影和铆钉、羊皮纸底色配墨线渲染、暖色灯光,不添加文字。
|
|
@@ -235,6 +232,16 @@ Sol Xhigh 约 28 分钟,Astra Low 约 5 分钟。两者都保留了主峰、
|
|
|
235
232
|
@sketch 用 3:4 竖版画板绘制《千峰翠色》:宋代青绿山水的构图,严格运用「三远法」。高远:右侧一座主峰拔地而起,占画面上半部,山体用层叠的块面表现,山腰有横向的云雾留白;深远:主峰后方还有两重淡青色远山,越远越淡,之间隔着大片留白的雾带;平远:下方是舒展的江面,一叶渔舟和两只飞鸟。左侧一挂瀑布从中段峭壁倾泻而下,落入山涧,涧边有三株松树,松针成簇;山腰有一座小亭和一条曲折栈道,栈道上有两个极小的行者;前景是坡石与芦苇,用勾勒加披麻皴式的笔触表现。色彩层次为石青、石绿、赭石,远山用淡青。按远山与天空、雾带留白、主峰、瀑布与松树、亭台栈道与行者、江面舟鸟与前景分层绘制。画完后,把这张草图作为唯一参考图,调用订阅图片工具一次生成成品:保持山体、瀑布、栈道、江面的位置和三远法的层次不变,做成宋代青绿山水绢本设色——石青石绿矿物颜料的沉着厚重、细腻的皴擦与勾勒、绢面纹理与微微泛黄的古意、云雾留白,不添加文字或印章。
|
|
236
233
|
```
|
|
237
234
|
|
|
235
|
+
```text
|
|
236
|
+
@sketch 用 1:1 方形画板,尽可能忠实地临摹我附上的这张参考图(一张 Q 版二次元表情包)。画面:白色底;Q 版二头身的蓝发鲸鱼娘跪坐在画面右侧偏中,蓝色渐变长发披肩(发根深蓝、发梢浅蓝),头顶一根呆毛,戴白色蕾丝女仆头饰和蓝色蝴蝶结,头两侧是深蓝色带白色内里的鲸鱼耳鳍,蓝色大眼睛带高光,猫嘴嘟嘴的“ω”表情,脸颊泛红,双手叉腰;穿深蓝色女仆装,白色蕾丝围裙(围裙上有一只蓝色小鲸鱼图案),黑色领结,袖口和裙摆有白色蕾丝褶边;身后露出一条深蓝色的鲸鱼尾巴。左上方是白色对话气泡(黑色描边,尖角指向她),气泡里用黑色粗体写“你这吃白饭的蓝色大肥鱼。”;左侧从画面外伸进来一只黑袖子的手,食指指向她;她的左下方用蓝色描边字写“没吃饱喵!”;她脚边的地上放着一只空的白瓷饭碗,碗内壁印着一只蓝色小鲸鱼。请分层绘制:白色背景、头发与鲸鱼耳鳍与尾巴、身体与服装、脸部五官、饭碗、手臂与对话气泡文字,保留原生可编辑笔画,并特别注意角色比例、头发的渐变与发丝走向、蕾丝褶边和脸部表情的细节。这次只在草图画布上画,不要调用任何生图或图片编辑工具;画完后检查一遍与参考图的差异并修正,最后保存并完成。
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
SVG 版在“这次只在草图画布上画”之前多加了一句:
|
|
240
|
+
|
|
241
|
+
```text
|
|
242
|
+
作画方式:每个图层都用 svg 命令整层写成 SVG(路径用贝塞尔曲线,配色手动分层做出渐变感),不要逐点使用原生笔画命令。
|
|
243
|
+
```
|
|
244
|
+
|
|
238
245
|
</details>
|
|
239
246
|
|
|
240
247
|
每个例子只跑一次,不代表稳定水平;Sol Xhigh 耗时明显更长,日常草图用 Astra 或较低推理档即可。
|
package/lib/client.js
CHANGED
|
@@ -3111,6 +3111,9 @@ window.__ModuleLoader__.load({
|
|
|
3111
3111
|
if (report && clamped) report.clampedPoints = (report.clampedPoints ?? 0) + clamped;
|
|
3112
3112
|
return out;
|
|
3113
3113
|
}
|
|
3114
|
+
//#endregion
|
|
3115
|
+
//#region src/sketch-commands.js
|
|
3116
|
+
const MAX_SKETCH_POINTS = 2e5;
|
|
3114
3117
|
const SKETCH_COMMAND_HELP = {
|
|
3115
3118
|
coordinates: "Assign short meaningful stroke id values for later edits. Text uses two opposite box corners and text content; width is font size in pixels, automatic fitting within the box. Arrow uses two endpoints. Normalized x/y in [0,1]; width is canvas pixels. Read documentId and revision before editing.",
|
|
3116
3119
|
shapes: "line: exactly two endpoints; rectangle/circle (ellipse alias accepted): exactly two opposite bounding-box corners (circle draws an ellipse within that box); polygon: three or more vertices, closed automatically; pen: ordered path points. bezier: start point, then groups of control1/control2/end; use 4 points for one cubic curve, max 64 segments. Prefer bezier for smooth designed curves instead of many pen samples. fill:true closes and fills the curve. fill:true fills rectangle/circle/polygon. Layers and strokes paint in list order, later ones on top. All commands needed for drawing are described here; no source-code search is required.",
|
|
@@ -3126,7 +3129,7 @@ window.__ModuleLoader__.load({
|
|
|
3126
3129
|
limits: {
|
|
3127
3130
|
strokes: MAX_SKETCH_STROKES,
|
|
3128
3131
|
pointsPerStroke: MAX_STROKE_POINTS,
|
|
3129
|
-
pointsTotal:
|
|
3132
|
+
pointsTotal: MAX_SKETCH_POINTS,
|
|
3130
3133
|
commandsPerBatch: 256,
|
|
3131
3134
|
svgCharacters: MAX_SVG_CHARACTERS
|
|
3132
3135
|
}
|
|
@@ -3294,7 +3297,9 @@ window.__ModuleLoader__.load({
|
|
|
3294
3297
|
} : item)
|
|
3295
3298
|
};
|
|
3296
3299
|
}
|
|
3297
|
-
|
|
3300
|
+
const strokes = strokeCount(doc), points = doc.layers.reduce((n, l) => n + l.strokes.reduce((m, s) => m + s.points.length, 0), 0);
|
|
3301
|
+
if (strokes > 2e3) throw Error(`Sketch would hold ${strokes} strokes; the limit is ${MAX_SKETCH_STROKES}. Merge shapes or drop small details, then send this batch again`);
|
|
3302
|
+
if (points > 2e5) throw Error(`Sketch would hold ${points} points; the limit is ${MAX_SKETCH_POINTS}. Use fewer or simpler paths, then send this batch again`);
|
|
3298
3303
|
return doc;
|
|
3299
3304
|
}
|
|
3300
3305
|
function createSketchCommandSession(adapter) {
|
|
@@ -8476,7 +8481,7 @@ window.__ModuleLoader__.load({
|
|
|
8476
8481
|
}
|
|
8477
8482
|
//#endregion
|
|
8478
8483
|
//#region src/version.js
|
|
8479
|
-
const PACKAGE_VERSION = "2.4.
|
|
8484
|
+
const PACKAGE_VERSION = "2.4.1";
|
|
8480
8485
|
//#endregion
|
|
8481
8486
|
//#region src/client-recovery.js
|
|
8482
8487
|
async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {
|
package/lib/index.js
CHANGED
|
@@ -1898,7 +1898,7 @@ const sketchCommandArray = {
|
|
|
1898
1898
|
function createSketchAgentTool(bridge, attachments) {
|
|
1899
1899
|
return defineTool({
|
|
1900
1900
|
name: "codex_sketch",
|
|
1901
|
-
description: "Edit the sketch board in this session using native editable strokes and layers. Use for @sketch requests and explicit follow-up edits to that drawing. The toolbar pen button is for manual drawing; do not require the user to open it. Start with inspect for the runId, documentId, revision and command reference. Draw with the svg op whenever possible: one SVG document per stage (paths, shapes, groups, transforms; see the reference from inspect) is far faster and richer than hand-placed strokes, and still becomes native editable strokes.
|
|
1901
|
+
description: "Edit the sketch board in this session using native editable strokes and layers. Use for @sketch requests and explicit follow-up edits to that drawing. The toolbar pen button is for manual drawing; do not require the user to open it. Start with inspect for the runId, documentId, revision and command reference. Draw with the svg op whenever possible: one SVG document per stage (paths, shapes, groups, transforms; see the reference from inspect) is far faster and richer than hand-placed strokes, and still becomes native editable strokes. Draw the shapes, hair, clothing and lettering outlines of every layer with svg; use stroke commands only for small corrections and native text. Apply atomic batches, preview between stages, and call finish to save the finished draft and release the editing lock. save is only a checkpoint. finish returns an image only when the user enables experimental preview feedback. Closing the board does not stop drawing. If the user stops drawing, do not retry. Never generates AI images, sends messages or attaches images automatically. Inspect automatically opens the board in the currently viewed session. Do not ask the user to open it first. If the session is not visible in DSH, ask them to switch to it. On timeout inspect before retrying; reuse the exact requestId only for the same request.",
|
|
1902
1902
|
parameters: {
|
|
1903
1903
|
action: {
|
|
1904
1904
|
type: "string",
|
|
@@ -3068,7 +3068,7 @@ async function readSubscriptionCredentials(getAuth, readCredential, signal) {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
//#endregion
|
|
3070
3070
|
//#region src/version.js
|
|
3071
|
-
const PACKAGE_VERSION = "2.4.
|
|
3071
|
+
const PACKAGE_VERSION = "2.4.1";
|
|
3072
3072
|
const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
|
|
3073
3073
|
//#endregion
|
|
3074
3074
|
//#region src/model-catalog.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-subscription",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Use ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast mode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|