DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-patch-reasoning

T

dsh-patch-reasoning

Discovered

DSH 升级后幂等重打的模型调优补丁:DeepSeek 推理拓宽为 7 档、workflow/ralph 默认模型 deepseek-v4-flash。Idempotent DSH model-tuning patch. | Platforms: macOS/Linux (Bash); Windows: Git Bash/WSL

dsh-patch-reasoning

中文 | English

GitHub stars Downloads License Script

一键重新应用 DeepSeek Harness 的「推理强度(reasoning effort)」补丁——自动探测 dsh 安装目录下所有适配器,按 provider 对齐各主流模型的真实档位(DSH 升级后运行一次即可)。补丁幂等:目标已满足预期则跳过,未满足则应用。

工作原理(自动探测 + 按 provider 对齐)

脚本启动时自动探测 dsh 安装目录下所有 dsh-llm-* 适配器,按 provider 类型分派「真实档位对齐」:

  • deepseek:适配器代码写死档位。对齐官方真实 off / low / high / max (有效 effort 仅 low/high/max 三档,medium/xhigh 后端并到 high,off 关闭思考)。 新版 dsh 已原生支持则跳过;旧版只有 off/high/max 则补齐 low。
  • pi-ai:配置驱动网关,原生支持 7 档全集(off/minimal/low/medium/high/xhigh/max,见其 THINKING_LEVELS)。 各模型可选档位由模型配置的 reasoningEfforts 声明决定,无需改代码,跳过。
  • retry 等包装层 / 未知 provider:跳过并提示。

说明:DSH 的主流模型(OpenAI / Claude / Gemini / Qwen 等)经 pi-ai 网关,档位已为官方全集;唯一确定需代码层对齐的是 dsh-llm-deepseek。脚本泛化为「探测所有适配器」,便于未来安装独立 provider 适配器时也能自动对齐。各主流模型 reasoning 等级完整对照见 REASONING_LEVELS.md。

获取

# 方式一:git clone(推荐)
git clone https://github.com/TOBYCAI/dsh-patch-reasoning.git
cd dsh-patch-reasoning

# 方式二:从 Releases 下载源码包
#   https://github.com/TOBYCAI/dsh-patch-reasoning/releases

脚本为单文件 dsh-patch-reasoning.sh,无需安装依赖。

用法

# 直接运行仓库里的脚本(先按「获取」clone / 下载)
bash dsh-patch-reasoning.sh

# 或放到 DSH 的 bin 目录后运行
bash ~/.dsh/bin/dsh-patch-reasoning.sh

运行脚本即应用上述 reasoning 补丁,幂等可重复运行。

适用性

  • 适配系统:macOS / Linux(需 Bash);Windows 请在 Git Bash / WSL 中运行(纯 bash 脚本,不适用于原生命令提示符)。
  • 适用于 DeepSeek Harness(DSH)本地部署,需要能访问你使用的 provider/模型配置。
  • 脚本是幂等的:重复运行不会重复打补丁。

License

MIT © TOBYCAI

Comments

Loading…

Similar plugins

dsh-auto-retry

by zxmqq1234

DeepSeek Harness(dsh)自动重试插件:报错自动重试、中断自动继续、挂起自动唤醒、 每一步右上角弹窗告诉你,不用再手动发"继续",数据看板还原每一次重试的真相。与 dsh系统重试互补而非替代——在内置重试耗尽或不覆盖的错误码上追加保障。

Manifest valid

★ 4

MIT

TypeScript

Sep 30, 2026

dsh plugin --profile web add dsh-auto-retry

by Liu-fu-gui

DeepSeek Harness (DSH) Desktop plugin: adds the missing 「升级 DSH」 entry — tray command + dsh_upgrade model tool, driving the official version service and installer channel via desktopRuntime.updates. 不

Manifest valid

★ 0

MIT

JavaScript

Sep 19, 2026

dsh plugin --profile web add dsh-desktop-upgrade

by g1998815

DSH(DeepSeek Harness) 右侧原生工具侧边栏插件:文件系统浏览器 / Git 变更与 diff / 会话变更 采用·撤回 / PTY 控制台。Windows 直连 node-pty,跟随 DSH 主题,RPC fail-closed。

Manifest valid

★ 3

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-workspace-tools

by lylarcher

一个DSH插件,为自定义模型配置输入类型(input)、推理模式(reasoningEfforts)

Tools & CapabilitiesManifest valid

★ 0

MIT

TypeScript

Aug 29, 2026

dsh plugin --profile web add dsh-model-capabilities

by rvaim

dsh-compat 是 DeepSeek Harness(DSH)的旧插件兼容层。它让原本面向 Claude Code、Codex 的插件尽量保持原目录与语义运行,而不是把每个插件重新迁移成 DSH 原生插件。

Manifest valid

★ 0

↓ 96/wk

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add @rvaim/dsh-compat

by JoukoPuro

一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM

Sessions & MessagesManifest valid

★ 6

↓ 107/wk

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-prompt-polish