dsh-codebase-watcher: Keeping the Codebase Memory Map in Sync with Each Project's git HEAD
After integrating DSH with Codebase Memory, the MCP cwd and CBM auto_index can easily lead to silent staleness in the knowledge graph. dsh-codebase-watcher detects lag by comparing HEAD with Branch.head_sha, invoking the CLI `index_repository` to rebuild only when necessary. It also provides a CBM graph card on the settings page, sidebar indicators, and a REST control plane. Based on the official README, this article covers dependencies (Node ≥ 20.13, DSH ≥ 0.2.0-rc.2, codebase-memory-mcp), three installation methods, first-launch recommendations, and considerations for disabling auto_index.
Read More@lovedolove/dsh-codebase-memory-mcp
`@lovedolove/dsh-codebase-memory-mcp` is a DeepSeek Harness plugin designed to enhance an agent's deep understanding of codebases using knowledge graphs, under the philosophy that “everything is a plugin.” It injects the capabilities of `codebase-memory-mcp` into the DSH toolchain, automatically starts the backend service and visualization interface, and registers six tools—including symbol search, call-chain tracing, and architecture overview—as well as the `/cbm` status check command. Before installation, ensure the environment meets the requirements and that the required executable files are preinstalled. After installation, the agent can efficiently invoke the graph-based tools as an alternative to traditional search.
Read More