DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

X Image Clamp — DeepSeek Harness 插件(DSH Plugin)
← Plugins
X

dshx-image-clamp

X Image Clamp

将发送给模型的每张图片限制为最大边长(默认为 2000px),确保不会超出 Claude 的多图限制。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:callaumyan-design/dshx-image-clamp#fc4b33f05e461b6da2b8eaa315a3e07eeb54c6f8
README兼容性版本

兼容性与来源证明

X Image Clamp 以 dshx-image-clamp 发布,当前版本为 1.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/19

版本

1.1.0stable
2026/10/19

相关插件

正在加载相关插件…

最新版
1.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Experimental Voice Input Bundle@deepseek-ai/dsh-experimental-voice-input-bundle实验性语音输入,使用本地 SenseVoice;首次使用时下载其运行时Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio,以及 27 个可编辑视频模板,以原生 DeepSeek Harness 对话视图呈现。Imagegen@dickpy/dsh-imagegen适用于 dsh Web GUI 的 AI 图像生成插件:通过可配置的提供商渠道进行文生图和图生图(gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3,原生支持 xAI Grok Imagine、Google Nano Banana a

README

dshx-image-clamp

Downscales every image sent to the model so its long edge is at most 2000px (and under a byte budget), avoiding Claude's many-image limit that otherwise breaks the whole session.

Claude 在一次请求里图片超过 20 张时,任何一张边长超过 2000px 就会整条请求被拒。DSH 的附件归一化只限制总像素,单边仍可能超过 2000(例如 2730×1536),之后每一轮都会重放这张图,整个会话就卡死了。

本插件包装 attachments.readImage,在图片发给任何 provider 之前实时缩小到长边 ≤ maxSide,并压到单张 maxBytes 以内。磁盘上的原图不改动,停用插件即完全还原。

配置(cordis.patch.yml)

字段默认说明
maxSide2000长边上限(像素)
maxBytes184320单张编码后字节上限(180 KB)

依赖宿主已有的 sharp(DSH 自带);找不到时插件会记录警告并不做处理。

安装

# Web profile
dsh plugin --profile web add github:callaumyan-design/dshx-image-clamp
# Desktop(用 DSH Desktop 自带的 dsh 命令,先从托盘完全退出 Desktop)
dsh plugin --profile desktop add github:callaumyan-design/dshx-image-clamp

安装后重启 DSH。卸载:dsh plugin --profile <profile> remove dshx-image-clamp。

兼容性

在 DeepSeek Harness 0.2.0-rc.2(desktop / web profile)上开发和使用。纯 JavaScript,无构建步骤,无安装脚本。

License

MIT