dsh-preset-diff

August 16, 2026 · View on GitHub

Compare two agent.cordis.yml files and report which tools/services/groups were added, removed, or changed (disabled flag, isolate realm, package name). Handles the !!js config dialect.

node bin/preset-diff.mjs <a.yml> <b.yml>            # text diff to stdout
node bin/preset-diff.mjs <a.yml> <b.yml> --out d.html  # color-coded HTML

Example:

node bin/preset-diff.mjs standard/agent.cordis.yml minimal/agent.cordis.yml
# + filesystem isolate:fs
# - tool-bash → @deepseek-ai/dsh-tool-bash
# ...

This is the "compare" sibling to dsh-compose-viz (render one) — viz shows what is wired, preset-diff shows what a fork changed.


dsh-preset-diff — 对比两个 DeepSeek Harness agent 预设

对比两个 agent.cordis.yml,报告哪些工具/服务/group 被新增 / 删除 / 修改(disabled、isolate realm、包名)。兼容 !!js 配置方言。

node bin/preset-diff.mjs <a.yml> <b.yml>