dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
A personalization plugin for DeepSeek Harness
English | 简体中文
Personalization plugin for dsh: teach your assistant who you are, who it is, and what to remember — right from dsh settings. Configure once and it applies to every task and every reply.
dsh web restart needed~/.dsh/personalization.json — nothing is uploaded anywhereChinese UI:
Pin the version explicitly (current latest v1.0.0):
dsh plugin --profile web add dsh-personalization@1.0.0
Always include the
@1.0.0version tag to be sure you get this release; using the bare package name installslatestand cannot guarantee the version.
Restart dsh web to activate.
dsh plugin --profile web rm dsh-personalization
Everything lives in ~/.dsh/personalization.json. You can edit it by hand — changes are picked up on the next turn, no restart required:
{
"enabled": true,
"nickname": "Wei",
"aiName": "Shen",
"instructions": "Lead with the conclusion, then elaborate.\nWrite code comments in Chinese.",
"persona": "A rigorous senior engineer with a dry sense of humor."
}
| Field | Meaning | Limit (chars) |
|---|---|---|
enabled | Master switch; false disables injection entirely | — |
nickname | What the AI calls you | 80 |
aiName | The AI's own name | 80 |
instructions | Standing instructions | 1500 |
persona | Persona / character description | 2000 |
The plugin has two halves:
lib/index.js, Node): registers a personalization:user section (order 1, right after the built-in persona) with dsh's system-prompt registry. The section re-reads the config file on every prompt assembly, which is why saving takes effect immediately. It also serves two same-origin HTTP endpoints, /personalization-config (read) and /personalization-config-save (write).lib/client.js, browser): registers the Personalization page into the settings page's settings.section slot (order 25), talking to the endpoints above and following the dsh UI language.When everything is empty or the master switch is off, the section renders an empty string and dsh drops it from the prompt — zero overhead.
Questions or suggestions? Feel free to reach out:
If this plugin helped you, consider buying me a ham sausage for dinner 🌭
MIT