DeepSeek Harness Plugin

benz-ai-x/dsh-research-graph

Stars ★ 10 Downloads (30d) 3,851 Category Sessions & Messages Added 2026-11-25 npm @benz-ai-x/dsh-research-graph

Session graph for DeepSeek Harness: find a Session, branch from any completed turn, and merge 2–3 Sessions into one new Session; saves Knowledge Cards with exact turn-level sources for reuse in follow-up Sessions, and replaces the built-in sidebar to add Workspace folders.

Install

# from npm (prebuilt)

dsh plugin --profile web add @benz-ai-x/dsh-research-graph

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

dsh plugin --profile web add github:benz-ai-x/dsh-research-graph

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


description: "Open-source DeepSeek Harness (DSH) plugin for Web and Desktop that puts Sessions on an interactive graph so you can find a past discussion, branch from any turn to explore directions in parallel, and merge branches into one conclusion, with Workspace folders, Research Topics, and Knowledge Cards to keep the work organized. Explore use cases, compatibility, and installation." kind: "package-bundle"

DSH Research Graph

CI

English | 简体中文

Put your DSH Sessions on one canvas: find the one you need, branch a discussion into parallel directions, and merge the branches back into one conclusion. DSH Research Graph is an independently maintained, open-source session graph plugin for DeepSeek Harness (DSH), running inside DSH Web and DSH Desktop. It draws each Session with its Branch and Merge relations, adds a folder level to the sidebar, and keeps what you learn as source-linked Knowledge Cards, for technical investigation, product research, and everyday planning such as a trip itinerary.

Use cases

  • Find a discussion: filter the canvas by title, preview a card on hover, or search discussion text when you remember what was said but not where.
  • Explore directions in parallel: branch from a completed turn to try another approach while the source Session stays intact.
  • Converge on a conclusion: merge 2–3 Sessions into a new one, asking the question you want answered, and keep the Merge relation visible on the canvas.
  • Keep the sidebar tidy: drag Sessions into Workspace folders, and gather related Sessions from several Workspaces into one Research Topic without moving them.
  • Keep what you learned: save conclusions as source-linked Knowledge Cards — one card per attraction when planning a trip, for example — then reuse them in a new discussion or export them as Markdown.

Capability map

---
config:
  flowchart:
    nodeSpacing: 16
    rankSpacing: 32
---
flowchart LR
  G["DSH Research Graph"] --> S["See and find"] & B["Branch and merge"] & K["Organize and keep"]
  S --> S1["Session graph<br/>Branch · Merge<br/>Subagent records"] & S2["Title filter · Previews<br/>Discussion search · Digests"]
  B --> B1["Branch from any turn"] & B2["Merge 2–3 Sessions"]
  K --> K1["Workspace folders<br/>Research Topics"] & K2["Knowledge Cards<br/>AI extraction · Synthesis<br/>Reuse · Export"]
  classDef brand fill:#2563eb,stroke:#2563eb,color:#fff
  classDef group fill:#eff6ff,stroke:#93c5fd,color:#1e3a8a
  classDef feature fill:#f8fafc,stroke:#cbd5e1,color:#0f172a
  class G brand
  class S,B,K group
  class S1,S2,B1,B2,K1,K2 feature

Screenshot

Version 0.2.2-rc.3.5 with demo data. Click the image for the full-resolution screenshot.

Key capabilities

Capability What you can do
Session graph and finding See a Workspace's Sessions on one canvas with their Branch and Merge relations. Filter by title, search discussion text, preview a card on hover, or generate a digest to decide which one to open; drag, collapse, and relayout without changing any source Session
Branch from any turn Choose Branch from here on a completed turn: the new Session inherits the turns before it and continues with your new question while the source stays intact. Create another branch to take another direction
Merge Sessions Pick 2–3 Sessions, write a question, and choose the destination Workspace and model. Harness creates one independent Session from a snapshot of each source, and the canvas keeps the Merge relation
Sidebar with Workspace folders The plugin's own sidebar replaces the official one and adds a folder level: Workspace → folder → Session. Drag Sessions into folders, keep the native menu on every Session row, and uninstall to restore the official sidebar
Research Topics Group Sessions across Workspaces without moving them, and return to the exact original turns behind a finding
Knowledge Cards Save conclusions with exact sources, by hand or through reviewed AI extraction such as one card per attraction. Reuse cards in a new discussion, compare 2–3 materials, and export Markdown

Key facts

