DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-codebase-memory

a

dsh-codebase-memory

Manifest valid★ 4

DSH bundle that bridges the Codebase Memory MCP code knowledge graph into DSH via the official @deepseek-ai/dsh-mcp-client.

hasBundlePatch

DSH Codebase Memory

中文文档 | English

Local DSH bundle that connects Codebase Memory MCP through the official @deepseek-ai/dsh-mcp-client bridge, and ships a file-system watcher that keeps the knowledge graph fresh.

Runtime

  • codebase-memory-mcp@0.10.8
  • Windows AMD64 release SHA-256: b43ad982994c4d829670749e08d3b622a74bb20041fc0a7d02bef6113f81c34d
  • MCP namespace: mcp__codebase_memory__*
  • Graph UI: http://127.0.0.1:9749

Bundles

The package registers two Cordis bundles in cordis.patch.yml:

Bundle idPurpose
mcp-codebase-memoryBridges the upstream MCP server into DSH so all mcp__codebase_memory__* tools (search_graph, detect_changes, get_architecture, index_repository, …) are exposed natively.
dsh-codebase-memory-watcherSame package, second bundle id; spins up a chokidar watcher per project, debounces file edits, and re-runs index_repository via the global codebase-memory-mcp CLI.

The watcher never owns the MCP client connection — it shells out to codebase-memory-mcp cli index_repository '{"repo_path":"..."}' for each rebuild, which is acceptable because the upstream indexer is fast enough on small projects (< 30 s for dsh-github).

Watcher routes (auto-registered when webServer is available)

Method + pathBody / queryEffect
GET /api/dsh-codebase-memory/watcher/list–List every persisted watcher with status, lastRun, lastDurationMs, lastError, …
GET /api/dsh-codebase-memory/watcher/status?id=<id>–Same payload for a single watcher.
POST /api/dsh-codebase-memory/watcher/start{ repoPath, debounceMs?, mode?, ignored?, watchedExtensions? }Start a watcher (persists state, returns the new id).
POST /api/dsh-codebase-memory/watcher/stop{ id } or ?id=Stop + mark stopped (state kept).
POST /api/dsh-codebase-memory/watcher/rebuild{ id }Trigger an immediate rebuild regardless of pending edits.
POST /api/dsh-codebase-memory/watcher/restart–Restart every non-stopped watcher from persisted state.
POST /api/dsh-codebase-memory/watcher/auto-attach–Call list_projects on the MCP server and start a watcher for each project not already covered.
GET /api/dsh-codebase-memory/watcher/cli-info–Report the resolved codebase-memory-mcp.exe path.

Defaults (configurable in cordis.patch.yml)

  • debounceMs: 5000 (5 s quiet period before rebuild)
  • mode: moderate (type-aware LSP call/usage resolution; fast skips similarity, full enables similarity + every file)
  • autoAttach: true (start a watcher for every project the MCP server already knows at boot)
  • usePolling: false (native file notifications by default; enable polling only for filesystems that miss events because it increases CPU and disk activity)
  • ignored: **/node_modules/**, **/.git/**, **/dist/**, **/build/**, **/.next/**, **/.turbo/**, **/.codebase-memory/**, **/.pnpm-store/**, **/target/**, **/__pycache__/**, **/.venv/**
  • watchedExtensions: .ts, .tsx, .js, .jsx, .mjs, .cjs, .py, .go, .rs, .java, .cs, .rb, .php, .vue, .svelte

State persistence

Watcher records live in ~/.dsh/dsh-codebase-memory/watcher.json and are written with owner-only permissions where the platform supports them. Plugin disposal closes live handles without changing the persisted intent; the next DSH Web start re-creates every watcher that the user did not explicitly stop.

Screenshots

dsh-codebase-memory screenshot

Install

Download the newest dsh-codebase-memory-*.tgz from Releases and add it to the profile:

dsh plugin --profile web add D:\downloads\dsh-codebase-memory-0.2.0.tgz

For local development, install from a checkout instead:

dsh plugin --profile web add link:D:/项目/dsh-codebase-memory

Restart the DSH Web host after installation.

Remove

dsh plugin --profile web remove dsh-codebase-memory

The global runtime remains pinned independently and can be removed with npm uninstall -g codebase-memory-mcp.

Compatibility

DSH 0.1.7-alpha.2: failedDSH 0.1.7-rc.1: failedDSH 0.1.7-rc.2: failed

Versions

Latest versionPublishedSize
0.2.1——

Comments

Loading…

Similar plugins

dsh-codebase-memory

by smter

DeepSeek Harness plugin: connects the codebase-memory-mcp code graph, nudges the model at the decision point, corrects failed MCP calls, and indexes repositories by itself.

Manifest valid

★ 0

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-codebase-memory

by LoveDoLove

Codebase Memory MCP bridge plugin for DeepSeek Harness: knowledge-graph code search, AST snippets, architecture analysis, call-graph tracing, auto-started graph UI, bundled skill, and /cbm command.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add @lovedolove/dsh-codebase-memory-mcp

by princeofdream

dsh-codebase-memory-mcp

Manifest valid

★ 0

MIT

JavaScript

Aug 25, 2026

dsh plugin --profile web add dsh-codebase-memory-mcp

by why913

DeepSeek Harness(dsh)的 MCP / Skill / 记忆管理工具:写入前先连接自检,连不上不写;从 Claude Code / Codex 一键迁移;可装成 dsh 插件,在 Web 里用 /mcp 命令和卡片操作。

Development & InfrastructureManifest valid

★ 5

↓ 18/wk

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @why913/dshx

DSH × Codebase Memory 圖譜保鮮插件:讓 CBM 知識圖譜自動跟上各專案的 git HEAD(落後偵測、條件式 CLI 重建、每專案監看、設定頁觀測卡片與 REST 控制面)

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-codebase-watcher

by baaai123

Memory enforcement plugin for DeepSeek Harness — bridges opencode-memory MCP server with a hard protocol gate

Memory & ContextManifest valid

★ 3

JavaScript

Sep 5, 2026

dsh plugin --profile web add dsh-memory-protocol