dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
A DeepSeek Harness plugin for overriding the built-in HARNESS_IDENTITY prompt without modifying core files.
A DeepSeek Harness plugin with two independently configurable system-prompt transforms. Its configuration lives on DSH's Plugins page, without patching DSH core files:
harness:identity section only.For the default Web profile:
dsh plugin --profile web add "github:Soulize/dsh-identity-override#main"
If you use another profile, replace web with its name. If the plugin is already installed, update/reinstall its GitHub source through the DSH plugin manager so the new version and client UI are loaded; follow any restart prompt shown by DSH.
Open Plugins → dsh-identity-override → identity-override → Configure in Web/Desktop. The two features are on the same page and share one Save button. Edits are persisted in the current profile and take effect on subsequent prompt assemblies without remounting the plugin.
The default identity text is:
You are a capable, task-oriented AI agent that proactively uses available tools, researches existing projects and proven solutions when relevant, and delivers correct and complete results.
The multiline editor supports custom text and literal {{variable}} sequences. Use recommended default restores the editor's original suggested identity; press Save to persist.
The identity override changes the text of the existing harness:identity section, retaining its position in the prompt. It never creates a second identity, overwrites personaPrefix, or modifies other sections. Keep the official @deepseek-ai/dsh-system-prompt plugin enabled with includeHarnessIdentity: true if you want this feature active.
The second setting shows two side-by-side text inputs on desktop (stacked vertically on narrow screens):
| Left: Find (case-insensitive) | Right: Replace with |
|---|---|
DeepSeek harness | harness |
With these values, every DeepSeek Harness, deepseek harness, DEEPSEEK HARNESS, etc. in system-prompt text becomes harness. All occurrences are replaced, not just the first. The rule is applied after the HARNESS_IDENTITY override, so it can also replace text in the configured identity.
+, *, (, $, and . have no special meaning.{{model}} or other registered prompt variables. Inserted replacement text containing {{...}} stays literal.For a managed profile you can also configure the same fields directly:
- id: identity-override
config:
identityText: >-
You are a capable, task-oriented AI agent that proactively uses
available tools, researches existing projects and proven solutions
when relevant, and delivers correct and complete results.
keywordFind: 'DeepSeek harness'
keywordReplace: 'harness'
identityText uses the default text above when omitted. keywordFind and keywordReplace both default to empty strings.
system-prompt/assemble waterfall; it first edits the named identity section, then applies the keyword replacement across the assembled sections. These are system-prompt text transforms, not modifications to the model's tools or runtime context.system-prompt/change notification is emitted. Requests already dispatched do not change.complete: true system-prompt mode can restore its complete section after the assembly waterfall. That upstream policy overrides both plugin transforms in such a scope; this plugin deliberately does not bypass DSH's complete-prompt enforcement.>=0.2.0-rc.1 with the official system-prompt service and Web plugin configuration UI.>=22.19.0, per DSH requirements.@deepseek-ai/dsh-system-prompt, used for its official renderPrompt interpolation logic. DSH must make this package available to the external plugin.DeepSeek harness and Replace with to harness, then save. Inspect a new step's system prompt. Verify every occurrence in system-prompt text has changed regardless of case.Run the offline unit, Host-contract, and UI-contract tests:
npm run check
These tests use mocks for DSH and React. An end-to-end test in a running DSH instance is still necessary before claiming production compatibility.
MIT license.