kittsai/dsh-sidechat
DeepSeek 工具套件网页侧边聊天插件
Project Overview项目介绍
dsh-sidechat is a plugin for the DeepSeek Harness Web GUI that adds a side chat panel. Hovering the browser’s right edge slides out a chat bar beside the main conversation. It injects the project root, Git branch, and latest 12 messages, with streaming output, collapsible reasoning, Markdown, model/reasoning-level switching, per-session history, and selected-text sending. Use it for quick conceptual or explanatory questions without touching the main session. Caveat: it is temporary, standalone Q&A, writes nothing to the main session, and has no tools.
dsh-sidechat 是 DeepSeek Harness Web GUI 的侧边聊天面板插件,悬停浏览器右边缘即可滑出与主对话并排的聊天栏。它自动注入项目根目录、Git 分支和最近 12 条消息,支持流式输出、思考过程、Markdown、模型与推理等级切换、会话隔离及选中文本发送。适合在不打断主会话时提问概念、解释和方案。注意:侧边聊天为独立临时问答,不写入主会话,也不能调用工具。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-sidechat(kittsai/dsh-sidechat)
仓库:https://github.com/kittsai/dsh-sidechat
本站详情页:https://www.yhbd.top/plugins/kittsai-dsh-sidechat/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-19 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:kittsai/dsh-sidechat
把 kittsai/dsh-sidechat 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-sidechat
中文 | English
面向 DeepSeek Harness Web GUI 的侧边聊天面板:鼠标悬停浏览器右边缘即可打开一个与主对话并排的聊天栏,回答基于当前项目与会话上下文。


功能
| 能力 | 说明 |
|---|---|
| 悬停呼出 | 鼠标移到浏览器右边缘,面板滑入,与主对话并排显示 |
| 项目上下文 | 每次回答自动注入项目根目录与当前 Git 分支 |
| 会话上下文 | 与主对话保持上下文一致(最近 12 条消息) |
| 会话隔离 | 每个会话各自维护一份侧边聊天历史,切换会话互不影响 |
| 流式输出 | 回答逐字流式显示,可中途停止生成 |
| 思考过程 | 模型推理内容流式显示为可折叠的「💭 思考过程」块 |
| Markdown | 标题、粗体/斜体、代码块、列表、引用、链接和表格 |
| 模型 / 推理等级 | 面板内直接切换模型与推理等级(仅当模型支持时显示) |
| 清空 | 一键清空,带「不可恢复」二次确认 |
| 选中发送 | 在主聊天中选中文本 →「添加到侧边聊天」→ 直接发送 |
| 设置开关 | 左下角设置 →「侧边聊天」,可随时开启/关闭整个功能 |
| 临时提示 | 面板底部常驻「侧边聊天只是临时聊天」提示 |
安装
本包为自包含 bundle:host 半(SidechatService)注册 sidechat Remote 服务,浏览器半(./client bundle)由 harness 的 client-modules roster 加载,因此无需重建 web。构建产物已提交到仓库,安装时不运行任何构建脚本,也无需构建权限。
GitHub 一行安装
pnpm dsh plugin --profile web add github:kittsai/dsh-sidechat
然后重启 dsh web,悬停窗口右边缘即可使用。
本地目录安装
pnpm dsh plugin --profile web add /path/to/dsh-sidechat
直接链接目录(无 prepare、无需 allowBuilds 条目)。
卸载
pnpm dsh plugin --profile web remove dsh-sidechat
使用提示
- 面板只通过「悬停右边缘」打开,✕ 关闭;点击主对话不会收起
- 侧边聊天是独立问答面:不写入主会话,也没有工具——适合概念、解释和方案类问题
- 推理等级选
high/max时模型先思考;生成中思考块自动展开
仓库结构
cordis.patch.yml # bundle 补丁:一行声明本包
src/index.ts # host 半:命名导出 apply + SidechatService
src/typert.ts # 手写 ./typert manifest(strict codecs)
src/client/ # 浏览器半:apply + 面板组件
src/client/remote.ts # 手写 Remote contribution(自挂载)
tsdown.config.ts # host 转译 + client bundle 构建
lib/ # 已提交的构建产物(安装时无需构建)
开发
构建用 tsc + tsdown 将 src/ 转译为 lib/;@deepseek-ai/* 对等依赖的类型解析指向同级 deepseek-harness 检出的构建产物(见 tsconfig.json 的 paths)。修改源码后重新构建并提交产物:
pnpm install # 仅公开工具链(react, zod, tsdown, typescript, lightningcss)
pnpm run build
License
MIT
CocoSgt/dsh-attachments
tower1229/dsh-thinkbar