概览
dsh-global-system-prompt
源码级技术说明cc-switch-style global prompt for DeepSeek Harness (dsh 0.1.5): one user-editable block injected into the system prompt of every conversation, mirrored into each session project's AGENTS.md, and naming the harness's user-global AGENTS.md by absolute path so the model stops hunting for it. Edited from the web settings panel.收起技术说明
cc-switch-style global prompt for DeepSeek Harness (dsh 0.1.5): one user-editable block injected into the system prompt of every conversation, mirrored into each session project's AGENTS.md, and naming the harness's user-global AGENTS.md by absolute path so the model stops hunting for it. Edited from the web settings panel.
README / ZH
插件文档
目录摘要
cc-switch-style global prompt for DeepSeek Harness (dsh 0.1.5): one user-editable block injected into the system prompt of every conversation, mirrored into each session project's AGENTS.md, and naming the harness's user-global AGENTS.md by absolute path so the model stops hunting for it. Edited from the web settings panel.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- 只在 dsh 0.1.5 系列验证过;段落插值规则、`settings.section` 槽位契约、`agent/session-start` / `agent/pre-step` 的载荷若在未来版本变化,需要跟着改。 - 面板是**全局一段**,没有 cc-switch 那种「按 provider 分别配置」的多档位;需要多份就装多份(改 `file` 与 `order`)或直接用行配置切。 - 注入的是提示词文本,不做权限/沙箱方面的任何事。 - `syncProjectAgents` 会**真的改你的工作区**:会在项目里新建/修改 `AGENTS.md`(git diff 里会看到它),这是它的目的。不想要就 `syncProjectAgents: false`,或在 `projectAgentsFallback: 'skip'` 下让没有 `.git` 的目录被跳过。 - 项目同步以**会话工作目录**为准:一个进程里不同会话开着不同项目,就各写各的;`cwd` 变化的会话(理论上没有)不会重挑项目根。 - 面板上的项目同步状态是**进程内的**:重启 dsh 后列表从空开始,文件里的区块不受影响。
