DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-zhanshi

y

dsh-zhanshi

Manifest valid

DSH desktop plugin: show this-turn images and videos inline in the conversation

UI (client)hasBundlePatch

zhanshi

DeepSeek Harness 桌面插件。把本轮新保存的图片和视频直接显示在对话里,不写进模型上下文。

预览挂在回合末尾交付区(和原来的「打开」卡片同一层,不会折进「N 次工具调用」)。图用 <img>,视频用 <video controls>,点图打开文件。来源是本轮成功的 present / write / edit / read_image,bash 里独立一行的 saved …png / wrote …mp4(或 cp/ffmpeg/-o 的写入目标),以及 shengcheng 结果里的 saved … 行。翻会话日志、ls 旧文件不会触发预览。present 的相对路径(如 street_dancing_girl.png)也会显示,用会话 cwd 拼成绝对路径。不负责生图。预览以 id: zhanshi 注册到 conversation.chat.turnTail 列表;没有媒体时组件返回空内容。

安装

包在 $DSH_HOME/plugins/zhanshi。在 $DSH_HOME/profiles/desktop/cordis.patch.yml 的 insert 里加入:

- id: zhanshi
  name: ../../plugins/zhanshi/lib/index.js

完全退出 DeepSeek Harness(macOS:⌘Q)再打开。已有会话重启后也会从事件重建预览。

说明

  • 不把媒体 ingest 成会话 attachment,避免进入下一轮视觉请求
  • 文件用相对路径 /api/file 读取(桌面是 dsh-app://,不能按 http origin 拼地址)
  • 每回合最多 16 个文件;忽略 node_modules / .git
  • 同一路径或同一文件名再生成时,预览跟最后一次 present/写入走,并用事件序号刷新图片地址,避免桌面端仍显示上一张
  • 卸载:只从 desktop patch 去掉该 insert,然后 ⌘Q

开发

node --check lib/index.js lib/client.js lib/parse.js
node --test

Comments

Loading…

Similar plugins

dsh-show-picture

by Yaing-Yan

DSH (DeepSeek Harness) Cordis plugin that lets the agent display images — local files or URLs — directly inside the conversation.

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-show-picture

by condaThinker

DSH plugin: show_image tool that renders an image inline into the web chat flow (QQ/WeChat style) — path text in the message, image bytes never enter model context.

Tools & CapabilitiesManifest valid

★ 2

JavaScript

Aug 30, 2026

dsh plugin --profile web add dsh-image-inline

by senyayume

DSH plugin: inline each image block only in the request where it first appears, then swap it for the harness's own placeholder text

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 9, 2026

dsh plugin --profile web add dsh-image-once

by loyalchiiina

DSH plugin: display images inline in chat with lightbox zoom, download (save-as), and prev/next navigation

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 2

↓ 33/wk

MIT

JavaScript

Nov 9, 2026

dsh plugin --profile web add @loyalchiiina/dsh-chat-image-lightbox

by Wisdoverse

Renders image, video, and audio paths and URLs from DSH conversations inline, with workspace-confined local reads and an optional ComfyUI proxy.

Development & InfrastructureSessions & MessagesManifest valid

★ 4

↓ 691/wk

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer

by phoenixlucky

DeepSeek Harness plugin: a normalized session view that renders every turn, message and tool call in one consistent, copyable format.

Manifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-session-norms