DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Mtm Codebase Memory — DeepSeek Harness 插件(DSH Plugin)
← Plugins

mtm-codebase-memory

Mtm Codebase Memory

用于 codebase-memory-mcp 的 DeepSeek Harness 集成

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add mtm-codebase-memory@0.2.2
README兼容性版本

兼容性与来源证明

Mtm Codebase Memory 以 mtm-codebase-memory 发布,当前版本为 0.2.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.2stable
2026/8/23
0.2.1stable
2026/8/23
0.2.0stable
2026/8/23

README

mtm-codebase-memory

A source-loadable DeepSeek Harness integration for the local codebase-memory-mcp runtime.

What it provides

The package exports a named Cordis plugin and a DSH profile bundle. Both paths use the same runtime implementation:

  • The plugin uses its package-owned npm CLI through the current Node binary only to provision the pinned package, then starts the cached native binary directly; neither npx nor CBM must be on PATH.
  • The pinned npm CLI provisions codebase-memory-mcp@0.10.8 on first use; the upstream wrapper verifies and caches the native runtime, including when lifecycle scripts are skipped.
  • The official @deepseek-ai/dsh-mcp-client remains responsible for MCP tool discovery, namespacing, reconnect, tool execution, and disposal.
  • The plugin maps CBM's graph-first instructions and documented explore/review workflows into DSH system-prompt assembly because the official bridge exposes MCP tools, not MCP prompts.
  • Session-start context and CBM hook-augment results are delivered through DSH's logged agent and tool-context paths. Hook failures are bounded and fail open.

The model-facing tool namespace defaults to mcp__codebase_memory__*.

Install

Install the bundle into the official local DSH web profile:

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

The bundle itself is installed into that profile; the native runtime is provisioned lazily by the package-owned npm CLI, so no global npx or codebase-memory-mcp command is required. A fresh DSH host is required after changing profile composition:

dsh --profile web --dump-config

The dump should contain a row named mtm-codebase-memory whose plugin name is also mtm-codebase-memory, not the old direct MCP-client row.

For a local checkout:

dsh plugin --profile web add /path/to/mtmdsh/packages/mtm-codebase-memory

Source composition

The package can be loaded without a profile patch when a custom local DSH composition owns its plugin list:

import * as CodebaseMemory from "mtm-codebase-memory";

await ctx.plugin(CodebaseMemory, {
  serverName: "codebase_memory",
});

The plugin requires the DSH systemPrompt and local subprocess services. Its nested official MCP client requires the normal DSH tools and model services.

Configuration

All fields are optional:

FieldDefaultPurpose
serverNamecodebase_memoryStable MCP tool namespace
command / argspackage-owned npm execOverride the local executable for a controlled test or installation
cwdDSH process cwdWorking directory for CBM and hook payloads
envemptyExplicit CBM environment entries
cacheDirunsetSets CBM_CACHE_DIR
allowedRootunsetSets CBM_ALLOWED_ROOT
ensureRuntimetrueProvision/resolve the native binary before MCP activation; false requires an offline cached runtime
augmentHookstrueEnable session and read/search context augmentation
failOnStartupErrorfalseUse the official MCP client's startup failure policy
toolCallTimeoutMs60000MCP tool-call timeout
hookTimeoutMs2000Bounded hook-augment timeout
runtimeCheckTimeoutMs120000Binary provisioning/version-check timeout

The shipped cordis.patch.yml supplies only the stable namespace. To override a row in a profile patch, restate the complete plugin config because DSH patch layers replace, rather than deep-merge, a matched row.

Example:

- id: mtm-codebase-memory
  name: mtm-codebase-memory
  config:
    serverName: codebase_memory
    allowedRoot: !!js process.cwd()
    env:
      CBM_LOG_LEVEL: warn

Do not put credentials in the patch. DSH's subprocess and MCP layers apply their normal environment scrubbing; explicit values in env are intentional opt-ins.

Lifecycle behavior

The plugin owns the current DSH-side frontend connection through Cordis. The native CBM runtime continues to own its shared daemon, watcher, indexes, and cache lifecycle. The plugin registers graph-first instructions in DSH system-prompt assembly and may add bounded CBM lifecycle context on the first step. Search/read tool events are translated to CBM's documented hook payload and any returned context is attached through DSH's logged tools/post-execute additional-context contract.

The integration does not run CBM's global codebase-memory-mcp install command. That command edits other agent clients' configuration files; DSH profile composition is the authority for this integration. The package-owned npm CLI is invoked only for the pinned package and native runtime provisioning.

First use

In a fresh session:

  1. Call mcp__codebase_memory__list_projects or mcp__codebase_memory__index_status.
  2. If the workspace is not indexed, call mcp__codebase_memory__index_repository with its absolute repo_path.
  3. Discover exact symbols with search_graph before calling trace_path or get_code_snippet.
  4. Check has_more and use check_index_coverage before relying on negative or exhaustive conclusions.

Verify

From the repository root:

pnpm check:mtm-codebase-memory
pnpm --filter mtm-codebase-memory pack --pack-destination dist/npm
node scripts/verify-package.mjs packages/mtm-codebase-memory dist/npm/mtm-codebase-memory-0.2.2.tgz
pnpm run smoke:mtm-codebase-memory -- dist/npm/mtm-codebase-memory-0.2.2.tgz

Set DSH_SMOKE_TOOL_CATALOG=1 for the optional live-session assertion that checks mcp__codebase_memory__list_projects in the model tool catalog. This check requires a working DSH model route.

Scope

This package targets the official local Node DSH Web Harness. It does not provide a Cloudflare Worker or remote multi-tenant execution plane. The native CBM runtime must remain on the local execution host.

查看其余 1 个版本
收起版本
0.1.0stable
2026/8/18

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Reme@agentscope-ai/reme面向 TypeScript 代理的 ReMe 客户端和记忆集成
最新版
0.2.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
32.3 kB
文件数
8
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
41
最近提交
2026/9/20
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录