rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
TropicWiden/dsh-history-question-nav
A DeepSeek Harness web plugin that lists every question you ask in the current session in a right-side panel, and scrolls to the matching answer when you click one. DeepSeek Harness Web 插件:在窗口右侧列出当前会话的每个提问,点击即定位到对应回答。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:TropicWiden/dsh-history-question-nav
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个 DeepSeek Harness Web 客户端插件:在窗口右侧列出当前会话里你问过的每一个问题,点击任意一条即可平滑滚动定位到对话中对应的位置(问题气泡会短暂高亮)。
question-nav locale 命名空间(zh/en),随 DSH 的语言设置自动切换。
dsh-history-question-nav/
├── package.json # dsh.bundle.patch + dsh.client.platform = "web"
├── cordis.patch.yml # profile 补丁层:insert 本插件行
├── lib/
│ ├── index.js # host 半边(故意为空)
│ ├── client.js # 浏览器半边(window.__ModuleLoader__.load 打包格式)
│ └── types/ # 最小 d.ts 声明
└── README.md
客户端半边只依赖外壳已提供的 react(无需任何 dsh.client.external),通过
ctx.slots.inject("shell.overlay", ...) 注册到布局的框架级悬浮层,用
ctx.sessions.binding(currentId) 读取当前会话的 conversation 快照;文案经
ctx.locale.register("question-nav", { zh, en }) 注册并在组件里走 t 座位。
dsh plugin --profile web add @known-mouse/dsh-history-question-nav
dsh plugin 会:① pnpm add 安装依赖;② 检测到本包声明了 dsh.bundle,
自动把它加进 profile 的 bundles 层,于是 cordis.patch.yml 的 insert 行自动生效。
最后重启 Web 服务并刷新页面:
dsh web
需要本机已安装 pnpm(
dsh plugin通过它管理依赖)。
dsh plugin)node_modules 下,并把 @known-mouse/dsh-history-question-nav
加进 profile package.json 的 dependencies。cordis.patch.yml 的内容合并进 profile 的 cordis.patch.yml,或者直接把
@known-mouse/dsh-history-question-nav 加进 dsh.profile.bundles。dsh web 并刷新页面。shell.overlay 是 ui-layout 声明的框架级悬浮层(additive list,root scope),
本插件把面板注册进去,pointer-events:auto 让面板可交互,其余保持 click-through。useSessions(s => s.current);会话的 conversation
快照通过注入的 ctx.sessions 用 binding(id).session 取得,并用
useSyncExternalStore 订阅。ConversationSnapshot.chat(order + nodes.get(key)),过滤
kind === "user";每个 chat 节点在 DOM 上带有 data-chat-anchor-key,点击时按
该 key 找到元素,再对 [data-conversation-scroll] 滚动容器做平滑滚动。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness、deepseek-harness-plugin。