dsh-preset-switch
Agent 与会话 活跃维护

dsh-preset-switch

timsok-shit/dsh-preset-switch

轻量级对话预设切换工具,无需重建会话即可在任意已存在历史消息的对话中更换代理预设,操作直接高效,无需额外复杂配置。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
16 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:timsok-shit/dsh-preset-switch
git clone https://github.com/timsok-shit/dsh-preset-switch.git
git clone git@github.com:timsok-shit/dsh-preset-switch.git
README.md main

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

  1. Install the plugin (see "Install" below).
  2. Open any conversation.
  3. Click the Preset dropdown in the header and pick a target Preset.
  4. 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