deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
把会话里 generate_image 工具的成功结果渲染为对话内并排缩略图画廊:
generate_image 的 count 参数,一次生成多张并排展示监听会话事件流中的 tool/call(name = generate_image)与 tool/result
(文本含 imageUrl),通过 DSH 客户端插件机制注册一个 conversation.chat.node
渲染器,把同一调用的成功图片发布为 generated-images 节点。纯插件实现,
不改动 DSH 源码。
在 DSH 终端执行(仓库已打 dsh-plugin 主题,可被 DSH 插件目录 发现):
dsh plugin add github:statem-li/dsh-image-gallery
安装后重启 dsh web 生效。如需锁定版本:dsh plugin add github:statem-li/dsh-image-gallery#<commit-sha>。
以下是手动安装方式(备用):
把本目录链接到 DSH web profile:
New-Item -ItemType Junction -Path "$env:USERPROFILE\.dsh\profiles\web\node_modules\@dsh-external\dsh-image-gallery" -Target (Get-Location)
在 %USERPROFILE%\.dsh\profiles\web\cordis.patch.yml 追加:
- insert:
- id: dsh-image-gallery
name: "@dsh-external/dsh-image-gallery"
重启 DSH web(或等 patch 热装配)后刷新页面。
依赖 DSH 源码检出(DSH_CHECKOUT 指向 deepseek-harness 检出目录):
DSH_CHECKOUT=D:/AI/deepseek-harness bash scripts/build.sh # host 半身 tsc
tsdown # client bundle → lib/client.js
@deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-client-ui-slots、@deepseek-ai/dsh-client-ui-conversationgenerate_image(dsh-vision-helper 提供,支持 count 一次多张)BSD-3-Clause
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。