dsh-periscope
DSH plugin: keep text-only models (deepseek-v4-flash / deepseek-v4-pro) as the session default and automatically route image-bearing requests to a configured vision model; also ships the generic file-attachment feature (drag/paste any file as a durable attachment the agent reads by path) as core patches (apply via scripts/patch-core.mjs).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lmh-2026/dsh-periscope说明文档
阅读完整 README ↗🛠️ 配置
官方 DeepSeek 无需任何设置即开箱即用:
| 字段 | 默认 | 说明 |
|---|---|---|
provider | deepseek-official | 承载模型的路由 provider |
textModels | ["deepseek-v4-flash", "deepseek-v4-pro"] | 含图请求会被路由到视觉模型的文本模型 |
visionModel | deepseek-v4-flash-vision-exp | 含图请求使用的视觉模型 |
在 profile 的 cordis.patch.yml(用户层会整体替换该行配置)覆盖:
- id: periscope
config:
provider: deepseek-official
textModels: [deepseek-v4-flash, deepseek-v4-pro]
visionModel: deepseek-v4-flash-vision-exp
该 provider 的模型目录需同时包含这些文本模型与一个声明了 image 输入的视觉模型(DeepSeek 目录已满足)。✅