daodishisha28/dsh-sidechat-plugin

Open a persistent side conversation from any DeepSeek Harness session to investigate questions, clarify requirements, or explore alternatives without polluting the main task’s context, then review and send a concise conclusion back to the parent conversation. Tested with DSH 0.1.2-alpha.1.

Project Overview项目介绍

This is a DSH-native plugin that adds persistent, restorable SideChat clarification sessions exclusively for DeepSeek Harness. Unlike temporary overlays, subagents or forked sessions, every SideChat created by this plugin is a full independent DSH session, which comes with its own complete conversation page, native model selector, support for multi-turn dialogue and persistent session transcripts. Even after you uninstall the plugin, all existing SideChat session data remains readable as a normal DSH session, so no historical conversation will be lost. The plugin includes a DSH-native bundle manifest, and it is purpose-built only for DSH.

To start a new SideChat, users just need to enter the /side slash command in an existing DSH parent session, then select a seed context strategy from 10 available options, pick a permission mode (read-only is recommended or you can choose to inherit from the parent session), and enter your clarification question. After you finish the SideChat dialogue, you can generate a structured fold with /sidefold and submit it back to the parent session, or use other slash commands to archive, restore, cite or manage existing SideChats. This plugin is ideal for DSH users who need to split off clarification questions without disrupting the main session, while keeping separate, organized thinking trajectories for different sub-questions.

This plugin is released under the permissive MIT open source license, and it requires DeepSeek Harness v0.1.2-alpha.1 or newer, Node.js version ^22.19.0 or >=24.0.0, and pnpm between version 10 and 11 to build and install correctly. You can clone the source code from GitHub, run pnpm install --frozen-lockfile and pnpm build to build it, then install it via the DSH CLI, and uninstalling the plugin does not delete any existing SideChat session data that you have created. Currently, the plugin has only been fully verified against DSH v0.1.2-alpha.1, so you may need to recheck compatibility after upgrading DSH to a newer mainline version.

这是一个专为DeepSeek Harness开发的原生插件,为DSH提供可持久化、可恢复的SideChat澄清会话功能。不同于临时浮层、子代理或分支会话,每个SideChat本身就是一个完整的DSH会话,拥有独立会话页面、原生模型选择器、多轮对话能力和持久化转录记录。即使插件被卸载,已经创建的SideChat历史仍然可以作为普通会话读取,不会丢失数据。该插件包含DSH专用的bundle manifest,是仅面向DSH开发的功能扩展。

普通用户在已有的DSH会话中输入斜杠命令/side即可创建独立SideChat,可从多种Seed策略中选择初始上下文,再选择只读或继承权限模式后即可开始澄清对话。完成对话后可通过/sidefold生成结构化内容并提交回父会话,也可通过斜杠命令管理已有SideChat的归档、恢复、引用等操作。适合需要在不干扰当前主会话的情况下拆分澄清问题、保留多分支思考轨迹的DSH用户。

该插件基于MIT许可证开源,要求DSH版本不低于0.1.2-alpha.1,Node.js版本为^22.19.0或>=24.0.0,包管理器使用pnpm 10到11版本才能正常构建。可通过源码克隆构建后通过DSH CLI安装,也可打包为npm tarball安装,卸载时不会删除已创建的任何会话历史。当前仅完整核验过0.1.2-alpha.1版本的DSH,升级DSH后需要重新验证兼容性。

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:daodishisha28/dsh-sidechat-plugin

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

READMEREADME

DeepSeek Harness SideChat

为 DeepSeek Harness 提供普通、持久化、可恢复的 SideChat 澄清会话。

SideChat 不是临时浮层,也不是 subagent 或 fork。每个 SideChat 都是一个正常的 DSH Session:拥有完整会话页面、原生模型选择器、多轮对话和持久化 transcript;即使卸载插件,历史 Session 仍能作为普通会话读取。

当前版本:0.3.4
已核验 DSH 基线:0.1.2-alpha.1,提交 cd5ef81481

主要能力

  • 在任意 Session 中使用 /side 创建独立 SideChat,并自动进入新会话;
  • 默认使用最近一条直接 user/assistant 文本作为最小 Seed;
  • 支持 tail:1、task、none、tail:2、tail:4、pick:1、pick:many、turn、selection 和 summary Seed;
  • Seed 只保存直接文本,不复制 reasoning、工具调用、工具结果或完整父 transcript;
  • Seed 内容与来源消息保存为不可变 provenance;
  • 可选择“只读模式”或“继承”权限;
  • 父 Session 中提供与“对话”“轨迹”并列的“子会话”视图;
  • SideChat 使用完整 DSH Session 页面,可恢复并继续多轮对话;
  • 支持模型生成、预览、编辑和提交结构化 Fold;
  • 支持 revision、增量 Fold、对比和软撤回;
  • 支持把指定 assistant 回复无回复引用到父会话;
  • 支持 archive、restore、abandon 和 orphaned 状态;
  • /sideusage 展示可验证的 token 用量,不用估算值冒充精确值;
  • 创建、Fold、Cite 和生命周期操作均通过 slash 命令完成,Header 只保留身份与父会话导航。

权限模式

创建 SideChat 时,在 Seed 策略之后选择权限模式。

模式 行为
只读模式(推荐) 候选能力为 read、glob、grep、Shell、Web、Plan、用户提问、子代理和 workflow;最终工具是候选集合与父会话实际可见工具的交集。沙箱固定为 read-only,审批固定为 never。
继承 继承父会话创建时的 Agent preset、有效 sandbox、approval 和可见工具上限。

所有权限都由 Host 重新计算。浏览器提交的模式、Session ID 或工具名称不能直接获得授权。权限快照保存在 storageDomain,DSH 重启后会重新应用限制。

环境要求

依赖 版本
DeepSeek Harness 0.1.2-alpha.1
Node.js ^22.19.0 或 >=24.0.0
pnpm >=10.0.0 <12.0.0

仓库不依赖相邻的 DSH 或 OpenCode 源码目录。DSH 的运行时包由 DSH Host 提供;仓库内的 types/dsh-compat.d.ts 仅描述本插件使用的已核验公共接口,使全新 clone 可以独立 typecheck 和 build,它不包含或替代 DSH 运行时实现。

从源码构建

从 GitHub 克隆或下载仓库,进入仓库根目录后执行:

pnpm install --frozen-lockfile
pnpm verify

pnpm verify 会依次执行:

  • Host 与 Client TypeScript 检查;
  • ESLint;
  • Unit、Host 和 Client 测试;
  • DSH 公共契约版本检查;
  • 独立仓库与跨目录依赖检查;
  • Host/Client bundle 构建;
  • manifest、Client handoff、preset 和禁止架构路径 smoke test。

构建结果生成在 lib/:

lib/index.js          Host 插件
lib/client.js         Web Client 插件
lib/preset-root.js    SideChat preset root
lib/types/            TypeScript 声明

只构建、不运行完整验证时使用:

pnpm build

安装到 DSH

已经安装独立 dsh CLI 时,在本仓库根目录执行:

dsh plugin --profile web add . --force
dsh --profile web --dump-config
dsh --profile web

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-opencode-go-pool 下一个 Next dsh-quick-launch →