dsh-image-viewer 0.1.0-beta.3 → 0.1.0-beta.4
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 +40 -40
- package/LICENSE +21 -21
- package/README.md +69 -74
- package/README.zh-CN.md +68 -74
- package/SECURITY.md +3 -3
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/compatibility.json +4 -4
- package/cordis.patch.yml +3 -3
- package/lib/client.js +248 -205
- package/lib/client.js.map +1 -1
- package/package.json +3 -1
package/AGENTS.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Agent installation guide
|
|
2
|
-
|
|
3
|
-
Use this guide only when the user asks to install, update, verify, or remove `dsh-image-viewer` in a selected DeepSeek Harness Web profile.
|
|
4
|
-
|
|
5
|
-
## Safety
|
|
6
|
-
|
|
7
|
-
- Confirm the target DSH installation and profile.
|
|
8
|
-
- Install the exact requested version; do not install a moving branch.
|
|
9
|
-
- Preserve conversations, attachments, unrelated plugins, settings, and credentials.
|
|
10
|
-
- Do not start, stop, or restart DSH without permission.
|
|
11
|
-
- Never copy, upload, or expose the user's images as part of installation verification.
|
|
12
|
-
|
|
13
|
-
## Install or update
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
DSH-Portable exposes the same standard `dsh plugin` command. Do not use a private executable path in public instructions.
|
|
20
|
-
|
|
21
|
-
## Verify
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
dsh plugin --profile web list dsh-image-viewer --depth 0
|
|
25
|
-
dsh --profile web --dump-config
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Confirm the package and `wsl043-native-image-viewer` bundle each appear exactly once. With permission to restart DSH, use a non-sensitive local test image to verify message and composer entry points, pointer-centered wheel zoom, drag pan, download, Escape, focus restoration, and the collapsed region-note sidebar.
|
|
29
|
-
|
|
30
|
-
## Uninstall
|
|
31
|
-
|
|
32
|
-
```sh
|
|
33
|
-
dsh plugin --profile web remove dsh-image-viewer
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Verify the package and bundle row are absent. Uninstall must preserve images, sessions, credentials, settings, and unrelated plugins.
|
|
37
|
-
|
|
38
|
-
## Failure handling
|
|
39
|
-
|
|
40
|
-
Separate package installation, DSH composition, unsupported image markup, browser capability, and file-download failures. Unsupported image markup must retain DSH's built-in behavior. Do not patch installed DSH files, disable browser security, or upload a user's image to reproduce a viewer issue.
|
|
1
|
+
# Agent installation guide
|
|
2
|
+
|
|
3
|
+
Use this guide only when the user asks to install, update, verify, or remove `dsh-image-viewer` in a selected DeepSeek Harness Web profile.
|
|
4
|
+
|
|
5
|
+
## Safety
|
|
6
|
+
|
|
7
|
+
- Confirm the target DSH installation and profile.
|
|
8
|
+
- Install the exact requested version; do not install a moving branch.
|
|
9
|
+
- Preserve conversations, attachments, unrelated plugins, settings, and credentials.
|
|
10
|
+
- Do not start, stop, or restart DSH without permission.
|
|
11
|
+
- Never copy, upload, or expose the user's images as part of installation verification.
|
|
12
|
+
|
|
13
|
+
## Install or update
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.4
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
DSH-Portable exposes the same standard `dsh plugin` command. Do not use a private executable path in public instructions.
|
|
20
|
+
|
|
21
|
+
## Verify
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
dsh plugin --profile web list dsh-image-viewer --depth 0
|
|
25
|
+
dsh --profile web --dump-config
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Confirm the package and `wsl043-native-image-viewer` bundle each appear exactly once. With permission to restart DSH, use a non-sensitive local test image to verify message and composer entry points, pointer-centered wheel zoom, drag pan, download, Escape, focus restoration, and the collapsed region-note sidebar.
|
|
29
|
+
|
|
30
|
+
## Uninstall
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
dsh plugin --profile web remove dsh-image-viewer
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Verify the package and bundle row are absent. Uninstall must preserve images, sessions, credentials, settings, and unrelated plugins.
|
|
37
|
+
|
|
38
|
+
## Failure handling
|
|
39
|
+
|
|
40
|
+
Separate package installation, DSH composition, unsupported image markup, browser capability, and file-download failures. Unsupported image markup must retain DSH's built-in behavior. Do not patch installed DSH files, disable browser security, or upload a user's image to reproduce a viewer issue.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 WSL043
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WSL043
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,76 +1,71 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
3
|
# DSH Image Viewer
|
|
4
|
-
|
|
5
|
-
A compact, provider-neutral image viewer for DeepSeek Harness. It upgrades images already shown by DSH without replacing the conversation, attachment, or model workflows.
|
|
6
|
-
|
|
7
|
-
[](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
|
|
8
|
-
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
9
|
-
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
10
|
-
[](#install)
|
|
11
|
-
[](LICENSE)
|
|
12
|
-
[](https://github.com/WSL043/dsh-image-viewer/stargazers)
|
|
13
|
-
|
|
14
|
-
[Install](#install) · [Privacy](#privacy) · [简体中文](README.zh-CN.md)
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
> Beta: the viewer targets the latest public DSH release. Unsupported image markup is left untouched instead of being guessed.
|
|
19
|
-
|
|
20
|
-
<p align="center">
|
|
4
|
+
|
|
5
|
+
A compact, provider-neutral image viewer for DeepSeek Harness. It upgrades images already shown by DSH without replacing the conversation, attachment, or model workflows.
|
|
6
|
+
|
|
7
|
+
[](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
|
|
8
|
+
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
9
|
+
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
10
|
+
[](#install)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
[](https://github.com/WSL043/dsh-image-viewer/stargazers)
|
|
13
|
+
|
|
14
|
+
[Install](#install) · [Privacy](#privacy) · [简体中文](README.zh-CN.md)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
> Beta: the viewer targets the latest public DSH release. Unsupported image markup is left untouched instead of being guessed.
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
21
|
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-dark.png" width="900" alt="DSH Image Viewer with fit, original-size, zoom, and download controls">
|
|
22
|
-
</p>
|
|
23
|
-
|
|
24
|
-
<p align="center">
|
|
25
|
-
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-note.png" width="900" alt="A numbered region note edited directly beside its image marker">
|
|
26
|
-
</p>
|
|
27
|
-
|
|
28
|
-
## Features
|
|
29
|
-
|
|
30
|
-
- Wheel zoom centered on the pointer, drag-to-pan, touch pinch, and double-click 100% view.
|
|
31
|
-
- Fit and original-size controls, original-file download, keyboard navigation, and multi-image galleries.
|
|
32
|
-
- One-shot region marking with each note edited beside its numbered image marker.
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Open the [bug report form](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) with the exact plugin version, DSH version, operating system, image location (message or composer), and the action that failed. Do not include private images, credentials, or full session logs. Report sensitive security problems privately through [GitHub Security Advisories](https://github.com/WSL043/dsh-image-viewer/security/advisories/new).
|
|
73
|
-
|
|
74
|
-
## License
|
|
75
|
-
|
|
76
|
-
[简体中文](README.zh-CN.md) · [Report a bug](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) · [Request a feature](https://github.com/WSL043/dsh-image-viewer/issues/new?template=feature-request.yml) · [MIT](LICENSE)
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
<p align="center">
|
|
25
|
+
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-note.png" width="900" alt="A numbered region note edited directly beside its image marker">
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
- Wheel zoom centered on the pointer, drag-to-pan, touch pinch, and double-click 100% view.
|
|
31
|
+
- Fit and original-size controls, original-file download, keyboard navigation, and multi-image galleries.
|
|
32
|
+
- One-shot region marking with each note edited beside its numbered image marker. Enter saves and collapses the note;
|
|
33
|
+
Shift+Enter adds a new line.
|
|
34
|
+
- Light and dark themes through DSH design tokens, responsive layout, focus containment, and reduced-motion support.
|
|
35
|
+
- Optional `nativeImageViewer` client service so image-producing plugins can add their own continuation action.
|
|
36
|
+
|
|
37
|
+
DSH keeps working when the plugin is absent or cannot recognize a newer image surface. Other plugins may use the service when present, but must retain their own basic fallback.
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
Install the Beta:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.4
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Restart DSH manually after saving active work. The plugin never needs access to provider credentials or image-generation accounts.
|
|
48
|
+
|
|
49
|
+
## Update
|
|
50
|
+
|
|
51
|
+
Run the same version-pinned `dsh plugin ... add` command for the version you want to install.
|
|
52
|
+
|
|
53
|
+
## Uninstall
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
dsh plugin --profile web remove dsh-image-viewer
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Uninstalling restores DSH's built-in image lightbox. It does not remove conversations, attachments, generated images, provider plugins, or credentials.
|
|
60
|
+
|
|
61
|
+
## Privacy
|
|
62
|
+
|
|
63
|
+
Image bytes stay in the current browser profile. The plugin reads only URLs already rendered by DSH, does not upload images, does not call a model, and does not read provider credentials. Region notes remain available when the same image is reopened during the current DSH page session, but are not written to conversation storage unless another plugin explicitly uses them for a user-requested action.
|
|
64
|
+
|
|
65
|
+
## Support
|
|
66
|
+
|
|
67
|
+
Open the [bug report form](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) with the exact plugin version, DSH version, operating system, image location (message or composer), and the action that failed. Do not include private images, credentials, or full session logs. Report sensitive security problems privately through [GitHub Security Advisories](https://github.com/WSL043/dsh-image-viewer/security/advisories/new).
|
|
68
|
+
|
|
69
|
+
## License
|
|
70
|
+
|
|
71
|
+
[简体中文](README.zh-CN.md) · [Report a bug](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) · [Request a feature](https://github.com/WSL043/dsh-image-viewer/issues/new?template=feature-request.yml) · [MIT](LICENSE)
|
package/README.zh-CN.md
CHANGED
|
@@ -1,76 +1,70 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
3
|
# DSH 图片查看器
|
|
4
|
-
|
|
5
|
-
面向 DeepSeek Harness 的简洁、与模型和供应商无关的图片查看器。它只增强 DSH 已经显示的图片,不替换会话、附件或模型流程。
|
|
6
|
-
|
|
7
|
-
[](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
|
|
8
|
-
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
9
|
-
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
10
|
-
[](#安装)
|
|
11
|
-
[](LICENSE)
|
|
12
|
-
[](https://github.com/WSL043/dsh-image-viewer/stargazers)
|
|
13
|
-
|
|
14
|
-
[安装](#安装) · [隐私](#隐私) · [English](README.md)
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
> Beta:当前适配最新公开版 DSH。遇到无法识别的新图片结构时会保留 DSH 原生行为,不会猜测接管。
|
|
19
|
-
|
|
20
|
-
<p align="center">
|
|
4
|
+
|
|
5
|
+
面向 DeepSeek Harness 的简洁、与模型和供应商无关的图片查看器。它只增强 DSH 已经显示的图片,不替换会话、附件或模型流程。
|
|
6
|
+
|
|
7
|
+
[](https://github.com/WSL043/dsh-image-viewer/actions/workflows/ci.yml)
|
|
8
|
+
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
9
|
+
[](https://www.npmjs.com/package/dsh-image-viewer)
|
|
10
|
+
[](#安装)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
[](https://github.com/WSL043/dsh-image-viewer/stargazers)
|
|
13
|
+
|
|
14
|
+
[安装](#安装) · [隐私](#隐私) · [English](README.md)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
> Beta:当前适配最新公开版 DSH。遇到无法识别的新图片结构时会保留 DSH 原生行为,不会猜测接管。
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
21
|
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-dark.png" width="900" alt="DSH 图片查看器的适应窗口、原始大小、缩放和下载操作">
|
|
22
|
-
</p>
|
|
23
|
-
|
|
24
|
-
<p align="center">
|
|
25
|
-
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-note.png" width="900" alt="直接在图片编号附近编辑区域备注">
|
|
26
|
-
</p>
|
|
27
|
-
|
|
28
|
-
## 功能
|
|
29
|
-
|
|
30
|
-
- 以鼠标位置为中心的滚轮缩放、拖动查看、触控双指缩放和双击原始大小。
|
|
31
|
-
- 适应窗口、原始大小、原图下载、键盘切换和多图浏览。
|
|
32
|
-
-
|
|
33
|
-
- 使用 DSH 设计令牌适配亮色、暗色、响应式布局、焦点约束和减少动态效果设置。
|
|
34
|
-
- 提供可选的 `nativeImageViewer` 客户端服务,图片生成插件可以按需增加自己的后续操作。
|
|
35
|
-
|
|
36
|
-
未安装本插件或插件无法识别更新后的图片界面时,DSH 仍保持原有查看能力。其他插件可以在检测到服务时使用高级查看,但仍应保留自己的基础回退。
|
|
37
|
-
|
|
38
|
-
## 安装
|
|
39
|
-
|
|
40
|
-
安装 Beta:
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
请通过[问题反馈表单](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml)提供准确的插件版本、DSH 版本、操作系统、图片所在位置(消息或输入框)以及失败的操作。不要提交私人图片、凭据或完整会话日志。敏感安全问题请通过 [GitHub Security Advisories](https://github.com/WSL043/dsh-image-viewer/security/advisories/new) 私下报告。
|
|
73
|
-
|
|
74
|
-
## 许可证
|
|
75
|
-
|
|
76
|
-
[English](README.md) · [反馈问题](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) · [功能建议](https://github.com/WSL043/dsh-image-viewer/issues/new?template=feature-request.yml) · [MIT](LICENSE)
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
<p align="center">
|
|
25
|
+
<img src="https://raw.githubusercontent.com/WSL043/dsh-image-viewer/main/docs/assets/image-viewer-note.png" width="900" alt="直接在图片编号附近编辑区域备注">
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
## 功能
|
|
29
|
+
|
|
30
|
+
- 以鼠标位置为中心的滚轮缩放、拖动查看、触控双指缩放和双击原始大小。
|
|
31
|
+
- 适应窗口、原始大小、原图下载、键盘切换和多图浏览。
|
|
32
|
+
- 一次点击标记一个区域,备注直接显示在图片编号附近并自动获得输入焦点;Enter 保存并收起,Shift+Enter 换行。
|
|
33
|
+
- 使用 DSH 设计令牌适配亮色、暗色、响应式布局、焦点约束和减少动态效果设置。
|
|
34
|
+
- 提供可选的 `nativeImageViewer` 客户端服务,图片生成插件可以按需增加自己的后续操作。
|
|
35
|
+
|
|
36
|
+
未安装本插件或插件无法识别更新后的图片界面时,DSH 仍保持原有查看能力。其他插件可以在检测到服务时使用高级查看,但仍应保留自己的基础回退。
|
|
37
|
+
|
|
38
|
+
## 安装
|
|
39
|
+
|
|
40
|
+
安装 Beta:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.0-beta.4
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
保存正在进行的工作后手动重启 DSH。本插件不需要供应商凭据或图片生成账户权限。
|
|
47
|
+
|
|
48
|
+
## 更新
|
|
49
|
+
|
|
50
|
+
使用目标版本对应的固定 `dsh plugin ... add` 命令更新。
|
|
51
|
+
|
|
52
|
+
## 卸载
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
dsh plugin --profile web remove dsh-image-viewer
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
卸载后恢复 DSH 内置图片灯箱,不会删除会话、附件、生成图片、供应商插件或凭据。
|
|
59
|
+
|
|
60
|
+
## 隐私
|
|
61
|
+
|
|
62
|
+
图片数据保留在当前浏览器配置中。插件只读取 DSH 已经渲染的图片 URL,不上传图片、不调用模型,也不读取供应商凭据。当前 DSH 页面会话内重新打开同一张图片时,区域备注仍会保留;除非其他插件响应用户的明确操作,否则不会写入会话存储。
|
|
63
|
+
|
|
64
|
+
## 反馈
|
|
65
|
+
|
|
66
|
+
请通过[问题反馈表单](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml)提供准确的插件版本、DSH 版本、操作系统、图片所在位置(消息或输入框)以及失败的操作。不要提交私人图片、凭据或完整会话日志。敏感安全问题请通过 [GitHub Security Advisories](https://github.com/WSL043/dsh-image-viewer/security/advisories/new) 私下报告。
|
|
67
|
+
|
|
68
|
+
## 许可证
|
|
69
|
+
|
|
70
|
+
[English](README.md) · [反馈问题](https://github.com/WSL043/dsh-image-viewer/issues/new?template=bug-report.yml) · [功能建议](https://github.com/WSL043/dsh-image-viewer/issues/new?template=feature-request.yml) · [MIT](LICENSE)
|
package/SECURITY.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# Security
|
|
2
|
-
|
|
3
|
-
Please report security issues privately to the repository owner instead of opening a public issue. Do not attach private images, credentials, access tokens, or complete session logs.
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
Please report security issues privately to the repository owner instead of opening a public issue. Do not attach private images, credentials, access tokens, or complete session logs.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# Third-party notices
|
|
2
|
-
|
|
3
|
-
This package uses React and DeepSeek Harness client packages through their published interfaces. Their licenses are distributed with those packages.
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This package uses React and DeepSeek Harness client packages through their published interfaces. Their licenses are distributed with those packages.
|
package/compatibility.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"latestTested": "0.1.1-rc.2",
|
|
3
|
-
"supported": ["0.1.1-rc.2"]
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"latestTested": "0.1.1-rc.2",
|
|
3
|
+
"supported": ["0.1.1-rc.2"]
|
|
4
|
+
}
|
package/cordis.patch.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
- insert:
|
|
2
|
-
- id: wsl043-native-image-viewer
|
|
3
|
-
name: dsh-image-viewer
|
|
1
|
+
- insert:
|
|
2
|
+
- id: wsl043-native-image-viewer
|
|
3
|
+
name: dsh-image-viewer
|