@wisdoverse/dsh-inline-media-viewer 1.0.10 → 1.0.11
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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/index.js +11 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.11
|
|
4
|
+
|
|
5
|
+
- Register the authenticated RPC route inside a connection-injected context so
|
|
6
|
+
Cordis can provide the Web server dependency during deferred setup.
|
|
7
|
+
- Verify host startup, the settings section, and HTTP health on DSH v0.1.5-rc.1.
|
|
8
|
+
|
|
3
9
|
## 1.0.10
|
|
4
10
|
|
|
5
11
|
- Promote 1.0.10-alpha.1 to the stable release without runtime changes.
|
package/README.md
CHANGED
|
@@ -59,14 +59,14 @@ audio/sound.mp3 → <audio controls>
|
|
|
59
59
|
|
|
60
60
|
## Installation
|
|
61
61
|
|
|
62
|
-
Targets DSH **v0.1.3-alpha.1
|
|
62
|
+
Targets DSH **v0.1.3-alpha.1+** APIs. Host startup and the settings section were verified on **v0.1.5-rc.1**. End-to-end media playback on v0.1.5-rc.1 has not been verified.
|
|
63
63
|
|
|
64
64
|
### From npm
|
|
65
65
|
|
|
66
66
|
Install and activate the bundle in your Web profile:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer@1.0.
|
|
69
|
+
dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer@1.0.11
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Restart the Web profile after installation.
|
package/README.zh-CN.md
CHANGED
|
@@ -57,14 +57,14 @@ audio/sound.mp3 → <audio controls>
|
|
|
57
57
|
|
|
58
58
|
## 安装
|
|
59
59
|
|
|
60
|
-
适配 DSH **v0.1.3-alpha.1
|
|
60
|
+
适配 DSH **v0.1.3-alpha.1+** API,并已在 **v0.1.5-rc.1** 验证宿主启动和设置入口。尚未在 v0.1.5-rc.1 完成端到端媒体播放验证。
|
|
61
61
|
|
|
62
62
|
### 通过 npm 安装
|
|
63
63
|
|
|
64
64
|
在 Web profile 中安装并启用 Bundle:
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer@1.0.
|
|
67
|
+
dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer@1.0.11
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
安装后重启 Web profile。
|
package/index.js
CHANGED
|
@@ -160,15 +160,17 @@ export function apply(ctx) {
|
|
|
160
160
|
base: MEDIA_SETTINGS_DEFAULTS,
|
|
161
161
|
});
|
|
162
162
|
const resolveSettings = () => settings.get();
|
|
163
|
-
ctx.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
163
|
+
ctx.inject(["connection"], (connectionCtx) => {
|
|
164
|
+
connectionCtx.effect(() => {
|
|
165
|
+
const dispose = connectionCtx.connection.rpc.handle(
|
|
166
|
+
CHANNEL,
|
|
167
|
+
(endpoint, payload, signal) => handleRead(ctx, endpoint, payload, signal, resolveSettings),
|
|
168
|
+
);
|
|
169
|
+
return () => {
|
|
170
|
+
void dispose();
|
|
171
|
+
};
|
|
172
|
+
}, "inline-media: rpc");
|
|
173
|
+
});
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
export { MIME } from "./lib.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wisdoverse/dsh-inline-media-viewer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Persistent inline image, video, and audio previews for DeepSeek Harness Web conversations, with workspace-confined local reads and an optional ComfyUI proxy.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|