dsh-image-viewer 0.1.0-beta.8 → 0.1.0

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/AGENTS.md CHANGED
@@ -13,7 +13,7 @@ Use this guide only when the user asks to install, update, verify, or remove `ds
13
13
  ## Install or update
14
14
 
15
15
  ```sh
16
- dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.5
16
+ dsh plugin --profile web add ./dsh-image-viewer-0.1.0.tgz
17
17
  ```
18
18
 
19
19
  DSH-Portable exposes the same standard `dsh plugin` command. Do not use a private executable path in public instructions.
package/README.en.md CHANGED
@@ -1,5 +1,5 @@
1
1
  > [!NOTE]
2
- > This project is in maintenance mode. It will receive fixes for official DSH compatibility, security, and defects in the existing view, download, and annotation flows, but it will not grow into a separate image workflow or ship as a DSH-Portable default. Image-producing plugins may still use it as an optional shared viewer.
2
+ > This is an optional, independently removable DSH plugin. It enhances viewing, downloading, and region notes for images DSH already displays without taking over conversations, attachments, or model workflows. Image-producing plugins may also use it as a shared viewer when available.
3
3
 
4
4
  <div align="center">
5
5
 
@@ -10,7 +10,7 @@ A compact, provider-neutral image viewer for DeepSeek Harness. It upgrades image
10
10
  [![CI](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml/badge.svg)](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
11
11
  [![npm](https://img.shields.io/npm/v/dsh-image-viewer?logo=npm&label=npm)](https://www.npmjs.com/package/dsh-image-viewer)
12
12
  [![total npm downloads](https://img.shields.io/npm/dt/dsh-image-viewer?logo=npm&label=total%20downloads)](https://www.npmjs.com/package/dsh-image-viewer)
13
- [![status](https://img.shields.io/badge/status-Beta-7c3aed.svg)](#install)
13
+ [![status](https://img.shields.io/badge/status-Stable%20release-15803d.svg)](#install)
14
14
  [![MIT](https://img.shields.io/badge/license-MIT-111111.svg)](LICENSE)
15
15
  [![Stars](https://img.shields.io/github/stars/WSL043/dsh-image-viewer?style=flat&logo=github&label=stars)](https://github.com/WSL043/dsh-image-viewer/stargazers)
16
16
 
@@ -18,7 +18,9 @@ A compact, provider-neutral image viewer for DeepSeek Harness. It upgrades image
18
18
 
19
19
  </div>
20
20
 
21
- > Beta: the viewer targets the latest public DSH release. Unsupported image markup is left untouched instead of being guessed.
21
+ > Release 0.1.0 is published to npm. Unsupported image markup is left untouched instead of being guessed.
22
+
23
+ Release checks exercise real attachments on stable and current Alpha DSH: gallery navigation, zoom, pan, download, region notes, and focus restoration. A six-hour upstream check retains browser and startup evidence on failure; it does not automatically claim compatibility or publish a release.
22
24
 
23
25
  <p align="center">
24
26
  <img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-en.png" width="900" alt="DSH Image Viewer displaying an illustration with fit, original-size, download, and an inline numbered region note">
@@ -28,6 +30,8 @@ A compact, provider-neutral image viewer for DeepSeek Harness. It upgrades image
28
30
 
29
31
  - Wheel zoom centered on the pointer, drag-to-pan, touch pinch, and double-click 100% view.
30
32
  - Fit and original-size controls, original-file download, keyboard navigation, and multi-image galleries.
33
+ - Visible filename, dimensions and pixel-scale percentage; very wide images can reach 100%, and window resizing keeps the image within reach.
34
+ - Loading and retryable error states, gesture reset on image changes, and independent notes for unnamed images.
31
35
  - One-shot region marking with each note edited beside its numbered image marker. Enter saves and collapses the note;
32
36
  Shift+Enter adds a new line.
33
37
  - Light and dark themes through DSH design tokens, responsive layout, focus containment, and reduced-motion support.
@@ -37,10 +41,10 @@ DSH keeps working when the plugin is absent or cannot recognize a newer image su
37
41
 
38
42
  ## Install
39
43
 
40
- Install the Beta:
44
+ Install the stable release from npm:
41
45
 
42
46
  ```sh
