dsh-auxiliary
DeepSeek Harness plugin that uses configured model providers for image analysis and context compaction.
AI 분석
核心用途是将图像分析(inspect_image工具)和上下文压缩任务重定向到指定的辅助模型。适合希望节省主模型Token消耗、利用特定视觉模型处理图片的用户。可在设置中直接配置。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Configuration
All fields are optional; defaults are shown.
- name: dsh-auxiliary
config:
vision:
maxTokens: 2048 # inspect_image output cap (provider/model written by the settings page)
tool:
enabled: true # register the inspect_image tool
maxImageBytes: 10485760 # per-file size cap
timeoutMs: 120000 # cooperative tool-call budget
compact:
enabled: false # reroute compaction summaries to an auxiliary model
provider: "" # e.g. deepseek-official (a registered provider route id)
model: "" # e.g. deepseek-chat (a model id on that provider)
engine:
enabled: false # optional compression engine (mutually exclusive with dsh-compaction-basic)
thresholdRatio: 0.8
retainRatio: 0.16
maxTokens: 8192
compactionRetries: 1
maxOverflowRetries: 1
auto: true
compressPrompt: "..." # custom compression instruction
Settings page: Auxiliary Models
The plugin ships a web settings section (Settings → Auxiliary Models).
Configure a provider and its models in the Models page first, then pick
them here: the page lists only providers that are currently enabled and
advertise at least one model in the catalog, and the model list shows only
that provider's catalog models. Saving writes vision.provider and
vision.model — the selection only affects the vision model inspect_image
uses; compaction summaries keep their own independent compact.provider /
compact.model pair.
Notes
compact.enabledreroutes onlypurpose: 'compaction'calls. Pointprovider/modelat any registered route — e.g.deepseek-officialwith a cheaper model (placeholders; replace with your actual provider route and model id).engine.enabled: truereplaces the stock compaction backend; do not load@deepseek-ai/dsh-compaction-basicat the same time. The plugin detects the conflict and skips the engine with a warning.- Vision tool arguments:
path(absolute or workspace-relative) and optionalquestion. Supported formats: PNG, JPEG, WebP, GIF.