DSH Toolbox

@dickpy/dsh-imagegen

在网页客户端里做文生图与图生图,走你配好的图片服务商。

@dickpy/dsh-imagegen 当前版本 1.17.1,最后发布 2026-11-13;安装命令与区间取自它自己的清单。

安装

dsh plugin add @dickpy/dsh-imagegen 只往 profile 清单里写一行依赖,随后 pnpm 把它解到 $DSH_HOME/profiles/<名字>/node_modules。

dsh plugin --profile web add @dickpy/dsh-imagegen

兼容区间

@dickpy/dsh-imagegen 没有 engines.dsh 字段,启动时不会拿它和你的命令行版本做检查,装之前先看 npm 页。

两个插件打架时

它把图片路径放在输入框附近,旁边是 dsh-meme——后者从图库发而不是生成。症状是两个按钮,不是报错。

作者与仓库

作者 dickpy,仓库 https://github.com/dickpy/dsh-imagegen,包页 https://www.npmjs.com/package/@dickpy/dsh-imagegen。

装完会看到什么

它没有声明 dsh peer,在对话回复区渲染回答块的渲染器;装完 dsh plugin add @dickpy/dsh-imagegen,dsh --profile web --dump-config 能列出挂载它的 @dickpy/dsh-imagegen 那一行。

它读写的文件

@dickpy/dsh-imagegen 的清单里没有存储相关的 peer,所以能指认的文件只有 $DSH_HOME/profiles/<名字>/package.json 里那一行依赖;包说明里没写别的。

怎么卸掉

卸掉 @dickpy/dsh-imagegen 用对称的那条命令 dsh plugin --profile web remove @dickpy/dsh-imagegen。它的清单里没有存储相关 peer,不会往 $DSH_HOME 写东西,卸完没有残留。

常见问题

它和 dsh-meme 会打架吗?

这一对里该留 @dickpy/dsh-imagegen:生成覆盖面比发表情包广;只有发表情包是常态时才留图库。

dsh 升级之后会怎样?

@dickpy/dsh-imagegen 没有声明版本区间:dsh --version 只能告诉你自己在跑哪个版本,没有任何检查会告诉你 @dickpy/dsh-imagegen 配不配它。