dsh-image-viewer 0.1.2-beta.2 → 0.1.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/AGENTS.md +3 -1
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/assets/icon.svg +18 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +6 -2
package/AGENTS.md
CHANGED
|
@@ -12,8 +12,10 @@ Use this guide only when the user asks to install, update, verify, or remove `ds
|
|
|
12
12
|
|
|
13
13
|
## Install or update
|
|
14
14
|
|
|
15
|
+
In **Plugins → Add plugin**, enter `dsh-image-viewer@0.1.2` in the package field (not the whole command). Follow the activation action shown by DSH. The terminal alternative is:
|
|
16
|
+
|
|
15
17
|
```sh
|
|
16
|
-
dsh plugin --profile web add
|
|
18
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
DSH-Portable exposes the same standard `dsh plugin` command. Do not use a private executable path in public instructions.
|
package/README.en.md
CHANGED
|
@@ -51,7 +51,7 @@ DSH keeps working when the plugin is absent or cannot recognize a newer image su
|
|
|
51
51
|
2. Paste this line into **Package name or address**, then select Install:
|
|
52
52
|
|
|
53
53
|
```text
|
|
54
|
-
dsh-image-viewer@0.1.2
|
|
54
|
+
dsh-image-viewer@0.1.2
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
3. Follow the result shown on the page. Refresh or restart only when requested. If installation fails, read its error before retrying.
|
|
@@ -63,7 +63,7 @@ dsh-image-viewer@0.1.2-beta.2
|
|
|
63
63
|
Run in the DSH or Portable terminal:
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
66
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
If DSH is running, save your work and restart after this terminal operation to load the change. For older cores, choose the plugin version verified in its release notes.
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
2. 在“包名或地址”中粘贴下面这一行,再点击安装:
|
|
51
51
|
|
|
52
52
|
```text
|
|
53
|
-
dsh-image-viewer@0.1.2
|
|
53
|
+
dsh-image-viewer@0.1.2
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
3. 查看安装结果;仅在页面要求时刷新或重启。安装失败时留在插件页查看错误,不必重复安装。
|
|
@@ -62,7 +62,7 @@ dsh-image-viewer@0.1.2-beta.2
|
|
|
62
62
|
在 DSH 或 Portable 的终端中执行:
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
65
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
如果 DSH 正在运行,命令完成后保存工作并重新启动,以加载终端改动。旧内核请选择对应发布说明中已验证的插件版本。
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="frame" x1="8" y1="9" x2="46" y2="51" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#b6a0fc"/><stop offset="1" stop-color="#7561de"/>
|
|
5
|
+
</linearGradient>
|
|
6
|
+
<linearGradient id="mountain" x1="10" y1="30" x2="46" y2="50" gradientUnits="userSpaceOnUse">
|
|
7
|
+
<stop stop-color="#dee0ff"/><stop offset="1" stop-color="#a6b5f8"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient id="pen" x1="36" y1="50" x2="54" y2="30" gradientUnits="userSpaceOnUse">
|
|
10
|
+
<stop stop-color="#32b7d7"/><stop offset="1" stop-color="#7de5e9"/>
|
|
11
|
+
</linearGradient>
|
|
12
|
+
</defs>
|
|
13
|
+
<rect x="7" y="9" width="44" height="42" rx="8" fill="url(#frame)"/>
|
|
14
|
+
<circle cx="20" cy="22" r="4.5" fill="#f1eaff"/>
|
|
15
|
+
<path d="m7 40 12-10a3 3 0 0 1 4 0l8 7 7-6a3 3 0 0 1 4 0l9 8v4a8 8 0 0 1-8 8H15a8 8 0 0 1-8-8Z" fill="url(#mountain)"/>
|
|
16
|
+
<path d="m35 44 16-16a3 3 0 0 1 4 0l4 4a3 3 0 0 1 0 4L43 52l-11 3Z" fill="url(#pen)"/>
|
|
17
|
+
<path d="m35 44 8 8-11 3Z" fill="#d2f7f8"/>
|
|
18
|
+
</svg>
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-image-viewer",
|
|
3
|
-
"version": "0.1.2
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Zoom, pan, download, gallery, and region-note image viewer for DeepSeek Harness",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh-plugin",
|
|
@@ -14,13 +14,17 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "./lib/index.js",
|
|
17
|
+
"icon": "./assets/icon.svg",
|
|
17
18
|
"exports": {
|
|
18
19
|
".": "./lib/index.js",
|
|
19
20
|
"./client": "./lib/client.js",
|
|
20
21
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
21
|
-
"./package.json": "./package.json"
|
|
22
|
+
"./package.json": "./package.json",
|
|
23
|
+
"./locale/*": "./locale/*"
|
|
22
24
|
},
|
|
23
25
|
"files": [
|
|
26
|
+
"assets/icon.svg",
|
|
27
|
+
"locale/*.json",
|
|
24
28
|
"lib/*.js",
|
|
25
29
|
"lib/*.map",
|
|
26
30
|
"cordis.patch.yml",
|