@dickpy/dsh-imagegen 1.0.3 → 1.0.5

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 CHANGED
@@ -14,19 +14,19 @@ DeepSeek Harness (DSH) Web GUI 的 AI 生图插件。它通过宿主进程安全
14
14
 
15
15
  三栏工作台将参数、生成结果和历史记录放在同一视图中;生成的图片可预览、下载,并从历史记录恢复参数。
16
16
 
17
- ![AI 生图工作台](docs/images/image-generation-studio.png)
17
+ ![AI 生图工作台(v1.0.5 结果画布)](docs/images/image-generation-studio.png)
18
18
 
19
19
  ### 独立配置卡片
20
20
 
21
21
  在 DSH 的“设置 -> 插件 -> 可配置”中填写 API 地址和密钥。密钥只保存在宿主侧设置文件,浏览器端不会获取明文。
22
22
 
23
- ![插件配置卡片](docs/images/plugin-settings.png)
23
+ ![插件配置卡片(显示当前版本)](docs/images/plugin-settings.png)
24
24
 
25
25
  ## 功能
26
26
 
27
27
  - **文生图与图生图**:输入提示词生成图片,或上传 PNG、JPG、WEBP 参考图进行编辑。
28
28
  - **可调生成参数**:尺寸、清晰度、生成数量和细节等级均可在界面中选择;未指定的参数保持自动。
29
- - **结果操作**:支持加载、失败提示、图片网格、全屏预览、前后切换与下载。
29
+ - **结果操作**:结果区固定为四分格:单图铺满,双图占上排,三图占三格,四图为 2×2;支持下载、全屏预览、可滚动缩放、前后切换、复制优化提示词,以及一键将当前图片添加到图生图。
30
30
  - **持久化历史**:保存提示词、参数和图片;支持查看、恢复、单条删除和清空,最多保留 50 条。
31
31
  - **跨设备查看**:历史保存在 DSH 宿主侧,连接同一 DSH 的浏览器或设备共享同一份记录。
32
32
  - **原生 DSH 体验**:侧栏入口、主题适配和设置卡片均遵循 DSH Web GUI 的 UI 规范。
@@ -42,13 +42,13 @@ DeepSeek Harness (DSH) Web GUI 的 AI 生图插件。它通过宿主进程安全
42
42
  把下面提示词直接粘贴给 **DSH**(或 Codex / 其他 coding agent)执行即可:
43
43
 
44
44
  ```text
45
- 用 dsh plugin --profile web add @dickpy/dsh-imagegen@1.0.3 安装 AI 生图插件(profile 名按实际修改),完成后重启 dsh web。
45
+ 用 dsh plugin --profile web add @dickpy/dsh-imagegen@1.0.5 安装 AI 生图插件(profile 名按实际修改),完成后重启 dsh web。
46
46
  ```
47
47
 
48
48
  ### 方式二:npm 安装(推荐)
49
49
 
50
50
  ```bash
51
- dsh plugin --profile web add @dickpy/dsh-imagegen@1.0.3
51
+ dsh plugin --profile web add @dickpy/dsh-imagegen@1.0.5
52
52
  ```
53
53
 
54
54
  dsh 会自动把插件注册进 profile 的 bundle 清单(无需手动改 cordis.patch.yml),重启 dsh web 即可。
@@ -56,10 +56,10 @@ dsh 会自动把插件注册进 profile 的 bundle 清单(无需手动改 cord
56
56
  ### 方式三:聚合包(tarball)安装
57
57
 
58
58
  从 [GitHub Releases](https://github.com/dickpy/dsh-imagegen/releases) 下载发布产物
59
- (如 `dickpy-dsh-imagegen-1.0.3.tgz`),然后:
59
+ (如 `dickpy-dsh-imagegen-1.0.5.tgz`),然后:
60
60
 
61
61
  ```bash
62
- dsh plugin --profile web add <下载路径>/dickpy-dsh-imagegen-1.0.3.tgz
62
+ dsh plugin --profile web add <下载路径>/dickpy-dsh-imagegen-1.0.5.tgz
63
63
  ```
64
64
 
65
65
  重启 dsh web。
Binary file