Zephyr-vibe/dsh-personalize 预览 preview

Zephyr-vibe/dsh-personalize

DSH的按主机个性化设置:自定义指令、本地长期记忆以及回复语气预设。

Project Overview项目介绍

This is a native web plugin built exclusively for DeepSeek Harness (DSH) that enables per-host conversation personalization. It injects user-created custom global instructions into every session’s system prompt, allows for both manual and automatic collection of persistent long-term local memory, and offers multiple pre-built reply tone presets to match different conversation needs. To install the plugin, you can either run a DSH CLI command to add the tarball directly, or ask your DSH agent to handle the entire download, install, and registration process automatically. If pnpm blocks the build script during installation, you can append the --ignore-scripts flag to the end of the install command to resolve this issue. After installation, you only need to restart the DSH web app to see the new personalization entry in the settings menu.

After installation, the plugin works out of the box with zero configuration required. It automatically resolves the DSH_HOME directory, falling back to ~/.dsh if the environment variable is not set. On first run, it automatically creates the required personalize directory under DSH_HOME, along with the config.json and memory.json files needed to store your custom settings and memory entries. It only uses official public DSH services like webServer, tools, and systemPrompt, so no modifications to the DSH core are needed for it to work correctly. It also supports a bilingual UI that automatically switches between Chinese and English to match your DSH language setting.

The plugin includes multiple safety features to prevent accidental data loss. All memory deletion operations require explicit confirmation from the user before any entry is removed, so no entries are ever deleted silently. If the memory.json file becomes corrupted, the plugin automatically backs it up with a timestamped suffix and locks further writes to prevent additional data loss. You can adjust the maximum number of memory entries directly in the settings UI, with a default limit of 50 entries and a supported range from 1 to 1000. When you manually edit the memory file outside of DSH, you will need to restart the DSH web app for your changes to take effect. The entire plugin is open source under the permissive MIT license, so you can use, modify, and distribute it freely without any cost.

这是一个原生DeepSeek Harness(DSH)网页插件,专门为DSH提供本机级别的对话个性化能力。它支持将用户自定义的全局指令注入到每一个会话的系统提示中,还提供可手动添加或自动收集的本地长期记忆功能,以及多种预设回复语气选项,方便用户根据自身使用场景和需求定制和AI的对话体验。

安装方式非常简便,既可以通过DSH命令行直接添加tarball包安装,也可以让DSH智能体自动完成下载、安装和注册流程。安装完成后只需重启DSH网页端,设置菜单中就会自动出现个性化功能入口。它无需任何额外配置,装完即可使用,首次运行时会自动在DSH_HOME目录下创建所需存储目录,对应的配置和记忆文件会自动持久化保存。

它支持中英双语界面,会跟随DSH的系统语言设置自动切换。记忆删除前会弹出确认提示,避免误删内容,同时还具备文件损坏保护功能,会自动备份损坏的记忆文件,防止数据无声丢失,还支持自定义记忆条目容量上限,可在设置界面调整。该插件基于MIT协议开源,用户可以免费使用、修改和分发代码,没有额外的使用成本限制。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-personalize/tar.gz/refs/heads/main

把 Zephyr-vibe/dsh-personalize 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-personalize

A DSH web plugin: per-host personalization — global custom instructions, local long-term memory, and reply-tone presets, applied to every conversation on this machine.

一个 DSH Web 插件:本机个性化 — 全局自定义指令、本地长期记忆、回复语气预设,应用于本机所有对话。

Features(功能)

English

  • Custom instructions: a user-written block injected into every session's system prompt.
  • Local long-term memory:
    • Add entries manually, or let the agent collect automatically via tools (memory_create, memory_list, memory_delete)
    • Every deletion asks for confirmation first — nothing is removed silently
    • Entries are injected into every system prompt and persisted at {DSH_HOME}/personalize/
  • Reply-tone presets: warm & friendly / direct & efficient / precise & professional / playful & humorous / custom — injected as a prompt section.
  • Bilingual UI (中文 / English), switched with the DSH language setting.

中文

  • 自定义指令:一段用户手写的说明,注入每个会话的系统提示。
  • 本地长期记忆:
    • 支持手动添加,也可让智能体通过工具(memory_create / memory_list / memory_delete)自动收集
    • 每次删除都会弹出确认提示,绝不静默移除
    • 记忆注入每个会话的系统提示,持久化保存在 {DSH_HOME}/personalize/
  • 回复语气预设:温和贴心 / 高效直接 / 严谨专业 / 风趣幽默 / 自定义 — 作为提示段注入。
  • 中英双语界面,随 DSH 语言设置切换。

Install(安装)

方式一:直接 tarball 安装

Option 1: Direct tarball install.

dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-personalize/tar.gz/refs/heads/main

如果 pnpm 拦截构建脚本,在命令末尾加 --ignore-scripts:

If pnpm blocks build scripts, append --ignore-scripts:

dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-personalize/tar.gz/refs/heads/main --ignore-scripts

方式二:让 agent 安装

Option 2: Let an agent install it — tell your DSH agent:

帮我把这个项目安装为插件:https://github.com/Zephyr-vibe/dsh-personalize

The agent downloads the repo, places it into the profile's node_modules, and registers it in dsh.profile.bundles.

agent 会下载项目、放入 profile 的 node_modules 并注册到 dsh.profile.bundles。

安装后重启 web 端,即可在「设置」中看到「个性化」入口。

After installing, restart the web app — the Personalization panel appears in Settings automatically.

Zero config(零配置)

No setup required — everything is derived automatically at runtime.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-trajectory-governance 下一个 Next dsh-better-model-thinking-control →