jjxjjjjiik-bot/dsh-chat-timeline 预览 preview

jjxjjjjiik-bot/dsh-chat-timeline

Plugin插件 Native原生 ⭐ 31 MIT Sessions & Context会话与上下文

DeepSeek官方网页右侧聊天导航栏(ScrollNav)的1:1移植版,作为DeepSeek Harness(DSH)插件。

Project Overview项目介绍

This is a natively-built DSH plugin that is specifically designed to add a DeepSeek official-style chat timeline navigation bar to the DSH web chat interface. It replicates the exact interface and interaction of the ScrollNav navigation component from the official chat.deepseek.com website, adding extra quality-of-life features like bookmarking important chat messages and integrating with DSH's native rewind/undo functionality. There are three supported installation methods: the recommended one-click install via DSH CLI, a pre-written one-click install script for Windows users, and a step-by-step manual installation path for other platforms or local plugin development.

This plugin is targeted at DSH users who often work with long chat histories and need a reliable way to quickly navigate between past conversations and mark key discussion points. Once installed and activated after restarting DSH web, the navigation rail stays fixed on the right side of your screen, with a thin indicator for each user message that keeps the interface clean and uncluttered when collapsed. You can click the star icon to bookmark important messages, which get highlighted in the collapsed rail, and you can even filter the entire timeline to only show your bookmarked conversations for much faster navigation.

dsh-chat-timeline is released under the permissive MIT open source license, so it is 100% free to use, modify, and redistribute for any personal or commercial purpose. It automatically adapts to both light and dark DSH themes, detects existing right-side toolbars to avoid overlapping elements, and automatically hides when there are fewer than 2 chat messages or on narrow mobile screen sizes. It uses your browser's local localStorage to persist bookmark data, integrates with the dsh-rewind plugin to automatically remove undone messages from the timeline, and is built from the ground up to deliver smooth, glitch-free navigation.

这是一款原生DeepSeek Harness(DSH)插件,1:1复刻了DeepSeek官网右侧的对话导航栏功能,把chat.deepseek.com官方网页版的ScrollNav界面和交互完整移植到DSH的网页聊天界面,还支持重点书签标记、与回退撤回功能联动。用户可通过DSH CLI一键安装,也可使用Windows一键脚本安装,或是针对其他平台手动安装。

它适合有大量历史对话需要快速导航、梳理重点的DSH用户使用。开启插件后,导航栏常驻屏幕右侧,每条用户消息对应一个指示线,折叠状态下界面简洁无干扰。用户可点击星标标记重点对话,折叠态会高亮显示已标记项,还能一键筛选只看标记的对话内容,方便快速定位重点。

该插件采用MIT许可证开源,完全免费使用,自动适配浅色和深色DSH主题,会自动检测右侧工具栏避免遮挡,消息少于2条或窄屏移动端会自动隐藏。它依赖浏览器localStorage存储书签数据,可联动dsh-rewind插件处理回退撤回的消息,实现了像素级复刻官方样式,交互流畅无跳转抽搐问题。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 31 stars - an early-stage project星标 31,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-chat-timeline

把 jjxjjjjiik-bot/dsh-chat-timeline 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-chat-timeline

English | 简体中文

License: MIT npm version GitHub stars PRs Welcome

⭐️ 如果这个小插件帮到了你,请给本项目点一个免费的 Star 支持一下! 你的鼓励是持续优化更新的最大动力~

**1:1 复刻 DeepSeek 官网右侧「对话导航栏」**的 DeepSeek Harness (DSH) 插件——把 chat.deepseek.com 官方网页版的 ScrollNav 界面与交互原样带进你的 DSH Web 聊天界面,并支持重点书签与回退撤回联动。

非 DeepSeek 官方出品,与 DeepSeek 无任何关联。

预览

右侧导航栏 悬停展开面板

功能特性

  • 常驻右侧导航轨——屏幕右侧细长竖轨,每条用户消息对应一个指示线,折叠态纯净极简无多余干扰,与官网折叠态 1:1 一致
  • ⭐ 重点节点书签与筛选——展开面板点击 ★ 即可加星标记;折叠态已标记项呈现高亮金色指示线;展开面板顶部「★ 只看标记 (n)」支持一键筛选重点问答;本地 localStorage 自动持久化
  • 全模式主题适配——1:1 像素级复刻 DeepSeek 官网浅色/深色主题:浅色模式下灰线清爽优雅、白底毛玻璃展开面板;深色模式沉浸暗黑、高对比度金色标记
  • ✨ 丝滑跳转与防抖——点击条目一键平滑跳转到对应消息(按需加载更早历史);智能防抖锁定机制,彻底消除长对话跨区域跳转时悬浮面板的抽搐乱跳
  • 🔄 回退撤回深度兼容——多层防御式解析联动 dsh-rewind 插件,无论中英文提示文案或结构化参数,被回退/撤回的消息均自动从时间线上即时剔除
  • 动态避让——智能检测右侧工作台(如 aionui 等工具栏),自动平移贴合聊天区边缘,避免重叠遮挡
  • 自动隐藏与窄屏适配——会话少于 2 条用户消息时自动隐藏;视口宽度 ≤ 767px(移动端/窄窗口)自动收起防遮挡
  • 无障碍——完善的 ARIA 标签与键盘导航 + 遵循系统「减弱动态效果(prefers-reduced-motion)」设置

工作原理

Host 侧通过会话投影(dshChatTimeline)持久化枚举所有用户消息(支持 surface replace 自动剔除回退消息);客户端 TimelineRail 组件渲染导航轨(挂载于 conversation.input.dock 插槽,portal 到 body),数据源按速度优先:投影 → 已加载节点 → 后台 loadOlder。

安装

方式一:DSH / NPM 一键安装(推荐,最简便)

在终端中执行以下命令(自动从 npm 下载并配置):

dsh plugin --profile web add dsh-chat-timeline

或者:

dsh plugin add dsh-chat-timeline

安装完成后,重启 dsh web 并刷新浏览器即可。


方式二:Windows 本地一键脚本(克隆/下载仓库)

  1. 下载本项目(绿色 Code 按钮 → Download ZIP 解压,或 git clone)
  2. 双击 install.bat —— 脚本自动完成:复制插件 → 注册配置 → pnpm install
  3. 重启 dsh web 并刷新浏览器

脚本可重复运行,不会重复安装。


方式三:手动安装(其他平台或本地开发)

  1. 将插件复制到 $DSH_HOME/profiles/web/plugins/dsh-chat-timeline/($DSH_HOME 通常是 ~/.dsh)
  2. 在 profiles/web/package.json 添加依赖 "dsh-chat-timeline": "file:plugins/dsh-chat-timeline",运行 pnpm install
  3. 在 profiles/web/cordis.patch.yml 添加:
    - insert:
        - id: chat-timeline
          name: dsh-chat-timeline
    
  4. 重启 dsh web 并刷新浏览器

架构参考

  • 布局/CSS:官网 ScrollNav 的 1:1 移植(提取自官方 main.css,以 dsct_ 前缀命名空间化)
  • 插件架构:参考 asukasec/dsh-message-preview(MIT)

License

MIT — 见 LICENSE。"DeepSeek" 商标归其所有者所有,本项目与 DeepSeek 无关联。

← 上一个 Prev DSH-Think-zh 下一个 Next dsh_kline →