@orderg-x/dsh-video-preview 0.5.1 → 0.5.3
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 +12 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,23 +20,29 @@
|
|
|
20
20
|
>
|
|
21
21
|
> **什么时候用**:「录个屏」「把视频转成 mp4」「生成一段配音」之后,想直接在对话里看、听。
|
|
22
22
|
>
|
|
23
|
-
>
|
|
23
|
+
> **安装**:DSH「插件」页 →「添加插件」,填 `@orderg-x/dsh-video-preview`(npm 包,连不上 npm 会自动换国内镜像),重启 DSH。
|
|
24
24
|
>
|
|
25
|
-
> **English:** a DeepSeek Harness (DSH) plugin that plays local video and audio inline in the chat. Files the model makes (screen recordings, transcodes, voiceovers) get a player under its reply automatically, and the `play_video` tool plays any other file. The `look_video` tool lets the model see a video itself: a contact sheet of frames, plus checks for silence, black frames and phone compatibility. Install
|
|
25
|
+
> **English:** a DeepSeek Harness (DSH) plugin that plays local video and audio inline in the chat. Files the model makes (screen recordings, transcodes, voiceovers) get a player under its reply automatically, and the `play_video` tool plays any other file. The `look_video` tool lets the model see a video itself: a contact sheet of frames, plus checks for silence, black frames and phone compatibility. Install: on the DSH Plugins page, click Add plugin and enter `@orderg-x/dsh-video-preview`, then restart DSH.
|
|
26
26
|
|
|
27
27
|

|
|
28
28
|
|
|
29
29
|
## 安装
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
在 DSH「插件」页点「添加插件」,填包名:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
@orderg-x/dsh-video-preview
|
|
33
35
|
```
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
这是 npm 包:按包名装时,DSH 连不上 npm 官方源会自动改用国内镜像(npmmirror),不经过 GitHub。也可以填发布包地址 `https://github.com/OrderG-X/dsh-video-preview/releases/latest/download/dsh-video-preview.tgz`,那样要能连上 GitHub。
|
|
38
|
+
|
|
39
|
+
装完**重启 DSH**(客户端代码在 DSH 启动时打包,不重启看不到播放器)。DSH「插件」页里显示为「视频播放」。
|
|
40
|
+
|
|
41
|
+
**更新**:在「插件」页把它卸载,再按上面添加一次。新版发布后大约一天按包名才装得到(DSH 装插件用的 pnpm 默认不装刚发布的版本),急的话填发布包地址。
|
|
36
42
|
|
|
37
43
|
> **从 0.3.x 升级**:0.4.0 起包名改成 `@orderg-x/dsh-video-preview`(npm 上的 `dsh-video-preview` 是别人的包)。装上新版后,到「插件」页把旧的「dsh-video-preview」移除,再重启 DSH。旧版还在时新版不会启动,旧版照常能用;以前对话里的视频链接都还能播。
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
开发时可以直接链到本地目录:在「添加插件」里填本仓库的绝对路径,装上的是 `link:`,改了代码同样要重启。
|
|
40
46
|
|
|
41
47
|
## 它解决什么
|
|
42
48
|
|