dshbase

插件目录 / Developer / Deepseek-Harness-plug

Deepseek-Harness-plug

已验证 · 实测可装 Bxfjjb

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

我的dsh插件

我们的评价

尚无短证据报告

这里还没有可核对的逐级实测记录。Star 数、目录 test 字段、web-only 标记,以及插件是否需要外部账号或服务,都不会在这里被写成通过或失败。目录徽章仍按 catalog 原样显示。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-model-stage-router

DeepSeek Harness 插件:按工作阶段自动路由模型——对话和规划用 flash(快、省),真正实施用 pro(稳、准)。

路由逻辑

阶段 模型 判定信号
对话 flash(保持默认) 无明确信号
规划 flash plan mode 活跃
实施 pro 本会话出现突变工具调用

「进入实施」的判定:会话内第一次调用以下任一工具后,该会话后续请求保持 pro:

  • write / edit(写文件)
  • exit_plan_mode(计划批准,开始动手)
  • subagent / subagent_fork / workflow / ralph(委托执行)

安装

dsh plugin --profile web add git+https://gitee.com/god-bless-my-son/deep-seek-plugin.git

或本地 checkout:

dsh plugin --profile web add ./dsh-model-stage-router

配置

默认值已够用;如需调整,在 $DSH_HOME/cordis.patch.yml 覆盖 model-stage-router 行的 config:

- id: model-stage-router
  config:
    flashModel: deepseek-v4-flash
    proModel: deepseek-v4-pro
    # 自定义触发「实施」的工具名单:
    mutatingTools:
      - write
      - edit
      - exit_plan_mode
      - subagent
      - subagent_fork
      - workflow
      - ralph

卸载

dsh plugin --profile web remove dsh-model-stage-router

说明

  • 状态按 session 独立判定,进程内保存(重启后重置,不持久化)。
  • 对话阶段不覆盖用户显式选择的模型,只保留 agent 默认(DSH 默认即为 flash)。
  • 一旦进入实施,该会话保持 pro,直到会话结束。

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 Deepseek-Harness-plug」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Bxfjjb/Deepseek-Harness-plug

Headless(CLI)profile:

dsh plugin --profile headless add github:Bxfjjb/Deepseek-Harness-plug

实测报告

尚无短证据报告

这里还没有可核对的逐级实测记录。Star 数、目录 test 字段、web-only 标记,以及插件是否需要外部账号或服务,都不会在这里被写成通过或失败。目录徽章仍按 catalog 原样显示。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 26846 个插件 →