fredalxin/dsh-solo-thinking ↗★ 23
dsh-plugin-solo-thinking
提供Solo风格的独立头脑风暴分支与交接 适合需要在DSH中进行隔离式分支思考与任务交接的深度用户,需Node 22+。
同名包的其他仓库
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fredalxin/dsh-solo-thinking说明文档
阅读完整 README ↗官方 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
30 秒开始使用
在普通 DSH 对话里说:
开启头脑风暴,主题是“给独立开发者做一个本地 AI 工作台”。
请先发散;如果有多个值得独立深挖的方向,直接建立建议分支。
Agent 会调用 thinking_start,随后在适合分裂时调用一次 thinking_suggest。建议分支只创建、不自动运行;点击节点可查看 Handoff,直接在树中发消息即可启动该分支。