dsh-gallery 0.10.6 → 0.10.7
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 +24 -5
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -4,16 +4,17 @@
|
|
|
4
4
|
> DSH 默认**只在任务结束时**才列出产出的文件名和路径 —— 中间生成的东西你看不见,
|
|
5
5
|
> 出了偏差只能等它跑完再返工。
|
|
6
6
|
>
|
|
7
|
-
>
|
|
7
|
+
> 这个插件把产出目录变成右侧栏里的**实时画廊**:图片生成就可见、文件点开就预览、
|
|
8
|
+
> 视频音频能在面板里直接播放并拖进度条,
|
|
8
9
|
> **让你在任务进行中就能校验和干预,而不是结束后才知道做错了。**
|
|
9
10
|
|
|
10
|
-
[](#)
|
|
11
12
|
[](LICENSE)
|
|
12
13
|
[](#技术说明给想改代码的人)
|
|
13
14
|
[](#兼容性)
|
|
14
15
|
[](#)
|
|
15
16
|
|
|
16
|
-
**关键词**:DeepSeek Harness 插件 · DSH plugin · 产出画廊 · output gallery · 图片画廊 · image gallery · 文件预览 · file preview · 侧边栏面板 · sidebar panel · Agent 产出管理 · output artifacts
|
|
17
|
+
**关键词**:DeepSeek Harness 插件 · DSH plugin · 产出画廊 · output gallery · 图片画廊 · image gallery · 文件预览 · file preview · **音视频画廊 · media gallery · 视频预览 · video preview** · 侧边栏面板 · sidebar panel · Agent 产出管理 · output artifacts
|
|
17
18
|
|
|
18
19
|
---
|
|
19
20
|
|
|
@@ -81,7 +82,25 @@
|
|
|
81
82
|
| 点「⧉ 复制路径」 | 复制绝对路径,按钮变 `✓ 已复制` 反馈 1.6 秒 |
|
|
82
83
|
| 点「📂」 | 在资源管理器里定位该文件 |
|
|
83
84
|
|
|
84
|
-
###
|
|
85
|
+
### 音视频画廊
|
|
86
|
+
|
|
87
|
+
列视频 / 音频,共 16 种扩展名(视频 7 种、音频 9 种),**独立第三栏**,不混进文件列表。
|
|
88
|
+
|
|
89
|
+
| 操作 | 行为 |
|
|
90
|
+
|---|---|
|
|
91
|
+
| 点整张卡片 | 在面板内弹出播放器 |
|
|
92
|
+
| 视频卡片 | 显示**首帧缩略图**(进入视口才抽帧,避免一次解码几十个视频) |
|
|
93
|
+
| 播放器里拖进度条 | ✅ **可用** —— ≤ 60 MB 的文件会完整载入内存(blob),浏览器原生支持任意 seek |
|
|
94
|
+
| 播放器里「📷 截取当前帧」 | 把当前画面存成 PNG,文件名带时间码(如 `片子_00-12-34.png`) |
|
|
95
|
+
| 大文件(> 60 MB) | 不载入面板,显示「文件较大」+「▶ 用系统播放器打开」/「📂 打开所在文件夹」两个按钮 |
|
|
96
|
+
|
|
97
|
+
> **为什么大文件不内嵌播放**:DSH 的 HTTP 通道不支持 `Range` 请求(官方 `/api/file` 也只返 200),
|
|
98
|
+
> 没有 Range 就无法边下边播、拖进度条。所以 ≤ 60 MB 走 blob(完整数据在内存,能 seek),
|
|
99
|
+
> 超过则引导用系统播放器 —— 那里原生支持拖动。
|
|
100
|
+
>
|
|
101
|
+
> 体积上限默认 200 MB,可用 `maxMediaBytes` 调整。
|
|
102
|
+
|
|
103
|
+
### 右键菜单(图片 / 文件 / 音视频通用)
|
|
85
104
|
|
|
86
105
|
在任意卡片上**右键**:
|
|
87
106
|
|
|
@@ -96,7 +115,7 @@
|
|
|
96
115
|
|
|
97
116
|
### 分页
|
|
98
117
|
|
|
99
|
-
|
|
118
|
+
三个画廊都是**每页 60 条**,网格下方**常驻页码条**:
|
|
100
119
|
|
|
101
120
|
```
|
|
102
121
|
第 1–60 条 · 共 114 条 还有 54 张
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "Output Gallery",
|
|
4
|
-
"description": "Fixes DSH reporting produced files only after a task ends: watches your output folders live
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Output Gallery",
|
|
4
|
+
"description": "Fixes DSH reporting produced files only after a task ends: watches your output folders live with auto-refreshing image thumbnails, native file preview, and in-panel video/audio playback with seeking and frame capture, so you can verify and intervene mid-task."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "产出画廊",
|
|
4
|
-
"description": "解决 DSH
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "产出画廊",
|
|
4
|
+
"description": "解决 DSH 只在任务结尾才列出产出、过程不可见的问题:实时监控产出目录,图片自动刷新、文件原生预览、音视频面板内播放(可拖进度条、可截帧),任务进行中就能校验纠正。"
|
|
5
|
+
}
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-gallery",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "产出画廊:解决 DSH
|
|
5
|
+
"description": "产出画廊:解决 DSH 只在任务结尾才列出产出、过程不可见的问题。实时监控产出目录,图片自动刷新、文件原生预览、音视频面板内播放(可拖进度条、可截帧),任务进行中即可校验纠正。",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/Hope2023Dcr/dsh-gallery.git"
|
|
@@ -53,7 +53,10 @@
|
|
|
53
53
|
"image-gallery",
|
|
54
54
|
"file-preview",
|
|
55
55
|
"sidebar-plugin",
|
|
56
|
-
"agent-tools"
|
|
56
|
+
"agent-tools",
|
|
57
|
+
"media-gallery",
|
|
58
|
+
"video-preview",
|
|
59
|
+
"audio-preview"
|
|
57
60
|
],
|
|
58
61
|
"publishConfig": {
|
|
59
62
|
"access": "public",
|