dsh-codex-subscription 2.1.0-beta.2 → 2.1.0-beta.3
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 +16 -11
- package/README.md +16 -11
- package/lib/client.js +968 -160
- package/lib/index.js +159 -24
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -180,10 +180,12 @@ The screenshot above illustrates image viewing and on-image notes; available but
|
|
|
180
180
|
|
|
181
181
|

|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
Use the composer pen button for manual drawing. In Beta.3, selecting `@sketch` only inserts the Agent entry into the composer; the Agent opens the board after you send your drawing request. You can also choose Open in sketch from an enhanced image preview. Attachment intake and removal use the native DSH component.
|
|
184
184
|
|
|
185
185
|
Sketch supports local drafts, image layers, aspect ratios, brushes, lines and shapes, two erasers, undo/redo, pan/zoom and configurable shortcuts. Smoothing processes a completed stroke only after release. Up to 20 drafts stay in the current browser; attaching a sketch never sends it automatically. Its image panel manages only the current sketch, not the conversation library.
|
|
186
186
|
|
|
187
|
+
Beta.3 adds editable shapes and text, native curves, and a side control for size/opacity. During Agent drawing, you can view, zoom, close the panel or stop drawing; manual edits unlock when it finishes. Automatic completion previews are off by default and can be enabled in Advanced settings. The board requires the current session page; drawing does not continue after closing the page or switching sessions.
|
|
188
|
+
|
|
187
189
|
**Sketch-to-image example**: draw, click Attach, describe the desired result in the composer, then send.
|
|
188
190
|
|
|
189
191
|
| Original sketch | Actual plugin output |
|
|
@@ -192,6 +194,19 @@ Sketch supports local drafts, image layers, aspect ratios, brushes, lines and sh
|
|
|
192
194
|
|
|
193
195
|
The request preserves the mountain and cabin composition while creating a warm watercolor travel illustration with green peaks, an orange roof, a meadow stream and morning light, without the blue outlines. GPT-5.6-Luna made one image-tool call requesting low quality. Luna is the conversation model; the subscription backend determines the actual image model.
|
|
194
196
|
|
|
197
|
+
<details>
|
|
198
|
+
<summary>Advanced example · 2.1.0-beta.2</summary>
|
|
199
|
+
|
|
200
|
+
**Astra draws the sketch; GPT Image 2 generates the illustration.** Astra draws 427 strokes across six layers through the native `codex_sketch` interface; Luna then calls the subscription image tool. The request uses `gpt-image-2` at low quality; the server does not report the executing model. This Beta adds PNG export, layered PSD import/export and editable draft files. PSD retains pixel layers; native drafts retain strokes. Sketch canvas and Agent drawing are separate Beta options, both off by default in Advanced settings. Drawing tools are exposed only when Agent drawing is enabled; the agent then automatically opens the current session’s board.
|
|
201
|
+
|
|
202
|
+
| Native sketch | Generated result |
|
|
203
|
+
| --- | --- |
|
|
204
|
+
|  |  |
|
|
205
|
+
|
|
206
|
+
[Beta v2.1.0-beta.2](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.2)
|
|
207
|
+
|
|
208
|
+
</details>
|
|
209
|
+
|
|
195
210
|
Flare / Sunburst request overrides remain experimental: successful generation does not confirm which image engine or quality the subscription backend used.
|
|
196
211
|
|
|
197
212
|
### Composer speed
|
|
@@ -257,13 +272,3 @@ Read [SECURITY.md](SECURITY.md) before reporting sensitive issues.
|
|
|
257
272
|
If this project is useful, the [Star button](https://github.com/WSL043/dsh-codex-subscription/stargazers) helps more DSH users find it.
|
|
258
273
|
|
|
259
274
|
[简体中文](README.md) · [MIT](LICENSE)
|
|
260
|
-
|
|
261
|
-
### Advanced example · 2.1.0-beta.2
|
|
262
|
-
|
|
263
|
-
**Astra draws the sketch; GPT Image 2 generates the illustration.** Astra draws 427 strokes across six layers through the native `codex_sketch` interface; Luna then calls the subscription image tool. The request uses `gpt-image-2` at low quality; the server does not report the executing model. This Beta adds PNG export, layered PSD import/export and editable draft files. PSD retains pixel layers; native drafts retain strokes. Sketch canvas and Agent drawing are separate Beta options, both off by default in Advanced settings. Drawing tools are exposed only when Agent drawing is enabled; the agent then automatically opens the current session’s board.
|
|
264
|
-
|
|
265
|
-
| Native sketch | Generated result |
|
|
266
|
-
| --- | --- |
|
|
267
|
-
|  |  |
|
|
268
|
-
|
|
269
|
-
[Beta v2.1.0-beta.2](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.2)
|
package/README.md
CHANGED
|
@@ -179,10 +179,12 @@ ChatGPT 返回可用重置卡时,设置页会把每张卡分别显示为紧凑
|
|
|
179
179
|
|
|
180
180
|

|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
点击输入框的草图按钮手动画图。Beta.3 中,`@sketch` 是 Agent 绘图入口:选择时只填入输入框,发送绘图请求后才由 Agent 打开画板。图片预览中可选择“进入草图”;上传、粘贴和移除附件仍由 DSH 原生组件处理。
|
|
183
183
|
|
|
184
184
|
草图支持多份本地草稿、图片图层、画布比例、三种笔刷、直线和形状、两种橡皮、撤销重做、拖动缩放与可配置快捷键。平滑仅在抬笔后处理整笔路径,不拖慢绘画光标。草稿最多 20 份,仅保存在当前浏览器;附加草图不会自动发送。左侧图片面板只管理当前草图的图片,不是会话图片库。
|
|
185
185
|
|
|
186
|
+
Beta.3 增加可选中修改的形状与文字、原生曲线,以及侧边粗细/浓度控件。Agent 绘制时可查看、缩放和关闭面板,编辑暂时锁定;顶部可停止绘制,完成后恢复编辑。自动完成预览默认关闭,可在高级设置开启。画板依赖当前会话页面,关闭页面或切换会话不支持继续后台绘制。
|
|
187
|
+
|
|
186
188
|
**草图生成图片实测**:画好后点击“附加”,在输入框说明想要的效果,再发送。
|
|
187
189
|
|
|
188
190
|
| 画板原草图 | 插件实际生成结果 |
|
|
@@ -191,6 +193,19 @@ ChatGPT 返回可用重置卡时,设置页会把每张卡分别显示为紧凑
|
|
|
191
193
|
|
|
192
194
|
示例要求:保留山峰与小屋的构图,生成温暖的水彩旅行插画,青绿山峰、橙色屋顶、草地小溪与柔和晨光,不保留蓝色线条。此例通过 GPT-5.6-Luna 发起一次图片工具调用,请求低质量;Luna 是对话模型,实际出图型号由订阅后端决定。
|
|
193
195
|
|
|
196
|
+
<details>
|
|
197
|
+
<summary>进阶展示 · 2.1.0-beta.2</summary>
|
|
198
|
+
|
|
199
|
+
**Astra 绘制草图,GPT Image 2 生成成图。** Astra 通过原生 `codex_sketch` 接口完成 6 层、427 笔绘制,再由 Luna 调用订阅生图工具精修。生图请求使用 `gpt-image-2`、低质量档;服务端未报告实际执行型号。Beta 新增 PNG 导出、分层 PSD 导入导出和可编辑草稿文件;PSD 保留像素图层,原生草稿保留笔画。草图画板与 Agent 绘图均默认关闭,可在高级设置中分别开启。仅开启 Agent 绘图后才向模型提供绘图工具。
|
|
200
|
+
|
|
201
|
+
| 原生草图 | 实际生成结果 |
|
|
202
|
+
| --- | --- |
|
|
203
|
+
|  |  |
|
|
204
|
+
|
|
205
|
+
[Beta v2.1.0-beta.2](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.2)
|
|
206
|
+
|
|
207
|
+
</details>
|
|
208
|
+
|
|
194
209
|
图片请求中的 Flare / Sunburst 型号选项仍属实验性功能。成功生成不代表订阅后端确认采用指定型号或质量;不会把请求参数当成实际返回型号。
|
|
195
210
|
|
|
196
211
|
### 输入框速度
|
|
@@ -258,13 +273,3 @@ DSH 插件交流可前往 [DeepSeek Harness Discussions](https://github.com/deep
|
|
|
258
273
|
如果这个项目对你有帮助,[点一下 Star](https://github.com/WSL043/dsh-codex-subscription/stargazers) 可以让更多 DSH 用户发现它。
|
|
259
274
|
|
|
260
275
|
[MIT](LICENSE)
|
|
261
|
-
|
|
262
|
-
### 进阶展示 · 2.1.0-beta.2
|
|
263
|
-
|
|
264
|
-
**Astra 绘制草图,GPT Image 2 生成成图。** Astra 通过原生 `codex_sketch` 接口完成 6 层、427 笔绘制,再由 Luna 调用订阅生图工具精修。生图请求使用 `gpt-image-2`、低质量档;服务端未报告实际执行型号。Beta 新增 PNG 导出、分层 PSD 导入导出和可编辑草稿文件;PSD 保留像素图层,原生草稿保留笔画。草图画板与 Agent 绘图均默认关闭,可在高级设置中分别开启。仅开启 Agent 绘图后才向模型提供绘图工具;提出绘画请求后自动打开当前会话画板。
|
|
265
|
-
|
|
266
|
-
| 原生草图 | 实际生成结果 |
|
|
267
|
-
| --- | --- |
|
|
268
|
-
|  |  |
|
|
269
|
-
|
|
270
|
-
[Beta v2.1.0-beta.2](https://github.com/WSL043/dsh-codex-subscription/releases/tag/v2.1.0-beta.2)
|