← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-image-guard

Trims historical images in outgoing chat requests and automatically learns provider image limits to retry after HTTP 400 errors.

VisionDeveloper Tools
0GitHub Stars1ForksUpdated2026-09-14

Install

$ dsh plugin --profile <name> add github:mafeis/dsh-image-guard

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-image-guard is a DeepSeek Harness plugin designed to safeguard multimodal chat sessions from provider image limits. It intercepts outgoing chat requests on the fetch chain, trims older images down to a configured budget while replacing them with descriptive placeholders, parses upper image limits from HTTP 400 rejection responses, and retries with fewer images to prevent failures and save vision tokens.

Key Capabilities

  • Retains recent N images and replaces older ones with metadata-rich retrieval placeholders
  • Parses upstream HTTP 400 limit messages to automatically adapt image counts and retry
  • Preserves prompt prefix caching by leaving session history intact and modifying request payload clones
  • Maintains positioning at the top of the fetch chain using setters and watchdog probes to prevent bypass
  • Provides token savings calculations and real-time status diagnostics via endpoints and settings UI

Useful For

  • Preventing multi-turn image chat sessions from failing when reaching upstream image limits (e.g. vLLM mm-per-prompt caps)
  • Reducing vision token consumption across long-context multimodal conversations
  • Preserving contextual awareness of older images via readable placeholder markers

Who It Fits

  • DeepSeek Harness users engaging in long, image-heavy multimodal chat sessions
  • Developers connecting DSH to LLM providers or vLLM deployments with strict per-prompt image quotas

Documented Limitations

  • Controls only image quantity, not individual image resolution or byte compression
  • Upstream image limits can only be learned automatically after experiencing the first HTTP 400 response
  • Inline images without original file paths cannot be retrieved by models once replaced
  • Requests that do not match recognized DSH chat completion request shapes will be bypassed

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 0 development, 1 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
mafeis/dsh-image-guard
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
878c17b · 2026-09-15

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
0GitHub stars
Forks
1
Open issues
0
Last commit
2026-09-14
Last release
2026-09-12
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app