插件目录 / Developer / dsh-preset-switch
dsh-preset-switch
已验证 · 实测可装 timsok-shit
功能简介
Switch agent presets in any DSH conversation — even ones that already have messages.
可用 — 实测通过,早期项目
Switch agent presets in any DSH conversation — even ones that already have messages. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-preset-switch
A small plugin that lets you switch the Agent Preset mid-conversation in DeepSeek Harness — even in conversations that already have messages.
What it does
By default, DSH only lets you pick a Preset in an empty conversation; once a conversation has messages, the Preset gets locked and can't be changed.
This plugin adds a dropdown to the conversation header so you can switch to another Preset (a different set of tools + prompt configuration) while a conversation is in progress — without opening a new one and losing context.
Usage
- Install the plugin (see "Install" below).
- Open any conversation.
- Click the Preset dropdown in the header and pick a target Preset.
- Empty conversations switch immediately; conversations that already have messages ask for confirmation first (to avoid accidental switches).
Requirements / Notes
- Only works in the currently open conversation. A historical conversation that isn't open in the UI must be opened first before you can switch it.
- After switching, new turns continue with the new Preset's tools and prompt.
Risks — what might get "worse" (read this)
Switching a Preset means swapping one set of "tools + prompt" for another. So when you switch mid-conversation, keep these in mind:
- Past tool calls may no longer line up: tools used earlier may not exist in the new Preset. The model may see tool calls in the history that it no longer recognizes, which can confuse it or cause it to repeat calls.
- Behavior may "jump": with a different prompt, the model's tone, role, and capability boundaries change, so conversational continuity can suffer.
- Results aren't guaranteed to be better: switching to a Preset that doesn't fit the current task can naturally make replies worse — that's not a broken install, just a mismatched Preset.
In short:
No switching, no impact. This plugin only acts when you actively choose to switch; mid-conversation switching is a double-edged sword — helpful when used well, worse when used poorly.
Install
dsh plugin --profile web add github:timsok-shit/dsh-preset-switch
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-preset-switch」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:timsok-shit/dsh-preset-switch Headless(CLI)profile:
dsh plugin --profile headless add github:timsok-shit/dsh-preset-switch 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。