aorucshiea/dsh-preset-switch 预览 preview

aorucshiea/dsh-preset-switch

Optional mid-session agent-preset switching for DeepSeek Harness

项目介绍Project Overview

dsh-preset-switch 是 DSH 插件,用于在运行中的会话切换 Agent 预设。提供 /preset <id>、编号快捷切换、网页斜杠菜单可搜索弹窗、头部下拉及 HTTP 接口,并用 /preset-toggle 开关。适合需要中途更换预设的场景;它会绕过空白会话锁定并提示警告,旧工具调用可能与新预设不匹配。

dsh-preset-switch is a DSH plugin for switching agent presets during a running session. It provides /preset <id>, numbered shortcuts, a searchable web slash-menu popup, a header dropdown, and an HTTP endpoint, with /preset-toggle to enable or disable it. Use it when you need deliberate mid-session preset changes. It bypasses the blank-session lock and warns that prior tool calls may not match the new preset.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:aorucshiea/dsh-preset-switch

aorucshiea/dsh-preset-switch 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-preset-switch

Switch DeepSeek Harness agent presets in a running session.

Screenshots

Slash-menu popup picker:

Preset switch slash menu popup picker

Header dropdown:

Agent preset dropdown in session header

Features

  • /preset <id> command to switch the agent preset live.
  • Web popup picker: in the browser slash-menu, picking /preset opens a searchable second-level menu; select a preset instead of typing it.
  • /preset <number> also works as a keyboard fallback (e.g. /preset 2).
  • /preset-toggle [on|off] to enable/disable the feature.
  • HTTP endpoint for UI integration.
  • Allows deliberate mid-session switching; the official blank-session lock is bypassed and a warning is shown because old tool calls may not match the new preset.

Install

dsh plugin --profile web add github:aorucshiea/dsh-preset-switch

Usage

/preset                       show current preset and numbered menu
/preset <id>                  switch preset on a blank session
/preset <number>              same as /preset <id>, picked by menu number
/preset-toggle on|off         enable / disable the command

Notes

  • No API keys or credentials are stored in this repository.

License

MIT

上一个 Prev dsh-better-at 下一个 Next dsh-brainagent