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-image-inline

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 loyalchiiina

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

UI & ExperienceTerminal & ClientsTools & CapabilitiesManifest valid

★ 2

↓ 75/wk

MIT

JavaScript

Sep 28, 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.

Sessions & MessagesDevelopment & InfrastructureManifest valid

★ 2

↓ 545/wk

MIT

JavaScript

Sep 10, 2026

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

by yueyexiayu

DSH desktop plugin: generate images with logged-in Grok/GPT accounts, and videos with Grok

Manifest valid

★ 0

MIT

JavaScript

Sep 21, 2026

dsh plugin --profile web add shengcheng

by xiaokaizhou

DSH 插件:在聊天中提供图像/视频生成工具,基于 OpenAI 兼容 API

Manifest valid

★ 0

MIT

JavaScript

Sep 21, 2026

dsh plugin --profile web add dsh-llm-multimodal

Shows a local image or short video in the current conversation card, with click-to-preview.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-show-media