DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-global-prompt

s

dsh-global-prompt

Manifest valid★ 3

Settings panel for global and per-workspace AGENTS.md, with identity and persona injection, runtime-context toggle, and result notifications.

UI (client)hasBundlePatch

🧭 dsh-global-prompt

给 DeepSeek Harness 的提示词管理装上图形界面:全局 AGENTS.md、各工作区 AGENTS.md 可视化编辑,改完即生效,不用再手动翻文件。

License: MIT

这是什么

DSH 的指令注入机制(dsh-agent-instructions)是读文件的:$DSH_HOME/AGENTS.md 就是全局提示词,写进去就生效。但没有面板,你得自己去翻安装目录改文件。

本插件在设置面板里开了三个 tab,把这件事变成点一点:

Tab干什么
全局编辑 $DSH_HOME/AGENTS.md,下一条消息就生效,不用重启、不用开新会话
项目按工作区管理各自的 AGENTS.md,只对那个工作区生效
通知任务完成/失败弹系统通知,点一下回到对应会话

特性

  • 双向同步:插件外直接改 AGENTS.md,面板能读到(150ms 内自动回写设置);面板保存,文件被重写。两个方向都有内容守卫,不会互刷。
  • 不丢数据:你手动维护过 AGENTS.md 的话,插件启动时以磁盘为准回填设置,绝不会被默认空值覆盖;关闭「启用」也不会清空你的文件。
  • 身份注入:可选在每次对话开头加一句「我是 DeepSeek Harness」。
  • 人设注入:写一段人设,一直拼在对话里。支持 {{model}}、{{cwd}} 占位符。
  • 运行时上下文开关:不需要时抑制 DSH 自带的会话信息快照。
  • 结果通知:桌面壳用系统通知,纯 Web 用浏览器通知。

安装

独立安装

dsh plugin --profile <你的profile> add dsh-global-prompt

随壳内置

dsh-desktop 安装器已捆绑本插件(默认启用,可在插件管理里关掉)。

原理:本插件的 bundle patch 会重新启用 dsh-agent-instructions(web-app bundle 默认禁用它),面板里写的 AGENTS.md 由官方机制注入——所见即所注入。

开发

纯 ESM,无构建步骤。结构:

  • index.js — 服务端:settings 注册、AGENTS.md 双向同步(目录监听 + 防抖)、两个 HTTP API、身份/人设注入、运行时上下文抑制
  • client.js — 设置面板 UI(全局/项目/通知三 tab)
  • lib/core.js — 校验与工具函数(persona ≤ 20000 字符、指令 ≤ 1MiB)
  • test/global-prompt-sync.mjs — 双向同步防环自测(mock dsh-settings 语义)

跑测试:

node test/global-prompt-sync.mjs

兼容性

  • 官方 dsh >= 0.1.1-rc.1(npm latest 为 0.1.1-rc.2)
  • Node >= 20
  • DSH Web 与 dsh-desktop Electron 壳均可

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.7-rc.2: failedDSH 0.2.1-alpha.2: failed

Versions

Latest versionPublishedSize
0.1.2——

Comments

Loading…

Similar plugins

dsh-agent-prompt

by icrefin

Edit the AGENTS.md instruction files DeepSeek Harness actually loads - user-global and per-workspace - from a left-sidebar panel in the GUI.

Manifest valid

★ 0

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-agent-prompt

by svgop

Agent instruction manager for DSH — edit and template the AGENTS.md files the harness actually reads (global + per-workspace)

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-rich-context

by knownothing114

Native desktop alerts when dsh needs the human — approvals, questions, plan reviews, turn completion, goals, errors and workflow runs — plus a Settings tab for every option, hot-applied.

Notifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Aug 28, 2026

dsh plugin --profile web add dsh-notify

by kingzhz

Global AGENTS-style rules as many independent markdown files, with a settings GUI — fills the gap left by DeepSeek Harness's single hard-coded global AGENTS.md.

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-global-rules

by OZONGO

Run the AGENTS.md authoring workflow inside a subagent, so no instruction body enters the main conversation.

Workflow & AutomationManifest valid

★ 0

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-agents-init

by ZZJQ678

全局提示词配置:在对话视图新增一个标签页,写进去的内容会加在每个会话系统提示词的最前面,保存后下一条消息即生效。

Development & InfrastructureSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-global-context