主会话进行中也能一键新开独立的可续聊旁会话:从输入框 + 命令菜单选 side-chat 即开即用,主会话不受影响。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:123dbl/dsh-side-session
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
Side-chat (旁会话) plugin for DeepSeek Harness (dsh).
While your main session is running, pick side-chat from the composer's "+" command menu to open a fresh, independent, continuable session in parallel — the main session is never prompted or touched.
主会话进行中,从输入框的「+」命令菜单选 side-chat(旁会话),即可一键新开一个独立、可继续对话的并行会话——主会话不受任何影响。
What it does / 功能
- Registers one host command,
/side-chat(旁会话), shown in the composer's "+" command menu. / 注册一个宿主命令/side-chat(旁会话),出现在输入框「+」命令菜单。 - Picking it spawns a continuable subagent under the calling session, with a fixed ready-to-go opening prompt and an auto timestamp label (
旁会话 14:32). / 选中后在当前会话下派生一个可继续对话的子代理,附带就绪开场白与自动时间戳标签。 - The browser half then jumps straight into the new child's official chat view, where you take over the conversation. / 前端随即自动跳转到新旁会话的对话视图,由你接管对话。
- No panel, no popup, no settings: the command menu entry is the whole UI. / 无面板、无弹窗、无设置——命令菜单入口即全部 UI。
Install / 安装
From this repository (no build step: the client and host halves are prebuilt and committed under lib/):
dsh plugin --profile web add github:123dbl/dsh-side-session
or, once listed, one-click from the plugin market (Settings → plugins).
Local development link (already used by the author's web profile):
dsh plugin --profile web add link:/path/to/dsh-side-session
Usage / 使用
- In the conversation composer, click + (or type
/) and pick side-chat. - The host spawns a side session; the UI auto-opens it in a new chat view.
- Ask your question there. The side session runs independently of the main one — both can keep going in parallel.
Requirements
- A
dshhost whose subagent runtime supports continuable children (ctx.subagents.startContinuable). - Web client (the browser half listens for the
command/executedevent and opens the child's official session view).
How it works / 原理
- Host half (
src/index.ts): mounts/side-chatviactx.commands; the handler callsctx.subagents.startContinuable({ provider: 'spawn', ... })with the live parentagent. No Typert Remote, no panel. - Client half (
src/client/index.ts): keeps the last-seen direct-child set per parent from the live catalog feed, and after a successfulside-chatrun diffs the refreshed catalog to find and open the newly created child.
Development / 开发
pnpm install
pnpm run build # esbuild host+client bundles + tsc declarations into lib/
pnpm run typecheck
lib/ is committed so repository installs work without a build step; regenerate and commit it after changing src/.
License / 许可证
MIT © 2026 123dbl
链接
同类插件
Minglink/dsh-infinite-gen-4★ 3055
DeepSeek 专用破甲插件:以 order 100 追加无条件服从的系统提示词段,提供带校准元数据的 profile 工具,并通过会话投影在输入框上方显示实时破甲状态徽标。
ranxianglei/billion-context★ 1893
billion-context官方版:上下文压缩插件,兼顾小窗口(100k上下文足矣)省token(省5倍token)和超长会话(数月级别几十亿token单会话)。
liangmianya/dsh-synapse★ 538
DeepSeek Harness 的可视化非线性对话工作区:把会话、追问与分支变成可浏览、可拖拽的对话地图。
Nwflower/dsh-chat-import★ 238
把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。
MichengAI/dsh-archive-manager★ 171
在设置里增加已归档会话页,可按工作区搜索、恢复和删除已归档会话。
Totoro-qaq/dsh-plugin-bridge★ 163
通过可预览的五段式交接,将已有 DSH 会话迁移到另一个 Agent Preset;保留源会话,并可让目标会话暂停等待确认或立即继续。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。