dsh-side-chat

在右侧边栏打开一个临时侧边对话,复用宿主原生会话界面,回答的 Markdown 渲染、工具步骤、用时与 Token 用量都与主对话一致;在主对话里选中一段回答,即可唤起该对话的侧聊并把选中内容作为引用胶囊停在输入框内,随下一条消息一起生效,并计入侧聊上下文。侧聊运行在独立的内存会话上:主对话快照只作为参考上下文,不写入会话日志。

插件介绍

在右侧边栏打开一个临时侧边对话,复用宿主原生会话界面,回答的 Markdown 渲染、工具步骤、用时与 Token 用量都与主对话一致;在主对话里选中一段回答,即可唤起该对话的侧聊并把选中内容作为引用胶囊停在输入框内,随下一条消息一起生效,并计入侧聊上下文。侧聊运行在独立的内存会话上:主对话快照只作为参考上下文,不写入会话日志。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-side-chat

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:WuHututu/dsh-side-chat

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。