Item Details
Plugin release 0.2.3-alpha.2 for DSH 0.2.3-alpha.2 (npm next) · 0.2.2-rc.5 for DSH 0.2.2-rc.5 (npm latest)
Required Host The DSH version the installed plugin release was built for: 0.2.3-alpha.2 with Node.js ^24.22.3 || >=26.13.1, or 0.2.2-rc.5 with Node.js >=24.9.0 · Web and Desktop
Data Research records and Workspace folders live on the DSH Host; view preferences and working positions stay in the browser, and Topic arrangements require explicit saving
Model calls Browsing, manual capture, and export make no model call; AI generation and new discussions use models on demand
Discussion search Uses DSH full-text indexing, which DSH 0.2.3-alpha.2 turns off by default. If search reports that indexing is off, follow Enable discussion search
Agent capabilities DSH provides models, tools, presets, and agent execution; this plugin includes no preset or Agent Team launcher. Details
Stack and license TypeScript · React · MIT

Frequently asked questions

How is DSH Research Graph different from ordinary AI chat history?

A chat history is a list: it does not show which Session branched from which, or which discussions were merged into one conclusion. Research Graph draws those relations on one canvas and lets you act on them — find a Session, branch from a turn, merge 2–3 Sessions — then keeps the work organized with Workspace folders, Research Topics, and Knowledge Cards. It complements the native DSH conversation instead of replacing its original history.

Does it require a separate app or service?

No. Research Graph installs as a plugin inside a compatible DSH Web or Desktop Host; the DSH profile still owns Session execution and model services.

Where are research records stored?

Research Topics, Knowledge Card revisions, Reuse records, and Workspace folders are stored on the DSH Host. Browser-local working positions and unsaved arrangements remain separate; original Session logs stay in Harness.

When does it call an AI model?

Browsing, searching, manual capture, and Markdown export make no model call. AI extraction, synthesis, title or digest generation, and new discussions use models only when explicitly requested.

Quick start

Each plugin release runs only on the DSH version it was built for. Check yours with dsh --version, stop any running dsh web, then install the matching release with both dsh and pnpm on your PATH:

# DSH 0.2.2-rc.5 (npm `latest`)
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.5
dsh web
# DSH 0.2.3-alpha.2 (npm `next`)
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.3-alpha.2
dsh web

In DSH Desktop, add the release that matches the application version from its Plugins page, or follow the Desktop install steps.

Not this package: the unscoped npm package dsh-research-graph is another author's finance research plugin. This project publishes only as @benz-ai-x/dsh-research-graph.

Open the login URL printed in the terminal, enter a non-blank Session, and select Research Graph: hover a card to preview it → open a Session and choose Branch from here on a completed turn → choose Merge sessions to bring the branches back together. See installation options if you run DSH through npx or from source.

Installable versions

Install a release that matches your DSH Host with dsh plugin --profile web add @benz-ai-x/dsh-research-graph@<version>. Each release pins its Host through the exact @deepseek-ai/dsh-llm peer, enforced when the profile starts.

Plugin release Required DSH Notes
0.2.3-alpha.2 0.2.3-alpha.2 Current release — retires plugin-owned Session Backup/Restore and adopts the new Host runtime floor; requires Node.js ^24.22.3 || >=26.13.1; npm next
0.2.3-alpha.1 0.2.3-alpha.1 Previous release — new Host Session status service, current-directory projection, and factual unread/failed presentation; requires Node.js >=24.9.0
0.2.2-rc.5 0.2.2-rc.5 DSH rc.5 adaptation with provider-refusal regression coverage; requires Node.js >=24.9.0; npm latest
0.2.2-rc.3.5 0.2.2-rc.3 Host-linked extraction model selection plus richer Knowledge Card filtering, badges, and grouped source reading; requires Node.js >=24.9.0
0.2.2-rc.3.4 0.2.2-rc.3 Reviewed Selected Session extraction with exact sources; requires Node.js >=24.9.0
0.2.2-rc.3.3 0.2.2-rc.3 Native Session backup and on-demand restore with Workspace-aware filenames and no overwriting; requires Node.js >=24.9.0
0.2.2-rc.3.2 0.2.2-rc.3 Restores unaccounted Sessions when re-adding the same Workspace directory; requires Node.js >=24.9.0
0.2.2-rc.3.1 0.2.2-rc.3 Restores Branch links for independent ordinary forks; requires Node.js >=24.9.0
0.2.2-rc.3 0.2.2-rc.3 Reusable Workspace picker Factory and New Session HOC; requires Node.js >=24.9.0
0.2.2-rc.2 0.2.2-rc.2 Previous release — DSH rc.2 compatibility and Menu anchor migration; requires Node.js >=24.9.0
0.2.2-rc.1 0.2.2-rc.1 First adaptation of DSH 0.2.2-rc.1; requires Node.js >=24.9.0
0.2.1-rc.5.2 0.2.1-rc.5 Breaking change: replaces the official sidebar with the vendored copy and Workspace folders (supersedes sidebar categories; old category data stays dormant)

See the full release history or all npm versions for older Host lines and package names.

Docs and support

User guide · Troubleshooting · Development and release · Release acceptance · Report an issue

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.