DSH Hub
dsh-plugin-solo-thinking cover

fredalxin/dsh-solo-thinking

dsh-plugin-solo-thinking

UIWeb UI23 GitHub stars· updated 2026-08-21

Solo-style isolated brainstorm branches and Handoffs for DeepSeek Harness

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-better-sidebar

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-plugin-solo-thinking DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-solo-thinking.svg)](https://dshhub.dev/plugins/dsh-solo-thinking)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from fredalxin/dsh-solo-thinking, cleaned of badges and images.

DSH Solo Thinking

把头脑风暴拆成一棵可操作的思考树:每个方向都是独立的 DeepSeek Harness Session,分支之间只交换 Agent 主动撰写的 Handoff。 Solo Thinking 是项目 Solo 的一部分能力。

Solo-style isolated brainstorm branches, automatic Handoffs, and a visual thinking tree for DeepSeek Harness.

[!NOTE] 上图是 Solo Thinking 自带的完整“头脑风暴”Tab,只安装本插件即可使用。对话右侧栏是可选增强,需要同时安装 Better Sidebar。

核心能力

  • 默认建议模式:信息足够时自动创建 2–4 个真正独立的方向,优先 4 个,不为凑数而分裂。
  • 独立 Session:每个节点拥有自己的对话、状态和生命周期,建议节点先休眠,收到第一条消息后才启动。
  • 自动 Handoff:分裂继承、Current State、兄弟感知和 Return 总结均由 Agent 自动撰写,用户不需要手写。
  • Workspace 继承:分支持久化挂在父 Session 所属 Workspace,不落入“未分组”。
  • 输入不串线:主输入框只发给当前 Session;思考树可直接向选中的其他分支发送;只有“进入对话”会导航。
  • 可回放持久化:树状态写入 DSH append-only Session 事件并通过 Projection 恢复。

兼容性与界面

安装组合顶部完整 Tab对话右侧栏支持情况
官方 DSH 0.1.0-rc.6 + Solo Thinking✓—Thinking 工具、自动建议、分支 Session、Handoff、Workspace 继承和完整上下文
再安装 Better Sidebar >=0.12.1✓✓在对话右侧查看思考树、选择节点、控制分支并直接发消息

Better Sidebar 是右栏功能依赖,但不是 Solo Thinking 核心能力的硬依赖:包中声明为 optional peer,运行时通过公开 registerTab 服务软检测,不会被重复打包。没有安装或运行中被卸载时,完整顶部 Tab 与 Host 侧 Thinking 能力仍然可用。dsh-web-ui 的 AionUI 文件/预览右栏目前没有第三方 Tab 注册接口,因此本插件不会依赖其 DOM 结构;使用它时继续用完整标签页。可选宿主补丁及其精确适用版本见 patches/README.md。

安装

要求 Node.js ^22.19.0 || >=24.0.0 和 DSH 0.1.0-rc.6。

官方 npm 单行安装(推荐,自动使用 latest)

dsh plugin --profile web add dsh-better-sidebar dsh-plugin-solo-thinking

两个包都发布在 npm 官方 Registry;不指定版本时会自动安装各自 latest 标签对应的版本。安装后会由各自的 dsh.bundle.patch 自动挂载。Solo Thinking 将 Better Sidebar 声明为可选 peer,避免重复实例;DSH 目前不会自动挂载传递依赖,所以命令中需要把两个插件都列为 profile 的直接依赖。若 pnpm 拦截 node-pty 构建或新包发布时间门禁,可使用下面的 Release 安装器。

Better Sidebar 0.12.1 可能打印宿主 DSH/React peer 警告;不要为消除提示把整套 DSH 或 React 重复装进 profile。已确认 Solo Thinking 自身没有缺失 peer,警告来源与上游 @xterm/addon-fit 版本债务见 依赖审计。

一行安装(自动使用最新 Release)

macOS / Linux(Windows 可在 Git Bash 或 WSL 中使用):

curl -fsSL https://raw.githubusercontent.com/fredalxin/dsh-solo-thinking/main/scripts/install.sh | bash

Windows PowerShell 5.1+ / pwsh:

irm https://raw.githubusercontent.com/fredalxin/dsh-solo-thinking/main/scripts/install.ps1 | iex

安装器会先为 Better Sidebar 精确放行 node-pty / protobufjs 构建并将其挂载为 profile 的直接插件,再解析最新 Solo Thinking Release、下载预构建 .tgz 与 .sha256、校验后交给官方 dsh plugin add,最后通过 --dump-config 验证两个 bundle。它不会修改 DSH 源码;对 pnpm-workspace.yaml 的改动仅限上述构建白名单和 dsh-better-sidebar 的发布时间例外,重复执行保持幂等。

固定版本或先预览:

curl -fsSL https://raw.githubusercontent.com/fredalxin/dsh-solo-thinking/main/scripts/install.sh | bash -s -- 0.1.19
curl -fsSL https://raw.githubusercontent.com/fredalxin/dsh-solo-thinking/main/scripts/install.sh | bash -s -- 0.1.19 --dry-run
& ([scriptblock]::Create((irm 'https://raw.githubusercontent.com/fredalxin/dsh-solo-thinking/main/scripts/install.ps1'))) -Version 0.1.19 -DryRun

不执行远程脚本:官方 CLI 单行安装(固定版本)

仓库提交了预构建 lib/,因此也可以直接固定 GitHub tag 安装;macOS、Linux 和 Windows 通用,不执行插件构建脚本:

dsh plugin --profile web add github:fredalxin/dsh-solo-thinking#v0.1.19

安装完成后启动或重启 DSH,再硬刷新浏览器:

dsh --profile web --dump-config
dsh --profile web

源码运行 DSH 时,把命令中的 dsh 换成 pnpm dsh。

下载后离线安装

下载 Release 中的 dsh-plugin-solo-thinking-0.1.19.tgz 后执行:

dsh plugin --profile web add ./dsh-plugin-solo-thinking-0.1.19.tgz
dsh --profile web

从源码构建

…

Related plugins