43
- dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.7
47
+ dsh plugin --profile web add dsh-image-viewer@0.1.0
44
48
  ```
45
49
 
46
50
  Restart DSH manually after saving active work. The plugin never needs access to provider credentials or image-generation accounts.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  > [!NOTE]
2
- > 本项目处于维护模式:继续处理官方 DSH 兼容、安全问题以及现有查看、下载和标注流程中的缺陷,但不再扩展独立图片工作流,也不作为 DSH-Portable 默认插件。它仍可作为图片生成插件按需使用的可选共享查看器。
2
+ > 这是一个可选、可独立卸载的 DSH 插件。它增强 DSH 已显示图片的查看、下载与区域标注,不接管会话、附件或模型流程;图片生成插件也可以按需把它作为共享查看器使用。
3
3
 
4
4
  <div align="center">
5
5
 
@@ -10,7 +10,7 @@
10
10
  [![CI](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml/badge.svg)](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
11
11
  [![npm](https://img.shields.io/npm/v/dsh-image-viewer?logo=npm&label=npm)](https://www.npmjs.com/package/dsh-image-viewer)
12
12
  [![npm 总下载量](https://img.shields.io/npm/dt/dsh-image-viewer?logo=npm&label=%E6%80%BB%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/dsh-image-viewer)
13
- [![状态](https://img.shields.io/badge/%E7%8A%B6%E6%80%81-Beta-7c3aed.svg)](#安装)
13
+ [![状态](https://img.shields.io/badge/%E7%8A%B6%E6%80%81-Stable%20release-15803d.svg)](#安装)
14
14
  [![MIT](https://img.shields.io/badge/license-MIT-111111.svg)](LICENSE)
15
15
  [![Stars](https://img.shields.io/github/stars/WSL043/dsh-image-viewer?style=flat&logo=github&label=stars)](https://github.com/WSL043/dsh-image-viewer/stargazers)
16
16
 
@@ -18,7 +18,9 @@
18
18
 
19
19
  </div>
20
20
 
21
- > Beta:当前适配最新公开版 DSH。遇到无法识别的新图片结构时会保留 DSH 原生行为,不会猜测接管。
21
+ > 正式版 0.1.0 已发布到 npm。遇到无法识别的新图片结构时会保留 DSH 原生行为,不会猜测接管。
22
+
23
+ 稳定版与当前 Alpha 都在隔离环境验收真实附件的多图切换、缩放、拖动、下载、区域备注及关闭后焦点恢复。发布前必须通过;定时工作流每六小时检查官方新版本,失败保留浏览器和启动记录,不自动宣称兼容或发布。
22
24
 
23
25
  <p align="center">
24
26
  <img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-zh.png" width="900" alt="DSH 图片查看器展示插画、适应窗口、原始大小、下载和图片编号附近的区域备注">
@@ -28,6 +30,8 @@
28
30
 
29
31
  - 以鼠标位置为中心的滚轮缩放、拖动查看、触控双指缩放和双击原始大小。
30
32
  - 适应窗口、原始大小、原图下载、键盘切换和多图浏览。
33
+ - 显示图片名称、尺寸与真实像素缩放比例;超宽大图也能切换到 100%,调整窗口后保持图片可见。
34
+ - 图片加载中和加载失败都有明确提示,失败可重试;切换图片会重置拖拽状态,区域备注不会串到另一张未命名图片。
31
35
  - 一次点击标记一个区域,备注直接显示在图片编号附近并自动获得输入焦点;Enter 保存并收起,Shift+Enter 换行。
32
36
  - 使用 DSH 设计令牌适配亮色、暗色、响应式布局、焦点约束和减少动态效果设置。
33
37
  - 提供可选的 `nativeImageViewer` 客户端服务,图片生成插件可以按需增加自己的后续操作。
@@ -36,10 +40,10 @@
36
40
 
37
41
  ## 安装
38
42
 
39
- 安装 Beta:
43
+ 从 npm 安装正式版:
40
44
 
41
45
  ```sh
42
- dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.7
46
+ dsh plugin --profile web add dsh-image-viewer@0.1.0
43
47
  ```
44
48
 
45
49
  保存正在进行的工作后手动重启 DSH。本插件不需要供应商凭据或图片生成账户权限。
@@ -1,5 +1,13 @@
1
1
  {
2
- "latestTested": "0.1.1-rc.2",
3
- "supported": ["0.1.1-rc.2"],
4
- "previews": ["0.1.2-alpha.2", "0.1.2-alpha.3"]
2
+ "latestTested": "0.1.2-rc.1",
3
+ "supported": [
4
+ "0.1.1-rc.2",
5
+ "0.1.2-rc.1"
6
+ ],
7
+ "previews": [
8
+ "0.1.2-alpha.2",
9
+ "0.1.2-alpha.3",
10
+ "0.1.3-alpha.2",
11
+ "0.1.5-alpha.1"
12
+ ]
5
13
  }