Moeblack/dsh-preset-kit

Moeblack★ 0TypeScriptLast synced: 2026-08-15

Open on GitHub

DSH 插件:把 agent preset 作为插件包发布——软链接安装、热更新、归属登记、干净卸载 | Publish DeepSeek Harness agent presets as plugins: symlink installs, hot reload, ownership records, clean uninstall

README excerpt

dsh-preset-kit Publish agent presets into a DeepSeek Harness home: copy installs refreshed on every boot, owner tracking, and clean uninstall. Why dsh treats presets as local files: a preset is a directory under $DSH HOME/.agent-presets/ / holding agent.cordis.yml (+ optional preset.yml ). Bundles cannot add preset roots — composeProfile replaces the agent-presets row's roots with the shipped root at the top overlay — so a plugin that ships a preset has to write into the user root itself. This kit is that shared piece: publish, conflict rules, ownership records, and uninstall, so every preset-carrying plugin does not reinvent it. Hot reload vs. boot refresh - dsh-agent-presets re-reads its roots on every list() / resolve() , so a preset that appears in the user root is visible immediately — no restart. - dsh's preset scanner does not follow symlinks ( readdir file types + isDirectory() ), so the default mode is copy . Republish on every plugin boot (the natural apply() cadence) to refresh the copied preset from its source — upgrading the plugin and restarting dsh updates the preset. - symlink mode exists for tooling that consumes the user root itself, but a symlinked preset is invi…

View full README on GitHub →
Agentsagent-presetdeepseek-harnessdshdsh-pluginagent

Category