Skip to content

Releases: yupaoa/dsh-image-lite

Release list

v0.1.1

Choose a tag to compare

@yupaoa yupaoa released this 22 Oct 12:04

维护性修复版本:把 peerDependencies 的预发布范围改成能匹配 DSH 0.2.x 预发布构建的写法。功能与 0.1.0 相同。

修了什么

>=0.1.2-alpha.1 这类范围在 node-semver 里不会匹配 0.2.1-rc.2:只有当范围中某个比较符与目标版本的 major.minor.patch 元组完全一致、且自身带预发布标签时,预发布版本才会被放行。结果是宿主的 0.2.1-rc.2 被静默排除,安装时出现 Issues with peer dependencies found(严重时 ERESOLVE)。

现在六个官方包统一为 >=0.2.1-rc.1,与 engines.dsh: ">=0.2.1-rc.2" 保持一致:

包 旧 新
@deepseek-ai/dsh-attachment >=0.1.1-rc.2 >=0.2.1-rc.1
@deepseek-ai/dsh-credentials >=0.1.2-alpha.1 >=0.2.1-rc.1
@deepseek-ai/dsh-settings >=0.1.2-alpha.5 >=0.2.1-rc.1
@deepseek-ai/dsh-system-prompt >=0.1.2-alpha.1 >=0.2.1-rc.1
@deepseek-ai/dsh-tools >=0.1.2-alpha.1 >=0.2.1-rc.1
@deepseek-ai/cordis / schemastery ^4.0.0 / ^3.18.1(不变) 已匹配 4.0.4 / 3.18.5

实测:DSH 0.2.1-rc.2 宿主上 7/7 peer 范围全部满足,node --test 56/56 通过。

安装

dsh plugin --profile desktop add dsh-image-lite

要求 DSH >= 0.2.1-rc.2。

本版说明

  • 由 .github/workflows/release.yml 经 GitHub OIDC(npm Trusted publishing)发布,带 provenance 溯源证明,仓库内无长期 token。
  • 版本已在 registry 上时工作流会跳过发布,不会把重跑变成红叉。

English

Maintenance release: the peerDependencies ranges now match DSH 0.2.x prerelease builds. No behaviour change from 0.1.0.

Ranges such as >=0.1.2-alpha.1 do not satisfy 0.2.1-rc.2 under node-semver — a prerelease is only admitted when some comparator shares its exact major.minor.patch tuple and carries a prerelease tag — so the host was silently excluded and installs printed Issues with peer dependencies found. All six @deepseek-ai/* peers now read >=0.2.1-rc.1, in line with engines.dsh: ">=0.2.1-rc.2"; verified 7/7 against DSH 0.2.1-rc.2, 56/56 tests passing.

Install with dsh plugin --profile desktop add dsh-image-lite. Published from CI via GitHub OIDC trusted publishing, so this version carries a provenance attestation and the repo holds no long-lived token.

v0.1.0

Choose a tag to compare

@yupaoa yupaoa released this 22 Oct 11:31

DSH(DeepSeek Harness)生图插件首个正式版本:既能让你在对话里直接让模型生图,也能在侧边栏「生图工作台」里手动出图、图生图。

安装

要求 DSH >= 0.2.1-rc.2(Node.js ^22.19.0 || >= 24.0.0,随宿主提供)。

从 npm 安装(推荐):

dsh plugin --profile desktop add dsh-image-lite

从本地源码安装(改代码即生效):

dsh plugin --profile desktop add link:D:\path\to\dsh-image-lite

包内 cordis.patch.yml 会自动挂载 image-gen-lite 入口,不需要手改 profile 配置。装好后在 插件页 → dsh-image-lite 里添加供应商/模型、粘贴密钥,选默认模型与规格即可使用。

本版包含

  • 对话模式:会话里说“画一张…”,模型自动调用 image_generate_lite 工具生图;工具卡片带预览、参考图与“继续改这张”。
  • 工作台模式:会话 header 的「生图」角标 → 右栏「生图工作」标签页,含模型库、规格、参考图(最近结果 / 上传 / 粘贴)、结果列表与“用这张继续改”。
  • 多种 API 格式:openai-images(/images/generations、/images/edits)、xai-images、gemini-image、openai-chat-image。
  • 图生图:最多 5 张参考图;密钥存进 DSH 凭据服务,配置里只保留环境变量名与掩码。
  • 全窗口看图:结果图点击后按整窗浮层查看(portal 到 document.body,Esc / 点击遮罩关闭,打开时锁定背景滚动)。
  • 失败与重试路径都有单元测试覆盖:56 项全通过;CI 在 Node 22 / 24 双版本跑测试与 npm pack --dry-run。
  • 修复跨平台绝对路径判定(Windows 盘符 / UNC 路径在 Linux 上被误判为相对路径)。

校验

  • npm:dsh-image-lite@0.1.0,shasum 1e7d0b2193155b8159592e0deff1e7b5d74e3d30,9 个文件 / 47.3 kB 打包、166.1 kB 解包。
  • dsh >= 0.2.1-rc.2 上实测:tarball 可安装、image-gen-lite 入口自动挂载、/image-gen-lite/* RPC 通道正常应答。
  • 本版由本地 npm publish 发布,不含 provenance 溯源证明;后续版本改由 .github/workflows/release.yml(GitHub OIDC)发布后会自动附带。

English

First stable release of the DSH image-generation plugin: generate images straight from a conversation, or work manually in the right-sidebar studio (including image-to-image).

Install — requires DSH >= 0.2.1-rc.2:

dsh plugin --profile desktop add dsh-image-lite

The bundled cordis.patch.yml mounts the image-gen-lite entry automatically — no profile editing. Then open Plugins → dsh-image-lite, add a provider/model, paste the key, pick the default model and aspect stop.

Highlights: chat-mode image_generate_lite tool with previews and "keep editing"; sidebar studio with model library, references (recent results / upload / paste) and result gallery; four API formats (openai-images, xai-images, gemini-image, openai-chat-image); up to 5 reference images for image-to-image; keys stored in DSH's credential service; full-window image lightbox; 56 tests green on Node 22 / 24 in CI; cross-platform absolute-path fix.

Verification: npm dsh-image-lite@0.1.0, shasum 1e7d0b2193155b8159592e0deff1e7b5d74e3d30, 9 files, 47.3 kB packed. Installed, auto-mounted and answered its RPC channel on DSH 0.2.1-rc.2. Published locally, so no provenance attestation for this version; later releases ship it via GitHub OIDC.