← 返回列表
D

@biggerboy123/dsh-conversation-anchors

v0.1.0 · 1 天前发布

Sidebar conversation anchor navigation for the DeepSeek Harness web GUI: per-turn anchors with click-to-scroll, injected into the sidebar as a DOM-level extension.

dshdsh-plugindeepseek-harnessconversationanchorsnavigationoutlineweb-gui

README

@biggerboy123/dsh-conversation-anchors

会话锚点导航插件 —— 为 DeepSeek Harness(DSH)Web GUI 提供侧边栏对话目录:把当前会话的每一轮对话(用户提问、助手回复、工具调用、命令等)做成锚点列表,点击即可平滑滚动定位到对话中的对应位置。

纯浏览器端插件,以树外(out-of-tree)bundle 的形式安装,不修改 DSH 源码。host 半部分为无操作占位,全部行为在浏览器半部分(./client)实现。

功能

  • 逐节点锚点:会话中每个可见节点生成一条锚点(用户消息 / 助手回复 / 工具调用 / 命令 / 上下文等),带角色徽标与摘要文本

  • 点击定位:点击锚点平滑滚动到 [data-chat-anchor-key] 对应行

  • 实时刷新:订阅当前会话快照,新消息 / 新回复到达时锚点列表自动更新

  • 切换会话自适应:跟随 ctx.sessions 的当前会话选择,切换会话即切换锚点

  • DOM 级注入 + 自愈:注入到侧边栏「新会话」按钮下方,MutationObserver 自愈 React 重渲染
  • 安装

    需要 Node ^22.19 || >=24dsh CLI(npm i -g @deepseek-ai/dsh@next)。

    sh
    dsh plugin --profile web add @biggerboy123/dsh-conversation-anchors

    安装后重启 dsh web,侧边栏即出现「对话锚点」区块。

    使用

  • 侧边栏「对话锚点」区块列出
  • 版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @biggerboy123/dsh-conversation-anchors
    Repo
    Engines
    {"node":"^22.19.0 || >=24.0.0"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web"}}