DeepSeek Harness Plugin

interrice/dsh-brainstorm-lab

Stars ★ 0 Category Workflow & Automation Added 2026-12-01

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.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.