kittsai/dsh-sidechat 预览 preview

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、模型与推理等级切换、会话隔离及选中文本发送。适合在不打断主会话时提问概念、解释和方案。注意:侧边聊天为独立临时问答,不写入主会话,也不能调用工具。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

← 上一个 Prev session-reader-plugin 下一个 Next dsh-web-search-codex →