dsh-workspace-prompts
Manifest validPer-workspace custom system prompts for DeepSeek Harness (DSH): set one active prompt per workspace, captured into a session at creation time, editable from a session-header dialog. For DeepSeek Harness's "Workspace Custom Prompts" plugin: one effective prompt per workspace, injected at session creation, add/update/delete/query via the session-header dialog.
dsh-workspace-prompts
Per-workspace custom system prompts for DeepSeek Harness (DSH). 给 DeepSeek Harness (DSH) 的「工作区自定义提示词」插件。
What is it? / 这是什么
dsh-workspace-prompts lets you attach one custom system prompt to each workspace. When you create a new session in that workspace, the prompt is captured into the session's system prompt — alongside the fixed system prompt. Edit it any time from a dialog in the session header.
dsh-workspace-prompts 让你给每个工作区配一条自定义提示词。在该工作区新建会话时,提示词会固化进该会话的系统提示词(叠加在固定系统提示词之上);随时可从会话头部的弹窗增删改查。
- Per-workspace / 按工作区:每个工作区一条生效提示词,互不影响。
- Captured at creation / 创建即固化:提示词在「新建会话」那一刻固化,之后修改配置不影响已存在会话。
- Inline management / 会话内管理:会话头部「工作区提示词」入口 + 弹窗完成增删改查、设为生效。
Features / 特性
- 🏷️ 会话头部入口按钮(复用 DSH 原生 header action 样式,明暗主题自适应)
- 🪟 弹窗管理:列表 / 新建 / 编辑 / 删除 / 设为生效,含空态与错误态
- 📌 单条生效:
activeId单选语义,Host 强制一致性 - 💾 数据落盘:工作区根目录
.workspace-prompts.json(跟随工作区走,可进 git) - ♻️ 跨重启保留:固化快照随配置文件落盘,会话 resume 后仍用创建时的版本
- 🤖 Agent 工具:
workspace_prompt_get/workspace_prompt_set,Agent 可自主查看/更新当前工作区提示词
Install / 安装
dsh plugin --profile web add dsh-workspace-prompts
然后重启 dsh web。
也可手动:在 profile 的
package.json加入依赖,并在dsh.profile.bundles里加入"dsh-workspace-prompts"。
Usage / 使用
- 在任一工作区的会话里,点会话头部右侧的「工作区提示词」。
- 弹窗里新建一条提示词,点「设为生效」。
- 在该工作区新建会话,系统提示词末尾会自动带上「## 工作区提示词 + 正文」。
- 或直接让 Agent 调用
workspace_prompt_get/workspace_prompt_set工具管理(无需打开弹窗)。
Capture semantics / 固化语义(重要)
- 提示词在新建会话时固化进该会话;之后编辑/删除/切换生效,只影响之后新建的会话。
- 已存在会话(含跨重启 resume)始终使用创建时固化的版本。
FAQ / 常见问题
Q: 它和 dsh-polling / dsh-office 有什么区别? A: dsh-polling 管定时任务,dsh-office 管可视化总览;本插件管工作区级自定义系统提示词,三者可共存。
Q: 数据存在哪?会不会丢?
A: 每个工作区根目录一个 .workspace-prompts.json(隐藏文件),跟随工作区迁移/备份,重启不丢。
Q: 为什么编辑后旧会话没变? A: 这是有意的固化语义——旧会话继续用创建时的版本,避免历史会话行为漂移。
Ecosystem / 生态
- DeepSeek Harness — the harness this plugin runs on
- dsh-plugin topic — more DSH plugins
License
MIT
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.3k
↓ 10.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 355/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026