跳到正文

heartmove/dsh-side-chat

60最近提交 2026年8月15日

dsh-side-chat DSH 插件

dsh-side-chat 为 DSH 对话添加专用侧边聊天面板。您可以选择文本在侧边独立聊天中提问,该聊天继承主对话的上下文。回复可以直接或摘要形式带回主对话。

如何安装 dsh-side-chat DSH 插件

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

复制不会执行命令。安装 dsh-side-chat DSH 插件前请核对仓库和版本。

dsh-side-chat DSH 插件数据来源

dsh-side-chat DSH 插件快照日期:2026年8月16日

discovered

dsh-side-chat DSH 插件能做什么

  • 选择消息任意部分,通过浮动按钮在侧边聊天中提问。
  • 按对话隔离:每个侧边聊天是隐藏的 DSH 会话,链接到其父对话。
  • 默认继承主对话的工具集、模型、思考程度和权限预设。
  • 每个侧边聊天可独立调整模型、思考程度和权限预设。
  • 需要时允许查找工作区和父对话(默认关闭)。
  • 将 AI 回复带回主对话:直接插入或先摘要,放入 composer 草稿或折叠上下文行。
  • 当主代理显示提问对话框时,侧边聊天自动列出问题和选项,可分析而不中断流程。
  • 侧边聊天可单独删除或一键全部删除。
  • 面板感知分辨率,可拖动调整大小(280–720 px),可折叠,宽度在重新加载后保持。

dsh-side-chat DSH 插件适合哪些场景

  • 分析对话中的特定部分,不离开主流程。
  • 在同一对话中为子任务使用不同的模型或设置。
  • 让 AI 帮助回答提问对话框,主代理等待,然后带回答案。
  • 将侧边聊天的摘要洞察作为上下文带入主对话。
  • 管理多个对话对应的侧边聊天,每个有自己的状态。

dsh-side-chat DSH 插件适合谁

  • 希望增强聊天体验、支持侧边面板多任务的 DSH 用户。
  • 需要在不中断主对话的情况下进行辅助分析或研究的高级用户。

dsh-side-chat DSH 插件的限制

  • 需要 DSH ≥ 0.1.0-rc.6 和 Node.js ≥ 20 以及 pnpm。
  • 从 GitHub 安装需要手动在 pnpm-workspace.yaml 中允许构建脚本。
  • 侧边聊天不是独立会话,需要父对话,不能单独使用。
  • “查找工作区/父对话”开关默认关闭,需要显式开启。
  • 仅支持 DSH web 配置文件(作为 bundle 插件)。

dsh-side-chat DSH 插件的仓库 README 摘录

以下文字摘自 dsh-side-chat DSH 插件的上游仓库 heartmove/dsh-side-chat 的 README,版权归原作者,仅作引用。

An **enhanced version of a Codex-style side chat** for [DSH](https://www.deepseek.com): a dedicated, agentic chat in a right-side panel, scoped to the conversation it was started from and aware of its workspace. Select part of a conversation and ask about it in the side chat; the side chat inherits the main conversation's toolset, model, and permission preset, and its AI replies can be **brought back to the main conversation** (directly or as a summary, into the composer draft or as a collapsed context row). On top of the Codex-style base, it adds one extra capability: when the main agent asks you a **question dialog**, you can side-chat about the question and its options **without interrupting the flow** — let the AI help you think it through first, then bring the answer back and answer the dialog. > 中文文档见 [README.zh.md](./README.zh.md). ## What it does - **Select text → ask in a side chat.** Select any part of a message and a floating button *"Ask in side chat"* appears. The selected text is carried into the side chat automatically. - **Per-conversation isolation.** Each side chat is a hidden ordinary DSH session (`meta.parentSession` links it to the conversation that s

阅读完整 README仓库许可: MIT

dsh-side-chat DSH 插件常见问题

如何安装 dsh-side-chat?

运行 `npx -p @deepseek-ai/dsh dsh plugin --profile web add github:heartmove/dsh-side-chat`。如果首次安装因 pnpm 构建脚本限制失败,请在 `~/.dsh/profiles/web/pnpm-workspace.yaml` 的 `allowBuilds` 中添加包键,然后重新运行命令。之后重启 `dsh web` 并硬刷新页面。

如何使用侧边聊天?

在主对话中选择任意消息的一部分,会出现浮动按钮“Ask in side chat”。点击打开侧边面板。侧边聊天继承主对话的上下文。您可以调整模型、权限,并切换“查找工作区/父对话”开关。发送问题后,AI 会在侧边面板中回复。

如何将侧边聊天的回复带回主对话?

每个侧边聊天中的助手回复都有“Insert directly”和“Summarize & insert”按钮。您也可以选择部分回复并使用浮动菜单。内容会根据 `bringMode` 设置放入 composer 草稿或折叠上下文行。您可以在 DSH 设置的“Side chat”中配置。

当主代理显示提问对话框时会发生什么?

侧边面板会自动列出问题和每个选项。您可以将选项带入现有侧边聊天或启动新聊天。主代理会等待而不中断。在侧边聊天中分析后,您可以将答案带回并回答对话框。

如何删除侧边聊天?

侧边聊天列表中的每个条目都有“×”删除按钮。点击可删除该侧边聊天。您也可以使用右上角的“Delete all”一键删除当前对话的所有侧边聊天。