dsh-chat-settings
IdentifiedPer-conversation system prompt, turn-based context folding, sampling overrides and a low-token pure chat mode for DeepSeek Harness.
dsh-chat-settings
Per-conversation chat settings for DeepSeek Harness.
Give one conversation its own system prompt, fold older turns out of context, override sampling, and switch it into a low-token pure chat mode — without touching global settings.
给单个对话加设置:对话级系统提示词、按轮数折叠上下文、采样参数,以及低 token 的纯聊天模式——不改全局配置。
What it does
| Conversation settings | Context control |
|---|---|
| A system prompt that belongs to one conversation only. | Keep the latest N turns; older ones fold into a single notice. |
| Pure chat mode | Workspace opt-in |
| Persona-only preset with no tools and no runtime context — a short greeting costs a fraction of the standard agent. | The settings button only appears in workspaces you check in Settings. |
Install
From npm — published as @fallnstrelitzia/dsh-chat-settings:
dsh plugin --profile <profile> add @fallnstrelitzia/dsh-chat-settings
Or install the package itself with npm i @fallnstrelitzia/dsh-chat-settings.
从 npm 安装:运行上面的 dsh plugin add,或直接 npm i @fallnstrelitzia/dsh-chat-settings。
From a checkout — point dependencies in the profile package.json at this directory with link: and add the package name to dsh.profile.bundles.
从本地目录安装:把 profile package.json 的依赖写成 "@fallnstrelitzia/dsh-chat-settings": "link:<this-dir>",并把包名加入 dsh.profile.bundles。
Use
- Settings → Chat settings — check the workspaces that should expose the feature.
打开 设置 → 对话设置,勾选需要启用该功能的工作区。 - A Chat settings button appears next to the conversation title and in the new-session row.
对话标题旁、新会话行会出现 对话设置 按钮。 - Set the prompt, context turns and optional sampling values, then save.
填写提示词、上下文条数、可选采样参数并保存。 - Tick Pure chat mode to switch that conversation to the persona-only preset; untick to switch back.
勾选 纯聊天模式 切到纯人设 preset,取消勾选切回原模式。
What pure chat mode changes / 纯聊天模式改了什么
The conversation moves to chat-settings-pure-chat, a preset that mounts only a persona. No tools are offered to the model, and the plugin denies every globally registered tool inside that agent's scope. The system prompt is one persona line plus your instructions, filled in through a prompt variable at render time.
该对话切到 chat-settings-pure-chat preset:只挂一个人设,不给模型任何工具,并在该 agent 作用域内拒绝所有全局工具。系统提示只有一句人设加你的指令,指令通过提示词变量在渲染时填入。
Uninstall
Pure-chat conversations record the preset id in their log header, so before removing the plugin either:
- open the plugin detail page and click Move chat sessions to standard, or
- open each pure-chat conversation and untick the mode.
Removing the plugin also detaches cold conversations automatically. Plugin data lives in $DSH_HOME/chat-settings/settings.json.
纯聊天会话会在日志头记录 preset id,卸载前请先在插件详情页点 迁移纯聊天会话,或逐个打开对话取消纯聊天模式。卸载时未打开的会话也会自动改回标准模式。插件数据位于 $DSH_HOME/chat-settings/settings.json。
Package layout
index.js Host half: storage, HTTP routes, prompt/context/tools hooks
client.js Client half: settings dialog, settings page, detail action
cordis.patch.yml Loader patch: the plugin row and its pure-chat preset
locale/ UI strings
icon.svg Plugin icon
icon-180.png Storefront icon
Scope
Not a general chat client, not a theme, not a replacement for DSH's own sessions. It only shapes how one conversation is assembled before the model is called.
不是通用聊天客户端,不是主题,也不替代 DSH 自己的会话管理——它只决定一个对话在调用模型前如何组装。
License
Comments
Loading…
Similar plugins
Dialog fence for DSH / DSH Desktop: per-conversation behavioral rule fence injected into runtime context without breaking prompt cache
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-dialog-fenceby YunongDai2005
One main chat for DeepSeek Harness, with automatic history routing and topic workspaces.
★ 7
↓ 1.9k/wk
NOASSERTION
TypeScript
Oct 19, 2026
dsh plugin --profile web add dsh-theoneby zdjmrq
给 DeepSeek Harness 的「纯对话」模式:像网页版一样聊天,但会自己多轮思考
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add think_betterby Stmol
DSH plugin: keep your own prompts in Settings and switch them on per chat
★ 2
↓ 28/wk
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add @stmol/dsh-prompt-libPer-session prompt profiles for DeepSeek Harness: reusable system-prompt sections, grouped into named profiles, sealed into the session prompt.
★ 0
dsh plugin --profile web add @knopki/dsh-prompt-profilesby omdsh-plugins
Chat mode for the DeepSeek Harness web GUI: a Chat/Work switch above the conversation, a workspace-free session-intent surface, and the managed Chat workspace its conversations are kept in
★ 0
MIT
TypeScript
Sep 3, 2026
dsh plugin --profile web add @omdsh-plugins/omdsh-chatmode