lmh-2026/dsh-periscope0

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).

包名
dsh-periscope
版本
0.3.1
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lmh-2026/dsh-periscope

🛠️ 配置

官方 DeepSeek 无需任何设置即开箱即用:

字段默认说明
providerdeepseek-official承载模型的路由 provider
textModels["deepseek-v4-flash", "deepseek-v4-pro"]含图请求会被路由到视觉模型的文本模型
visionModeldeepseek-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 目录已满足)。✅