Wisdoverse/dsh-inline-media-viewer-plugin
Renders images, video and audio inline under the turn that mentions them, with traversal-checked local reads and an optional ComfyUI proxy.
When an agent produces or references an image, a video or an audio file, the useful thing is to see it — not to read a path. This renders the media directly below the chat turn that mentions it: a view?filename=frame.png URL becomes an img, exports/demo.mp4 a video element with controls, audio/sound.mp3 an audio element. Workspace-safe reads mean the convenience does not become a file-disclosure hole, and the optional ComfyUI proxy lets a remote browser reach media that only exists on the machine running ComfyUI. User controls cover auto-render, a per-turn item limit and media height, so a turn that references twenty frames does not take over the conversation.
Install
dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer@1.0.12The README pins 1.0.12 explicitly and says to restart the Web profile after installing. Optional ComfyUI support is configured with the origin you want proxied; without it the plugin renders local files and ordinary URLs only.
Compatibility
Bounded by design: each file or response is capped at 48 MiB and remote requests time out at 20 seconds. Local path resolution goes through realpath and rejects traversal, out-of-workspace paths and symlink escapes. ComfyUI media URLs are fetched server-side from the configured origin, which is what makes them work for remote users and on HTTPS pages.
Details
- Repo: Wisdoverse/dsh-inline-media-viewer-plugin
- Category: Vision & Multimodal
- Stars: 5
- Version: 1.0.12 (npm, pinned in the README's quick-install line)
Alternatives
wads-dev/dsh-live-voice · FuzzySoul/dsh-free-vision · Einskyle/dsh-llm-vision-bridge