cindyguyuehu123/dsh-webchatlike 预览 preview

cindyguyuehu123/dsh-webchatlike

Plugin插件 Native原生 ⭐ 8 MIT Prompts & Skills提示词与技能

DeepSeek Harness 的网页聊天风格消息操作插件:编辑提示词、重新生成回答,并通过 deepseek.com 风格的 <i/N> 分页器切换版本。Deepseek 网页版/App 聊天体验插件

Project Overview项目介绍

dsh-webchatlike is a purpose-built client plugin for the DeepSeek Harness Web GUI, created exclusively to bring the chat interaction experience of the official DeepSeek website and mobile app to DSH. It adds several core features that match the official DeepSeek experience: in-place editing of user messages, one-click regeneration of assistant replies, per-message independent version counting, and a version pager styled exactly like the one on deepseek.com. It also supports forking an entire existing conversation tree into a completely independent separate copy that does not interact with the original.

To use the plugin after installation, simply hover your cursor over any user message to bring up the in-place edit box, which pre-fills the original question for you to modify and resend. Hover over any assistant reply and click the regenerate button to get a new response from the same turn without duplicating the old question into the new context. After multiple edits or regenerations on the same turn, a version pager will appear next to the reply, and you can click the arrows to flip through different versions of the message.

Full functionality requires applying two source code patches that modify 9 total files in the DeepSeek Harness codebase; without the patches, the plugin will load but the edit button and sidebar version folding will not work. To install, first apply the patches via the provided shell script, then install the plugin either via the DSH CLI plugin command or by manually adding it to your DSH profile configuration. The plugin is released under the open-source MIT license, and note that the very first message of a conversation does not support editing or regeneration because there is no clean fork boundary before the first turn.

dsh-webchatlike 是专为 DeepSeek Harness Web GUI 开发的原生插件,目标是把 DeepSeek 官方网页端和 App 的聊天体验复刻到 DSH 中。它提供原位编辑用户提问、一键重新生成助手回复、每条消息独立版本计数、deepseek.com 风格版本翻页器等核心功能,还支持将整棵对话树分叉为完全独立的副本。

用户使用时,悬停在自己的消息上即可唤起原位编辑框,预填原内容修改后直接重发;悬停在助手回复上即可点击重新生成,多次编辑/重新生成后会自动出现版本翻页器,点击箭头就能切换不同版本。这款插件适合习惯了 DeepSeek 官方客户端交互逻辑的 DSH 用户。

本插件需要对 DSH 源码打两个共涉及 9 个文件的补丁才能启用全部功能,不打补丁插件虽能加载但编辑按钮和边栏折叠不会生效。安装需先执行补丁脚本,再通过 DSH 插件命令或手动配置安装,最后重启服务即可。插件采用 MIT 许可证开源,第一条对话消息因无前置分叉锚点不支持编辑重发。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
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:cindyguyuehu123/dsh-webchatlike

把 cindyguyuehu123/dsh-webchatlike 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-webchatlike

把 DeepSeek 网页版 / App 的聊天体验带进 DeepSeek Harness:编辑提问、重新生成回复、在消息上直接翻版本——就像在 deepseek.com 上聊天一样。

MIT DSH plugin

一个面向 DeepSeek Harness Web GUI 的客户端插件,让对话行为和 deepseek.com 网页版 / App 一致:原位编辑、一键重新生成、逐条消息的版本翻页器。

  • ✏️ 编辑重发——悬停自己的消息,在原消息位置就地打开编辑框(预填原提问,无弹窗、不新建对话),改完重发。fork 点选在提问回合之前,新会话是干净的 历史 + 修改后的提问 + 新回答。
  • 🔄 重新生成——悬停任意 assistant 回复,从该回合之前分叉重新生成。旧提问不会重复塞进上下文。
  • <i/N> 版本翻页——每条被重新生成 / 编辑重发过的消息旁都会出现 deepseek.com 风格的 <2/5> 翻页器(树状模型:每条消息的版本独立计数)。左右箭头切换版本,自动定位到同一轮。每个对话记住你最后查看的版本——切去别的对话再回来,不会跳回第 1 版。
  • 🌳 分叉整棵树——「在新对话中分支」(对话内或边栏)会把整棵树复制成一份完全独立的副本:新根 + 每个版本的副本,新树自带完整版本体系(<i/N> 可翻),从此与原树互不影响。副本根标题带 (副本) / (副本 2) 递增,分叉后自动定位到你 fork 时所在的版本。任意侧边栏 / 对话内分叉出来的独立副本(包括非版本族会话的单会话分叉)都带 (副本) 标记——它是边栏区分"独立副本"与"regenerate/编辑版本"的记号,保证新副本一定以独立行出现,不会被折叠隐藏。
  • 🗑️ 删除会话(需补丁)——从左侧会话菜单彻底删除会话,连同硬盘上的会话日志。

边栏保持干净:版本 fork 折叠进原始对话(一个对话一行),在任意版本里的活动都会照常把该对话浮到顶部。家族根行上的重命名、归档、删除作用于整棵树(所有 regenerate/编辑版本);分叉副本是完全独立的对话,只作用于自身。

⚠ 依赖 2 个源码补丁

与纯插件不同,本插件扩展了两个 harness 没有公开扩展点的源码文件:

补丁 文件数 作用
ui-conversation user-actions 插槽 5 用户消息下方的 ✏️ 按钮座位 + 原位编辑锚点(position: relative)+ 对话内「分支」复制整棵树
ui-workspace 版本折叠 4 边栏永远隐藏版本 fork、当前版本映射回原始行、版本内活动折算进对话排序、恢复最后查看的版本、家族级行操作、边栏分叉复制整棵树

不打补丁时插件能加载,但编辑按钮和边栏折叠不会出现。cordis.patch.yml 只负责加载插件本身。

安装

1. 打源码补丁

cd deepseek-harness
/path/to/dsh-webchatlike/apply-patches.sh   # 逐个复制,冲突时提示
pnpm install
pnpm run build:lib:client && pnpm run build:web

2. 安装插件

方式一:作为 bundle 安装(已声明 dsh.bundle):

dsh plugin --profile web add <本仓库 git 地址或 npm 包名>

方式二:手动在 ~/.dsh/profiles/web/cordis.patch.yml 注册:

- insert:
    - id: chat-actions
      name: 'dsh-webchatlike'

手动安装时,请把包加入 ~/.dsh/profiles/web/package.json 的 dependencies 并在 profile 目录执行 pnpm install,让加载器能解析到它。

3. 重启

终端 Ctrl+C,重新 pnpm dsh web,刷新页面。

使用

  • 悬停任意 assistant 回复 → 🔄 重新生成
  • 悬停任意 用户消息 → ✏️ 原位编辑重发
  • 对同一回合多次 🔄 / ✏️ 后,回复旁出现 <2/5>,点左右箭头切换版本
  • 左侧会话列表行尾 ⋯ 菜单 → 删除会话(带确认框;正在运行的会话拒绝删除)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-codex-timeline 下一个 Next dsh-local-llm-controller →