Saltar al contenido principal
I

dsh-brainstorm-lab

interrice/dsh-brainstorm-lab

Sidebar brainstorm panel with a free-chat area and per-project discussion areas; conversations are real DSH sessions, and the AI records insights as persistent idea sparks through a tool, with a pinnable sparks column.

Instalar

dsh plugin --profile web add github:interrice/dsh-brainstorm-lab

README

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/ when DSH_HOME is 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

License

MIT

Plugins relacionados