@wisdoverse/dsh-inline-media-viewer 1.0.10-alpha.1 → 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 CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 1.0.10
10
+
11
+ - Promote 1.0.10-alpha.1 to the stable release without runtime changes.
12
+ - Verify plugin import and host startup on DSH v0.1.2-rc.1; retain the v0.1.3-alpha.1 API adaptation.
13
+ - Browser media playback and the final DSH v0.1.3 release have not been verified.
14
+
3
15
  ## 1.0.10-alpha.1
4
16
 
5
17
  - Adapt to DSH v0.1.3-alpha.1: register host settings through `settings.register`,
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**. For older DSH versions, use plugin **1.0.9**.
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.10-alpha.1
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**;旧版 DSH 请使用插件 **1.0.9**。
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.10-alpha.1
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.effect(() => {
164
- const dispose = ctx.connection.rpc.handle(
165
- CHANNEL,
166
- (endpoint, payload, signal) => handleRead(ctx, endpoint, payload, signal, resolveSettings),
167
- );
168
- return () => {
169
- void dispose();
170
- };
171
- }, "inline-media: rpc");
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.10-alpha.1",
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",