chenproton/dsh-history
快速查看、搜索并跳转到长对话中你发送的所有消息。
Project Overview项目介绍
dsh-history is a DSH web plugin that lists every user-sent message in the current session, including older history covered by compaction or not yet loaded. Core features include real-time text search, sort toggling, one-click copy, and automatic location: clicking a message loads earlier history if needed, then scrolls to it with a flashing highlight. Use it to review and locate your own messages in very long conversations. After install or update, run restart-dsh-web.sh to restart the DSH web service so the plugin takes effect.
DSH-history 是一款 DSH Web 插件,列出当前会话全部用户发送的消息,含被压缩或未加载的旧历史。核心能力:搜索过滤、排序切换、一键复制,以及点击消息自动加载并滚动定位+闪烁高亮。适用于超长对话中回顾、定位自己发送的内容。安装或更新后需运行 restart-dsh-web.sh 重启服务使插件生效。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-history(chenproton/dsh-history)
仓库:https://github.com/chenproton/dsh-history
本站详情页:https://www.yhbd.top/plugins/chenproton-dsh-history/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 14 · 最近提交 2026-09-20 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 14 stars - an early-stage project星标 14,属于早期项目
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 github:chenproton/dsh-history#main
把 chenproton/dsh-history 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-history
DSH web 插件:在超长会话里快速查看、搜索并跳转到所有"你发送"的消息。
English | 中文
功能介绍
- 完整历史:列出当前会话中全部你发送的消息,包括尚未加载进对话窗口的旧页、被 compaction 覆盖的历史。
- 一键定位:点击消息 → 全自动定位(未加载则自动加载更早历史,页面未渲染则自动等待,就绪后平滑滚动 + 闪烁高亮并关闭面板)。
- 排序切换:默认最新在前,工具栏一键切换"最新在前 / 最早在前"。
- 搜索过滤:按消息文本实时过滤。
- 一键复制:每行复制按钮,一键复制完整消息文本。
- 快速启动:进入会话即后台预取完整列表,打开面板秒开;Host 侧带缓存。
🚀 安装
前置:已装好 DSH(dsh web 能正常运行)。
# 1. 安装插件
dsh plugin --profile web add dsh-history@latest
# 2. 自动重启服务生效(脚本随插件一起安装,无需下载)
bash ~/.dsh/profiles/web/node_modules/dsh-history/restart-dsh-web.sh
装完每个会话输入框上方自动出现 "我的消息 (N)",无需手动操作。
常见问题
如何更新插件?
dsh plugin --profile web update dsh-history
# 或直接装最新版
dsh plugin --profile web add dsh-history@latest
改完运行 bash ~/.dsh/profiles/web/node_modules/dsh-history/restart-dsh-web.sh(或硬刷新浏览器)即可。
如何从 GitHub 直接安装(不经过 npm)?
dsh plugin --profile web add github:chenproton/dsh-history#main
# 或完整 URL 形式
dsh plugin --profile web add https://github.com/chenproton/dsh-history.git#main
装完后同样运行 bash ~/.dsh/profiles/web/node_modules/dsh-history/restart-dsh-web.sh。此方式直接使用仓库已提交的构建产物,无需本地构建。
如何从源码安装 / 开发调试?
调试本地改动或跟随开发分支时,把依赖指向本地克隆并自行构建:
# 1. 克隆并构建
git clone https://github.com/chenproton/dsh-history.git ~/Code/dsh-history
cd ~/Code/dsh-history && pnpm install && pnpm build
# 2. 把依赖指向本地克隆
# 编辑 ~/.dsh/profiles/web/package.json 的 dependencies:
# "dsh-history": "link:<克隆目录绝对路径>"
# 3. 追加挂载行到 ~/.dsh/profiles/web/cordis.patch.yml:
# - insert:
# - id: dsh-history
# name: 'dsh-history'
# 4. 在 profile 目录安装
cd ~/.dsh/profiles/web && pnpm install
# 5. 重启生效(脚本在克隆目录里)
bash ~/Code/dsh-history/restart-dsh-web.sh
更新:git pull && pnpm install && pnpm build → bash ~/Code/dsh-history/restart-dsh-web.sh。
切回 npm 通道:把依赖改回 "dsh-history": "^0.1.25" 再 pnpm install,并移除手动挂载行(避免双挂载)。
维护者文档:发布与各平台(npm / GitHub / awesome-dsh-plugin 目录 / dsh-market 市场)上架流程见 docs/publishing.md。
如何通过 plugin-registry 安装?
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
bowenliang123/dsh-context
cocofhu/anime-find
dingyi222666/dsh-session-notification
guo6x/dsh-pilot
TOBYCAI/dsh-sessions-manager
Nono-neko/dsh-browser
ChuShiZ/dsh-archive-manager