@nydsg/dsh-mindmap
DSH conversation mind map: one horizontal hierarchy that starts at a single left-hand title node (the first question) and opens rightwards — every turn is a card showing only your question, continuing the turn before it, or rejoining an older question whose words it names again (shared-signal threshold 0.50). Flat 1px outlines and square corners, no shadows, no gradients. Click a card for the reply, tool calls, keyword weights, and suggested follow-ups. 中文:把 DSH 对话轨迹渲染成一张从左到右的横向层级树,左侧唯一的起始总标题节点(= 第 1 轮提问)向右逐层展开:没有词面命中就接上一轮,命中更早的提问就回到那条分支(信号词阈值 0.50);扁平化简约风格,可手动改父节点,本地分析、零网络。 适合需要直观理清多轮对话脉络、分支路径和上下文关系的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nydsg/dsh-mindmap配置:文档的「插件配置建议」逐条落地
| 文档建议 | 插件里的实现 |
|---|---|
| 模型温度 0.2 – 0.5 | 面板里可填,越界会被夹回区间(1.5 → 0.5、0 → 0.2),非数字回落 0.3 |
| 最大层级 5 | LINK_MAX_DEPTH = 5,驱动「换行新建」;设 0 = 不限 |
| 节点最大字数 15 | {{NODE_MAX_CHARS}},用于状态、片段与节点名(超出加省略号) |
| 输出格式 Markdown 嵌套列表 | 默认;JSON 形式(保留 operation 字段)也能解析 |
| 操作标注 必须输出 | layerFragmentMarkdown 输出首行标注;解析缺标注的回复会报错而不是猜 |
| 状态维护 每轮更新 | 模型判定每轮重建状态后再判下一轮 |
| 不确定策略 换行新建 | 模型路径逐字执行;离线路径按下推(理由见上,面板里写明) |
| 语言 中文 | 默认中文,可切 English(节点命名语言写进系统提示词) |