DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Choco-Zz /

Choco-Zz/dsh-image-amnesia

已验证

Drop historical images before DeepSeek Harness relay requests; keep native vision on the newest image.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@bfae8630

dsh-image-amnesia

A DeepSeek Harness profile bundle that keeps native vision (Grok, Claude, GPT, …) while stopping historical images from being re-uploaded to relay providers on every turn.

The local session still stores every original image. Only the outbound model request is projected. Every agent in the profile — including subagents and task-board jobs — shares the same wrap.

Why

DSH's built-in visual offload defaults are about 20MB / 600 images. Relays (OpenAI-compatible gateways) usually die long before that. Each read_image or paste stays in history and is sent again on the next turn.

This plugin drops oldest images first, and always keeps the newest keepAtLeast image so the current look still reaches a native vision model.

Install

pnpm dsh plugin --profile web add github:Choco-Zz/dsh-image-amnesia
pnpm dsh plugin --profile desktop add github:Choco-Zz/dsh-image-amnesia

Local checkout:

pnpm dsh plugin --profile web add "link:D:/CodexProjects/dsh-image-amnesia"

Install once per profile. You do not install it per agent. Subagents, task-board cron jobs, and new chats in that profile are covered automatically. See AGENTS.md.

Defaults

Key Default Meaning
enabled true Master switch
maxImages 6 Images kept in the outbound request
maxBytes 6291456 Byte budget for kept images
keepAtLeast 1 Never drop the newest N images

Edit image-amnesia.maxImages in settings.yaml or this package's cordis.patch.yml. Do not add a dsh.client half unless it is a real lazy-CJS client bundle — a stub card prevented DSH Desktop from starting.

Verify

Paste seven images in one session. Host log:

dsh-image-amnesia: dropped 1/7 image(s); kept 6

node --test

License

MIT

—/ 5

暂无评分

已验证 DSH bundle

Commit bfae86309aa7

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于