AHGGG/dsh-side-chat 预览 preview

AHGGG/dsh-side-chat

Codex样式的DeepSeek Harness侧边聊天 — 选中文本,在专注的侧边对话中提出后续问题,同时保持主聊天不受干扰。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that lets users ask focused follow-up questions about selected text without leaving their current main conversation. To install it, you first need to have DSH 0.1.2-rc.1 or newer installed globally, then clear the package cache to avoid pulling an outdated version, and run the DSH plugin add command to pull the latest release from the official registry. After installation, start DSH from your target local project directory, open the DSH web client URL, and the plugin will load automatically.

To use the plugin, you first need to complete at least one full turn in the main DSH conversation before you can select any text. On mobile devices, long-press text to select it, while on desktop you can click and drag to highlight text inside one completed user or assistant message. Then choose an action from the action bar: add the selected text with a custom comment to the main composer, request more details immediately, or start a new focused side chat. After you get a reply from the side chat, you can attach the entire focused discussion back to the main conversation’s composer as a reference.

The plugin is released under the open-source MIT license, and it has several current limitations that users should be aware of before use. Selections can only be made within a single completed message, attachments are not supported, and closed side chats cannot be reopened from the plugin panel. There is also no automatic history cleanup, and archived child side chat sessions still take up normal DSH session storage space on your local device. Any file changes or tool side effects made during a side chat are permanently saved to your shared workspace, just like changes from the main conversation.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,功能是让用户在不离开当前主对话的情况下,对已完成消息中选中的文本发起聚焦式追问侧边对话。它支持通过 DSH 官方的插件命令行工具直接安装,要求 DSH 版本不低于 0.1.2-rc.1,安装完成后会自动在 DSH 网页端客户端加载。

用户使用时,需要先在主对话完成至少一轮交互,选中单条已完成消息内的文本,即可通过弹出的操作栏发起追问、添加注释或请求更多细节。侧边对话会继承主对话的上下文前缀、配置和工作区,得到回复后可将整个侧边讨论添加回主对话,适合需要针对特定文本片段做深度探究的开发者。

该插件采用 MIT 许可证开源,目前存在一些功能限制:仅支持选中单条消息内的文本,暂不支持附件,关闭后的侧边对话无法从面板重新打开,也没有自动清理历史的功能。侧边对话的子会话会占用正常的 DSH 会话存储空间,侧边对话内的工具操作产生的文件修改会真实保留。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 11 stars - an early-stage project星标 11,属于早期项目
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
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 @ahggg/dsh-side-chat@1.0.2 --save-exact

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

READMEREADME

dsh-side-chat

Ask a focused follow-up about selected text without leaving your current conversation in DeepSeek Harness Desktop or Web.

简体中文

Ask about selected text in Side Chat, then add the Side Chat conversation to the main chat

Install

Use a Side Chat version that matches your DSH runtime:

Side Chat DeepSeek Harness runtime
@ahggg/dsh-side-chat@1.0.2 0.2.0-rc.2
@ahggg/dsh-side-chat@1.0.1 0.2.0-rc.1

The instructions below use Side Chat 1.0.2 with DSH 0.2.0-rc.2. If you are staying on DSH rc.1, keep Side Chat 1.0.1 until you upgrade the runtime.

DeepSeek Harness Desktop

In DeepSeek Harness Desktop 0.2.0-rc.2, open the plugin installation dialog and enter the complete package spec:

@ahggg/dsh-side-chat@1.0.2

Install it, then restart DeepSeek Harness Desktop. Use the Desktop app's plugin manager for Desktop installations; the CLI commands below target the Web profile.

Web (dsh web)

Install the matching DSH CLI if needed, then install the pinned plugin version:

npm install --global @deepseek-ai/dsh@0.2.0-rc.2
dsh plugin --profile web add @ahggg/dsh-side-chat@1.0.2 --save-exact

Start DSH from the project you want the agent to work in:

cd E:\path\to\your-project
dsh web --port 3080

Open the URL printed by DSH. The plugin loads automatically in the Web client.

Local linked development

When dsh plugin --profile web list shows the plugin coming from a link: workspace, DSH loads the committed lib/client.js, not src/. Rebuild after switching branches or changing client source, then restart the dsh web process:

pnpm install --frozen-lockfile
pnpm build

Use Side Chat

On phones and tablets, long-press text in a completed message to select it. The Side Chat action bar appears below the selection when there is room, leaving the browser's native selection bar above it. Use Add to chat, More details, or Ask in side chat directly from the touch action bar.

  1. Complete at least one turn in the main conversation.
  2. Select text inside one completed user or assistant message.
  3. Click Add to chat to add an optional comment before attaching the passage to the main composer, More details to send an explanation request immediately, or Ask in side chat to write a focused question.
  4. When writing your own message or question, press Enter to send it.
  5. After a Side Chat reply settles, click Add to conversation to attach that focused discussion to the main composer as one conversation reference.
  6. Click ×, or press Esc while focused inside the Side Chat panel, when you are done. Escape in another composer or menu does not close Side Chat.

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

← 上一个 Prev snapgrep 下一个 Next dsh-drop-to-path →