Skip to content

dsh-mind-atlas

Verified

@kiwifruit/dsh-mind-atlas · v0.4.2 · MIT

Mind Atlas: five-scent cognitive atlas injected as a system prompt section (B2 persona/domain-knowledge plugin)

Install

dsh plugin add @kiwifruit/dsh-mind-atlas

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Readme

@kiwifruit/dsh-mind-atlas

DSH 插件 · 将「五维认知结构图鉴(内化版)」注入 System Prompt 领域知识位,模型在正文之后输出一段 JSON 认知快照。附带 3 个补充说明技能(cognitive-atlas / chain-catalysis / api-plus)。

安装

npm 注册表(推荐,预构建代码):

dsh plugin --profile web add @kiwifruit/dsh-mind-atlas

其他来源:

# 本地 tarball
dsh plugin --profile web add ./kiwifruit-dsh-mind-atlas-0.3.2.tgz

# 本地目录(开发调试)
dsh plugin --profile web add ./package

--profile web 按需替换为你的目标 profile,首次使用会自动初始化。

验证

dsh plugin list                  # 确认 mind-atlas 已加载
dsh --profile web --dry-run      # 确认配置装配无误

加载成功后,系统提示词中出现 mind-atlas section,技能列表中出现 cognitive-atlas / chain-catalysis / api-plus

卸载

dsh plugin --profile web remove @kiwifruit/dsh-mind-atlas

配置

安装时通过包内 cordis.patch.yml 自动合并默认配置。覆盖 config整行替换(无深度合并),需写全所有键:

默认 说明
enabled true 总开关,false 时不注册任何 section 与技能
density standard 常驻段密度档位(当前三档共用 standard)
scentKeyStyle semantic 快照键风格:semantic=中文语义键 / chain=链名
order 90 section 排序位(persona=0 与 PLAN_POLICY=500 之间)
registerSkills true 是否注册补充说明技能
emitSnapshotEvent false 预留:工具通道提交快照(未实现)
projectProgress true v0.4.0 progress 接续锚:从最近快照解析 evolution.progress,经 runtime-context 通道回注,跨轮接续/压缩后自动重发

部署建议

支持的 DeepSeek 模型建议在 profile 的 models 列表声明 systemPromptUpdate: 'in-history':本插件的常驻段较大(约 3KB),声明后任何提示词变更(Plan 模式进出、工具注册、persona 遮蔽等)都以追加方式进历史,前缀缓存保持热态,避免本段反复重算。未声明不报错,仅损失缓存效率。

环境要求

  • Node.js ≥ 22.19
  • DSH 宿主(peer 依赖由 profile 提供):@deepseek-ai/dsh-system-prompt / @deepseek-ai/dsh-skill 0.1.3-alpha.2(精确版本)、@deepseek-ai/cordis ^4.0.2@deepseek-ai/schemastery ^3.18.2

License

MIT