sluminositys/dsh-nested-followups 预览 preview

sluminositys/dsh-nested-followups

插件Plugin ⭐ 12 MIT web-ui

Ask a follow-up on any past answer in an isolated branch, keeping your main conversation clean. 针对任意历史回答发起追问,新问题在独立分支中展开,主对话保持干净。A conversation-tree plugin for DeepSeek Harness / DeepSeek Harness 会话树插件。

编辑导读Editor's Brief

## 核心特性
- 该插件为 DeepSeek Harness Web 界面添加树状视图,用户与助手消息以独立卡片展示,主对话向下延伸,分支向右生长。
- 可从任意已完成的助手回答发起追问,分支回答本身也可继续分叉,未声明嵌套限制。
- 每个分支通过官方 fork 机制创建为独立会话,仅继承到所选回答为止的对话,主对话与同级分支保持隔离。
- 分支以只读代理运行,可通过允许的读取和查询工具检查工作区,但不能修改工作区状态。
- 大型树使用渐进折叠,并提供圆点、胶囊、活动标记、搜索、聚焦、概览图、缩放控件,以及按会话恢复的布局。

## 使用场景
- 用户可以询问较早回答中某个术语的含义,而不会向主任务上下文添加无关问题。
- 用户可以在分支中询问某个文件的作用,因为分支可以读取工作区但不能修改它。
- 用户可以继续一个隔离分支,而不必新建会话并丢失到所选回答为止的上下文。

## 技术细节
- 分支会话被记录为 subagent-origin 会话,因此它们不会出现在侧边栏会话列表中,同时在主对话下保留分支历史。
- 只读执行在工具运行时强制执行,允许一组列出的读取、查询和检查工具,同时拒绝未识别工具和嵌套写入操作。
- 分支请求复用父会话预设,并保持工具定义、提示词段落和展示格式不变,使请求前缀与分支点处的主对话一致。
- 该插件通过 dsh plugin --profile web add dsh-nested-followups 集成到 DeepSeek Harness web profile,并在保持 Chat 视图不变的同时提供 Tree View。

## 注意事项
- README 说明其兼容未修改的 DeepSeek Harness 0.1.0-rc.7,并要求 Node.js 22.19 或更高版本以及 pnpm。
- 在此目标版本中,分支无法从标准聊天视图继续,因此读取和继续分支需在 Tree View 中进行。
- 分支可能会以内置 Subagent 菜单中的禁用行显示,尽管它们仍不会出现在侧边栏会话列表中。

## Core Features
- The plugin adds a tree view to the DeepSeek Harness web interface where user and assistant messages appear as separate cards, the main conversation runs downward, and branches grow to the right.
- Follow-up questions can be started from any completed assistant answer, and branch answers can themselves be branched without a stated nesting limit.
- Each branch is created as a separate session through the official fork mechanism, inheriting the conversation only up to the selected answer while the main conversation and sibling branches remain isolated.
- Branches run as read-only agents that may inspect the workspace through permitted read and query tools but cannot modify workspace state.
- Large trees use progressive collapse with dots, capsules, activity markers, search, focus, overview map, zoom controls, and restored layout per conversation.

## Use Cases
- A user can ask what a term in an earlier answer means without adding an unrelated question to the main task context.
- A user can ask what a file does from a branch because branches can read the workspace but cannot modify it.
- A user can continue an isolated branch instead of starting a new conversation that loses the context up to the selected answer.

## Technical Details
- Branch sessions are recorded as subagent-origin sessions so they stay out of the sidebar session list while preserving branch history under the main conversation.
- Read-only execution is enforced when tools run, permitting a listed set of read, query, and inspection tools while refusing unrecognized tools and nested write operations.
- Branch requests reuse the parent session preset and leave tool definitions, prompt sections, and presentation format unchanged so the request prefix matches the main conversation at the branch point.
- The plugin integrates with the DeepSeek Harness web profile through dsh plugin --profile web add dsh-nested-followups and provides Tree View alongside the unchanged Chat view.

## Notes
- The README states compatibility with an unmodified DeepSeek Harness 0.1.0-rc.7 and requires Node.js 22.19 or later with pnpm.
- Branches cannot be continued from the standard chat view in this target release, so reading and continuing branches happen in Tree View.
- Branches may appear as disabled rows in the built-in Subagent menu, although they remain excluded from the sidebar session list.

安装Install

dsh plugin --profile web add dsh-nested-followups

sluminositys/dsh-nested-followups 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

上一个 Prev deepseek-harness-acp 下一个 Next godot-bridge