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

AI 분석

实现文本与视觉模型的智能路由,并支持任意文件拖拽粘贴。适合需要频繁处理混合多模态输入及文件读取的用户。

패키지
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 目录已满足)。✅