dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
An AI brain viewer for DeepSeek Harness: a brain-shaped relationship graph that opens from the left sidebar, plus a Markdown knowledge-base pipeline that turns a folder of notes into that graph.
🧠 AI Brain button at the bottom of the sidebar opens afull-screen relationship graph.
(sampled from the 🧠 emoji outline), with cluster hubs, drifting neurons, hover highlighting, drag-and-rebound and synapse pulses.
brain/ ships the full Markdown pipeline:scan a workspace (md / docx / xlsx) → split documents into memory units → write Obsidian-compatible [[wiki-link]] notes → compile the graph.
Nothing personal is bundled.
dsh plugin --profile desktop add dsh-brain-viewerThen fully quit and reopen DSH. The 🧠 AI Brain button appears at the bottom of the left sidebar.
Requirements: Node.js 20+ and Python 3.8+ (only for rebuilding; the viewer itself has no Python dependency).
# inside the installed package, or from a local checkout
node tools/rebuild.mjs --workspace "D:/my-notes" # scan your own folder
node tools/rebuild.mjs --demo # restore the demo brain
# data lands in brain/graph.json — reopen the panel, no page refresh neededThe pipeline writes memory notes to brain/vault/ and generates brain/graph.json, which the panel reads live.
# watch a Markdown vault (e.g. the vault your DSH memory skill writes to)
node tools/watch.mjs --vault "C:/path/to/vault"
# or watch a documents folder (md / docx / xlsx)
node tools/watch.mjs --workspace "D:/my-notes"Changes are debounced (2.5s) and the graph is rebuilt in ~1-3s. The panel re-fetches /api/dsh-brain/graph every time it opens, so reopening it shows the latest graph — no repack, no page refresh.
The panel no longer embeds data; it asks the host:
GET /api/dsh-brain/graph → brain/graph.jsonbrain/graph.json (demo data, or whatever rebuild.mjs wrote).// ~/.dsh/brain-viewer.config.json
{ "graphPath": "C:/path/to/ai-brain/graph.json" }Restart DSH once so the host route is loaded; after that, data changes only need reopening the panel.
gl.LINES batch; pan/zoom only updates a matrix instead of rebuilding geometry. A 6,398-node graph renders in 0.6–1.2 ms per frame (the old Canvas2D path was ~90 ms/frame).requestAnimationFrame at all while nothing is animating or interacting (0 frames at rest) — the same strategy as Obsidian's graph view. Continuous frames only while the drift / pulse toggles are on.client.js dropped from 1 MB to 31 KB; data never ships in the bundle and changes need no repack.brain/seed_demo.py).tools/rebuild.mjs --workspace reads files locally only; nothing is uploaded.dsh plugin --profile desktop remove dsh-brain-viewerOr delete dsh-brain-viewer from the profile's dsh.profile.bundles.
MIT
DSH runs pnpm install on every start. If the plugin is only in dsh.profile.bundles but not in dependencies, pnpm treats it as "not in the dependency tree" and moves it to node_modules/.ignored/.
The correct install (what install.mjs does):
/local-plugins/dsh-brain-viewer"dsh-brain-viewer": "link:./local-plugins/dsh-brain-viewer" in dependenciespnpm install so the lockfile records the linkIf pnpm fails on minimumReleaseAge / supply-chain policy (a transitive package missing from the mirror manifest), add it to minimumReleaseAgeExclude in the profile's pnpm-workspace.yaml.