Skip to content

v2.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Sep 10:38
Immutable release. Only release title and notes can be modified.

中文

Beta 更新

  • 修正 pi-ai 兼容声明,精确支持已验收的 0.82.1 与 0.85.1,解决 DSH 0.1.5-rc.1 安装时的兼容警告;测试检查实际加载版本。保留默认关闭的草图画板与 Agent 绘图等 Beta 功能。本版本替代 2.1.0-beta.1,稳定版 latest 保持 2.0.1。

延续 Beta.1 的草图与 Agent 绘图功能

  • 新增原生 codex_sketch 绘图工具,支持查看画布、分层绘制、预览和保存;提出绘画请求后自动打开当前会话的草图画板。
  • 草图画板与 Agent 绘图是独立的 Beta 开关,均默认关闭,可在高级设置中开启。仅在 Agent 绘图及其前置功能开启时,才向模型提供绘图工具。
  • 支持 PNG 导出、分层 PSD 导入导出,以及可编辑 .dsh-sketch.json 草稿的保存与导入。PSD 保留像素图层,原生草稿保留可编辑笔画;PSD 仅支持已适配的 8 位 RGB 像素图层文档,并非完整兼容所有 Photoshop 功能。
  • 生成图片在会话输出中展示一次,工具条目保留状态和图片信息,不再重复展示预览图。
  • 新增进阶展示:Astra 通过原生接口完成 6 层、427 笔草图,再通过订阅生图请求生成成图,请求型号为 gpt-image-2;服务端未报告实际执行的生图型号。README 同时保留原来的基础示例。

安装或更新 Beta

dsh plugin --profile web add dsh-codex-subscription@2.1.0-beta.2

安装后手动重启 DSH。Beta 不会替换 npm 的稳定版标签。

这条精确版本命令同时用于安装和更新。完整的使用和卸载说明见中文 README

卸载
dsh plugin --profile web remove dsh-codex-subscription

English

Beta preview

  • Correct the audited pi-ai compatibility declaration to accept 0.82.1 and 0.85.1, resolving the warning on DSH 0.1.5-rc.1. Tests verify the actual loaded runtime. Includes the opt-in sketch and agent drawing Beta features. Replaces 2.1.0-beta.1; stable latest remains 2.0.1.

Sketch and Agent drawing features carried forward from Beta.1

  • Opt-in Agent drawing through the native codex_sketch tool: inspect the canvas, draw in layers, preview and save. A drawing request automatically opens the current session's sketch board.
  • Sketch canvas and Agent drawing are separate Beta options, both off by default. Enable them in Advanced settings; the drawing tool is supplied to the model only when Agent drawing is enabled and its prerequisites are active.
  • Export PNG, import/export layered PSD, and save/load editable .dsh-sketch.json drafts. PSD preserves pixel layers; native drafts preserve editable strokes. PSD support is limited to supported 8-bit RGB pixel-layer documents, not every Photoshop feature.
  • Generated images appear once in the conversation output; the tool entry keeps status and image details without repeating the preview.
  • An advanced showcase demonstrates Astra drawing a six-layer, 427-stroke sketch through the native interface, followed by a subscription image-generation request using gpt-image-2. The service did not report the actual executing image model. The original basic example remains available in the README.

Install or update the Beta

dsh plugin --profile web add dsh-codex-subscription@2.1.0-beta.2

Restart DSH manually. This Beta does not replace npm's stable tag.

Use this exact-version command for both installation and update. See the English README for complete use and uninstall instructions.

Uninstall
dsh plugin --profile web remove dsh-codex-subscription