dsh-image-viewer 0.1.2-beta.2 → 0.1.3-beta.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 +3 -1
- package/README.en.md +4 -2
- package/README.md +4 -2
- package/assets/icon.svg +18 -0
- package/compatibility.json +5 -1
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +11 -7
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,19 +51,21 @@ 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.
|
|
58
58
|
|
|
59
59
|
**This version supports DSH 0.1.6-alpha.2 and 0.1.7-alpha.1.** Do not paste a complete `dsh plugin ...` command into the package field or treat the repository's `main` branch as a qualified release package.
|
|
60
60
|
|
|
61
|
+
For **DSH 0.1.7-alpha.2**, install the preview `dsh-image-viewer@0.1.3-beta.0` in the same field. It does not replace the npm stable tag. Follow the page's refresh or restart instruction after installation.
|
|
62
|
+
|
|
61
63
|
### Terminal installation (optional)
|
|
62
64
|
|
|
63
65
|
Run in the DSH or Portable terminal:
|
|
64
66
|
|
|
65
67
|
```sh
|
|
66
|
-
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
68
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
67
69
|
```
|
|
68
70
|
|
|
69
71
|
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,19 +50,21 @@
|
|
|
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. 查看安装结果;仅在页面要求时刷新或重启。安装失败时留在插件页查看错误,不必重复安装。
|
|
57
57
|
|
|
58
58
|
**此版本兼容 DSH 0.1.6-alpha.2 和 0.1.7-alpha.1。** 不要把整条 `dsh plugin ...` 命令粘贴进包名框,也不要把仓库的 `main` 分支当作已验证发布包。
|
|
59
59
|
|
|
60
|
+
使用 **DSH 0.1.7-alpha.2** 时,改为在同一输入框安装预览版 `dsh-image-viewer@0.1.3-beta.0`;它不会替换 npm 的稳定版标签。确认安装结果后按页面提示刷新或重启。
|
|
61
|
+
|
|
60
62
|
### 终端安装(可选)
|
|
61
63
|
|
|
62
64
|
在 DSH 或 Portable 的终端中执行:
|
|
63
65
|
|
|
64
66
|
```sh
|
|
65
|
-
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
67
|
+
dsh plugin --profile web add dsh-image-viewer@0.1.2
|
|
66
68
|
```
|
|
67
69
|
|
|
68
70
|
如果 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/compatibility.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"releaseTargets": [
|
|
3
|
+
"0.1.7-alpha.2"
|
|
4
|
+
],
|
|
2
5
|
"latestTested": "0.1.2-rc.1",
|
|
3
6
|
"supported": [
|
|
4
7
|
"0.1.1-rc.2",
|
|
@@ -11,6 +14,7 @@
|
|
|
11
14
|
"0.1.5-alpha.1",
|
|
12
15
|
"0.1.6-alpha.1",
|
|
13
16
|
"0.1.6-alpha.2",
|
|
14
|
-
"0.1.7-alpha.1"
|
|
17
|
+
"0.1.7-alpha.1",
|
|
18
|
+
"0.1.7-alpha.2"
|
|
15
19
|
]
|
|
16
20
|
}
|
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.
|
|
3
|
+
"version": "0.1.3-beta.0",
|
|
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",
|
|
@@ -56,17 +60,17 @@
|
|
|
56
60
|
"homepage": "https://github.com/WSL043/dsh-image-viewer#readme",
|
|
57
61
|
"publishConfig": {
|
|
58
62
|
"access": "public",
|
|
59
|
-
"tag": "
|
|
63
|
+
"tag": "next"
|
|
60
64
|
},
|
|
61
65
|
"engines": {
|
|
62
66
|
"node": "^22.19.0 || >=24.0.0"
|
|
63
67
|
},
|
|
64
68
|
"peerDependencies": {
|
|
65
69
|
"@deepseek-ai/cordis": "4.0.1 || 4.0.2 || 4.0.3",
|
|
66
|
-
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
69
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.2-alpha.2 || 0.1.2-alpha.3 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2",
|
|
70
74
|
"react": "^18.2.0"
|
|
71
75
|
},
|
|
72
76
|
"peerDependenciesMeta": {
|