DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-pure-mode

Pure Mode

DSH Pure Mode: Assemble only your own prompts; manage global and session prompts from the “Pure Mode” panel in the upper-left corner.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:snow-quiet/dsh-pure-mode#8adebf8d3b9dff62e1d485845599b87851481147
READMECompatibilityVersions

Compatibility and provenance

Pure Mode is published as dsh-pure-mode and currently resolves to version 0.4.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/26/2026

Versions

0.4.0stable
10/26/2026

Related plugins

Loading related plugins…

Latest
0.4.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/26/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in memory-context.

Experimental Session Search@deepseek-ai/dsh-experimental-session-searchGive Agents tools to search and read earlier sessions from the current workspace.Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek Harness

README

dsh-pure-mode

DSH 的纯净模式:一个 agent preset,只装配你自己的提示词;并提供一个左上角面板管理全局 / 会话提示词。

装配结果

  • 没有 harness 身份段
  • 没有工具指引、没有工具 schema(模型拿不到任何工具)
  • 没有运行时上下文(时间 / cwd / sandbox 策略 / 技能目录 / AGENTS.md 全无)
  • 没有官方 agent 平面的任何插件

三层防线(从里到外)

层做法作用
① sectionsystemPrompt.section({ complete: true })官方 assemble 保证这是唯一段
② waterfallsystem-prompt/assemble + prepend压掉第三方注册的段/上下文/工具
③ 方法级包 agent.loopCtx.systemPrompt.assemble在最外层接管,并占住全局 Symbol 守卫槽,防止其他插件每轮重包

第 ③ 层是必须的:内层守卫每轮会把 inject 塞回去,只靠 ①② 会被覆盖。

提示词

优先级:会话覆盖 > 全局 > 空

作用域文件
全局%USERPROFILE%\.dsh\pure-prompt.md
会话%USERPROFILE%\.dsh\pure-mode\prompts\<sessionId>.md
空文件不存在或内容为空 → 模型收到空的 system

每轮装配重读文件,改完下一轮生效,不需要重启。

左上角面板

conversation.header.leading 槽(会话标题左侧)注册「提示词」按钮,打开右侧抽屉:

  • 全局提示词:编辑 pure-prompt.md
  • 会话提示词:下拉选会话,编辑该会话的覆盖;「删除覆盖」回落全局
  • 底部显示当前字符数、是否处于覆盖状态

数据走 host 路由:

路由方法说明
/pure-mode/prompt?scope=globalGET / PUT读/写全局
/pure-mode/prompt?scope=session&sessionId=…GET / PUT / DELETE读/写/删会话覆盖
/pure-mode/sessionsGET会话列表(标题、cwd、是否有覆盖)

所有请求先过 connection.requestRejection;会话 id 只允许 [A-Za-z0-9._-],不拼路径。

文件

dsh-pure-mode/
├─ package.json        # dsh.bundle.patch + dsh.client
├─ cordis.patch.yml    # 只 insert 一条 preset(id: pure)
├─ index.js            # host 半:section / 清洗 / guard / 路由
├─ client.js           # client 半:左上角入口 + 面板
├─ selftest.mjs        # 离线测试
└─ README.md

启用 / 回滚

启用:profile 的 package.json 里 dependencies 加 file: 依赖、dsh.profile.bundles 加 dsh-pure-mode,pnpm install,重启。

回滚:删掉这两处,pnpm install,重启。插件不写 profile 之外的配置。

从 GitHub 安装

git clone https://github.com/snow-quiet/dsh-pure-mode "$env:USERPROFILE\.dsh\plugins\dsh-pure-mode"

然后按下面「从 zip 安装」的第 2–4 步配置 profile 并 pnpm install。

从 zip 安装

  1. 解压,得到 dsh-pure-mode/ 目录,放到任意位置,例如 C:\Users\<你>\.dsh\plugins\dsh-pure-mode
  2. 打开 %USERPROFILE%\.dsh\profiles\<profile>\package.json:
    • dependencies 加一行 "dsh-pure-mode": "file:<解压后的绝对路径,用 / 分隔>"
    • dsh.profile.bundles 数组里加 "dsh-pure-mode"
  3. 在该 profile 目录执行 pnpm install
  4. 重启 DSH 桌面端

示例:

{
  "dependencies": {
    "dsh-pure-mode": "file:C:/Users/me/.dsh/plugins/dsh-pure-mode"
  },
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-pure-mode"]
    }
  }
}

卸载:删掉这两处 → pnpm install → 重启。

升级后检查

cd <插件目录>; node tools-sync.mjs
  • 输出「配置缺失」→ 必须补(否则 preset 变 broken、模式从列表消失)
  • 输出「官方有、我们没有的工具」→ 按需,重插件可以不加

验证

cd C:\Users\33631\.dsh; node pure-check.mjs

期望:

preset  : pure
--- system/message turn 1 step 1: 28 chars ---
tools in request header: 0
runtime-context user messages: 0

诊断日志:%USERPROFILE%\.dsh\pure-mode.log(guard: installed 表示第 ③ 层已装上)。