dsh-image-lite 0.2.1 → 0.2.2
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.md +7 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,8 +12,8 @@ DSH 生图插件支持**双模式生图**:
|
|
|
12
12
|
两种模式共用同一份模型库与快速配置(插件入口 `image-gen-lite`,volatile 热生效),
|
|
13
13
|
自包含、无外部依赖,密钥经 DSH 核心凭据服务解析。
|
|
14
14
|
|
|
15
|
-
> **环境要求**:DSH `>= 0.2.
|
|
16
|
-
> 低于该版本的 DSH 不保证可用:本插件依赖的 `configForms`、右栏标签注册等接口在 0.2.1
|
|
15
|
+
> **环境要求**:DSH `>= 0.2.2-rc.5`,Node.js `^22.19.0 || >= 24.0.0`(随宿主)。
|
|
16
|
+
> 低于该版本的 DSH 不保证可用:本插件依赖的 `configForms`、右栏标签注册等接口在 0.2.1 系列才稳定;当前已验证版本为 DSH `0.2.2-rc.5`(含 0.2.2-rc.3 → rc.5 的升级兼容性核对)。
|
|
17
17
|
|
|
18
18
|
## 两种生图模式
|
|
19
19
|
|
|
@@ -91,7 +91,7 @@ DSH 生图插件支持**双模式生图**:
|
|
|
91
91
|
|
|
92
92
|
## 安装
|
|
93
93
|
|
|
94
|
-
需要 DSH `>= 0.2.
|
|
94
|
+
需要 DSH `>= 0.2.2-rc.5`(Node.js `^22.19.0 || >= 24.0.0`,随宿主提供)。
|
|
95
95
|
|
|
96
96
|
### 方式一:从 npm 安装(推荐)
|
|
97
97
|
|
|
@@ -148,9 +148,10 @@ Both modes share one model library and one set of defaults (plugin entry
|
|
|
148
148
|
`image-gen-lite`, volatile / hot-reloaded). The plugin is self-contained with no
|
|
149
149
|
runtime dependencies, and API keys are resolved through DSH's credential service.
|
|
150
150
|
|
|
151
|
-
> **Requirements**: DSH `>= 0.2.
|
|
151
|
+
> **Requirements**: DSH `>= 0.2.2-rc.5`, Node.js `^22.19.0 || >= 24.0.0` (provided by the host).
|
|
152
152
|
> Older DSH builds are not supported: the `configForms` and right-sidebar tab APIs this plugin
|
|
153
|
-
> relies on only settled in the 0.2.1 series.
|
|
153
|
+
> relies on only settled in the 0.2.1 series; the verified version is DSH `0.2.2-rc.5`
|
|
154
|
+
> (including a compatibility check of the 0.2.2-rc.3 → rc.5 upgrade).
|
|
154
155
|
|
|
155
156
|
### The two modes
|
|
156
157
|
|
|
@@ -241,7 +242,7 @@ and talks only to the domain you configured.**
|
|
|
241
242
|
|
|
242
243
|
### Install
|
|
243
244
|
|
|
244
|
-
Requires DSH `>= 0.2.
|
|
245
|
+
Requires DSH `>= 0.2.2-rc.5` (Node.js `^22.19.0 || >= 24.0.0`, supplied by the host).
|
|
245
246
|
|
|
246
247
|
**Option 1 — from npm (recommended):**
|
|
247
248
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-image-lite",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "DSH 生图插件支持双模式生图:直接对话大模型,通过 image_generate_lite 工具生图;或在侧边栏「生图工作台」处理生图任务。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": "^22.19.0 || >=24.0.0",
|
|
67
|
-
"dsh": ">=0.2.
|
|
67
|
+
"dsh": ">=0.2.2-rc.5"
|
|
68
68
|
},
|
|
69
69
|
"license": "MIT",
|
|
70
70
|
"peerDependencies": {
|