dsh-brainstorm-lab
interrice/dsh-brainstorm-lab
侧边栏头脑风暴面板:虾料区自由畅聊、幕僚区按研究项目讨论;对话即真实 DSH 会话,AI 通过工具把心得记成可置顶、可立项的思想火花。
安装
dsh plugin --profile web add github:interrice/dsh-brainstorm-labREADME
Brainstorm Lab (@interrice/brainstorm-lab)
A DeepSeek Harness plugin that adds a Brainstorm lab entry to the left sidebar: a panel for discussing scientific questions with AI.
The conversation in the middle is the real DSH conversation — every thread in the panel is a genuine DSH session, so the composer, model picker, reasoning and tool-call display, Stop, and attachments are exactly the native ones.
Zones
The panel is split into two zones:
- Roaming (虾料) — free chat about anything: methodology, literature, grant applications, writing, or anything else on your mind.
- Briefing (幕僚) — one discussion space per research project. Ideas recorded here are automatically filed under the project.
Idea sparks
During a discussion the assistant calls the brainstorm_record tool to record notes, hypotheses, method combinations, or lessons learned as idea sparks — short, scannable cards that collect in the right-hand sparks column, where they can be:
- pinned to the top,
- copied to the clipboard,
- promoted into a new research project,
- batch-selected and deleted.
The assistant can also list existing projects via the brainstorm_projects tool so sparks land in the right project.
Sparks are an append-only log: anything recorded in any session shows up in the panel, aggregated across conversations. Data stays on this machine.
Data storage
All data is stored locally:
$DSH_HOME/brainstorm-lab/whenDSH_HOMEis set, otherwise$DSH_PROFILE_DIR/.brainstorm-lab/, otherwise~/.dsh/brainstorm-lab/
The directory contains state.json (panel data), sparks.ndjson (the append-only spark log, one JSON object per line), a workspace/ subdirectory used as the workspace for panel conversations, and client-errors.log (renderer error reports).
Install
dsh plugin add github:interrice/dsh-brainstorm-lab
Development
Smoke tests live in tests/ and run with plain Node.js (no dependencies):
node tests/host-smoke.mjs # host half: routes, tools, prompt sections
node tests/client-smoke.mjs # client half: panel rendering with a React shim
node tests/css-check.mjs # checks bl-* class names against the STYLE block