rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HuaGyuu/dsh-pure-mode-preset
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个给 DeepSeek Harness(DSH)用的 Agent 预设。选中「纯净模式」后,发给模型的内容只有你和 AI 的消息:
dsh-mnemon 的运行时记忆快照与 instructions)source.kind === "user" 的真实用户消息 + 助手回复适合:想要最接近“裸模型对话”的体验、做对照实验、或验证模型原始输出。
complete: true 且文本为空的提示词段,取代整条系统提示词。tools.restrict({ allow: [] }) 隐藏所有宿主全局工具。working-directory:current 用空文本覆盖。source.kind === "user" 的用户消息,丢弃所有插件注入(mnemon 记忆、skill-catalog、time-context 等)。DSH 的 Agent 预设本质上是一份 Cordis 插件清单。本仓库提供两份插件 + 一条预设声明:
pure.js(预设内插件)complete: true 的提示词段 → 系统提示词为空;systemPrompt.suppressRuntimeContext() 去掉可选运行时快照;working-directory:current,去掉必需的“当前工作目录”提醒;tools.restrict({ allow: [] }) 屏蔽所有继承的全局工具。host.js(宿主级插件)system-prompt/assemble(agent/pre-step 之前)时,为其挂一个最外层的 agent/pre-step 过滤器;source.kind === "user" 的用户消息,把 dsh-mnemon 等插件的注入内容全部剔除;composedPreset === "pure" 的 Agent 生效,不影响其它会话。cordis.patch.yml:注册 pure-mode-host 宿主行和 pure 预设行。0.2.2-rc.3(Desktop / Web)。working-directory:current 上下文名、用户消息 source.kind === "user"、预设 composedPreset()。DSH 大版本变化时这些点可能需要适配。把本目录放到你机器上的固定位置(例如 D:\data\dsh-plugs\dsh-pure-mode-preset),然后在 DSH 的 插件 / Plugins → 添加本地插件 中选择该目录,启用 bundle,重启一次 DSH。
plugin_manager install_bundle target = <本目录绝对路径>
安装后新建会话即可在预设列表中看到「纯净模式」。
source.kind 约定或预设 API,需要相应更新本插件。dsh-pure-mode-preset/
├─ package.json # bundle 清单(@local/dsh-pure-mode)
├─ cordis.patch.yml # 注册宿主过滤行 + 纯净模式预设行
├─ pure.js # 预设内插件:空提示词 / 无上下文 / 无工具
├─ host.js # 宿主级插件:只保留 source.kind=user 的用户消息
├─ locale/ # 中英文标题与描述
├─ docs/DETAIL.md # 插件详情
└─ icon.svg # 图标
Pure Mode is a DeepSeek Harness agent preset that sends only the user and assistant messages to the model — no system prompt, no tool definitions, no runtime context (working directory, sandbox/approval policy, time, …), and no plugin-injected messages (such as dsh-mnemon runtime memory snapshots and instructions). It is meant for raw-model conversations and controlled experiments. See the sections above for install (Plugins → Add local plugin) and usage (pick the 纯净模式 preset for a new session).
MIT © 2026 HuaGyuu
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。