dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
对话轮次索引:在 DeepSeek Harness Web GUI 右侧挂一条侧边栏,按顺序列出每一轮「你问过的话」。点击任意一条,聊天流平滑滚动到那一轮并闪烁高亮;滚动阅读时侧边栏同步高亮当前轮次。
A turn-index sidebar for the DeepSeek Harness web GUI: one entry per user turn, click to jump, scroll-spy keeps the current turn highlighted.
┌──────────────────────────────┬───────┐
│ 聊天流 │ 轮次 2│
│ │ ─────│
│ ▸ #1 帮我查一下……(点击跳转) │ #1 │
│ │ #2 ▸ │
└──────────────────────────────┴───────┘
| 项 | 值 |
|---|---|
| 支持版本 | DSH 0.1.0-rc.6(web profile,mainline) |
| 最后验证 | 2026-08-14 · Windows 11 · Node 24 · pnpm 11 |
| 依赖 | 宿主标准 web bundle(slots / sessions / locale 客户端服务 + shell.overlay 槽位);react 为可选 peer |
# npm(推荐,已发布 v0.1.1)
dsh plugin --profile web add dsh-turn-index
# GitHub tag tarball
dsh plugin --profile web add https://github.com/Simon314620/dsh-turn-index/archive/refs/tags/v0.1.1.tar.gz
# 本地目录(开发调试)
dsh plugin --profile web add file:D:/path/to/dsh-turn-index
安装后重启 dsh web,刷新页面即可在右侧看到索引栏。默认的 dsh web profile 已具备全部所需服务。
dsh plugin --profile web remove dsh-turn-index
移除后重启 dsh web 并硬刷新(Ctrl+Shift+R)。回滚方式同上:卸载后重装旧版本即可(如 dsh plugin --profile web add dsh-turn-index@<旧版>)。浏览器侧偏好(折叠状态等)仅存于 localStorage,卸载后是无害残留,可在开发者工具中清除。
纯客户端插件:宿主侧(Node)无运行时逻辑,浏览器半边通过 shell.overlay 槽位(AppFrame 的加性浮层席位)挂载面板。会话数据取自 ctx.sessions.binding(currentId).session(ConversationSnapshot 的可观察快照),索引条目从 chat.order 中筛出 kind 为 user / steering 的可见节点;跳转时按节点 key 查找聊天流里带 data-chat-anchor-key 属性的 DOM 行(聊天流无虚拟化,行都在 DOM 里),因此跳转天然可靠。面板几何(上下界、details 避让)动态测量 [data-conversation-scroll]、[data-composer-seat] 与 AppFrame 的 grid 第三轨。
无配置项。开箱即用;面板偏好(收起状态、窄条模式)仅存于浏览器 localStorage。
ctx.sessions.binding(currentId).session)用于渲染轮次索引,不上传、不外发。pnpm add -D jsdom # 测试依赖
node tests/edge.mjs # 24 项边界单测(120 轮渲染、跳转命中/未命中、响应式、空态等)
node smoke.mjs # 装配冒烟测试
data-chat-anchor-key / data-conversation-scroll 等);harness 大版本升级若改动这些属性需要适配。MIT
安全问题请通过 GitHub Issues 联系维护者私下报告,避免公开披露。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。