hy-sde/dsh-tool-codebase-memory--packages-tool-codebase-memory ↗★ 0

@hy-sde-org/dsh-tool-codebase-memory

面向模型的代码库记忆命令行工具 提供代码库索引、检索及架构分析工具。适合需要深度理解大型代码库的智能体。

套件
@hy-sde-org/dsh-tool-codebase-memory
相容性
待驗證
Harness 依賴範圍
^0.2.0-rc.2
Cordis 依賴範圍
~4.0.4
版本
0.2.0-rc.2
授權
NOASSERTION
最近更新
2026年10月3日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hy-sde/dsh-tool-codebase-memory#41dcb8943cc3de149262a687c6866291bae99be7&path:packages/tool-codebase-memory

Configuration

import { Context } from '@deepseek-ai/cordis'
import toolCodebaseMemoryPackage from '@hy-sde-org/dsh-tool-codebase-memory'

const ctx = new Context()
ctx.plugin(toolCodebaseMemoryPackage, {
  cliPath: 'codebase-memory-mcp', // CLI executable (default: on PATH)
  project: 'deepseek-harness', // default project for tools that can omit it
  timeoutMs: 60000, // per-call process timeout (index calls use indexTimeoutMs)
  indexTimeoutMs: 600000, // timeout for codebase_index_repository
  maxChars: 200000, // cap on rendered JSON payload before explicit truncation
})

Setting project makes every call explicit about its graph target while still allowing overrides. The plugin activation invariant fails fast with an install hint when the CLI is missing. Verify at any time with codebase-memory-mcp cli list_projects.