syncable-dev / dsh-plugin-memtrace

목록에 있음

🧠 Local-first code intelligence graph for DeepSeek Harness. Structural search, blast radius, temporal memory, and 27 agent skills.

main도구스킬세션 소스 보기

설치

npm install -g @deepseek-ai/dsh

이 명령은 GitHub 저장소 주소에서 생성됩니다. 실행 전에 업스트림 README와 소스를 검토하고 재현성이 필요하면 release 또는 commit을 고정하세요.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 61e9f23동기화 2026. 8. 17.

Memtrace

Memtrace for DeepSeek Harness

The code intelligence graph, as a DeepSeek Harness plugin.
Structural search · blast radius · temporal memory · 27 agent skills

DeepSeek Harness dsh-plugin topic memtrace.io

MIT DeepSeek Harness plugin npm Node CI

English · 简体中文

Memtrace graph inside DeepSeek Harness


What you get

One dsh plugin add wires Memtrace into DeepSeek Harness:

SurfaceWhat the agent sees
MCP toolsmcp__memtrace__find_symbol, mcp__memtrace__find_code, mcp__memtrace__get_impact, mcp__memtrace__get_evolution, mcp__memtrace__get_symbol_context, … — the full Memtrace graph, namespaced by the official DSH MCP client
Skills27 Agent Skills (memtrace-first, memtrace-search, memtrace-impact, memtrace-codebase-exploration, fleet coordination, …) registered on ctx.skills
Local-firstThe graph lives on your machine. No cloud index. No repo upload.

Ask the agent: "Index this repo, then show me the blast radius of apply."

It should call Memtrace — not grep.

Quick start

dsh is the DeepSeek Harness CLI (@deepseek-ai/dsh). Install that first — this plugin does not ship it.

# once
npm install -g @deepseek-ai/dsh

# then add Memtrace
dsh plugin --profile web add github:syncable-dev/dsh-plugin-memtrace

# no global install? same command via npx:
npx -y @deepseek-ai/dsh plugin --profile web add github:syncable-dev/dsh-plugin-memtrace

# 2. Restart the profile and confirm the layer
dsh --profile web --dump-config | grep -A4 'id: dsh-plugin-memtrace'

First launch may take a minute while npx memtrace mcp fetches the Memtrace binary. Pin a local install to skip that:

npm install -g memtrace
export MEMTRACE_BIN=memtrace

Then open the Web UI and index the workspace:

Use Memtrace to index this directory, then give me an architecture briefing.

Install & uninstall

ChannelCommand
Git (main)dsh plugin --profile web add github:syncable-dev/dsh-plugin-memtrace#main
npmdsh plugin --profile web add dsh-plugin-memtrace
Local checkoutdsh plugin --profile web add ./dsh-plugin-memtrace
Uninstalldsh plugin --profile web remove dsh-plugin-memtrace

This package is plain ESM — no prepare script, no allowBuilds prompt.

How it works

flowchart LR
  DSH[DeepSeek Harness] --> Bundle[dsh-plugin-memtrace]
  Bundle --> Skills[ctx.skills.register]
  Bundle --> MCP["@deepseek-ai/dsh-mcp-client"]
  MCP --> Server["memtrace mcp"]
  Server --> Graph[(local code graph)]

Two Cordis rows, both owned by this bundle:

  1. dsh-plugin-memtrace — reads skills/*/SKILL.md and registers each skill at apply time. Unload disposes them.
  2. mcp-memtrace — official MCP client, serverName: memtrace, stdio. MEMTRACE_BIN overrides the command; otherwise npx -y memtrace mcp.

We do not patch the filesystem skill provider's config. That row is last-write-wins; runtime registration does not collide with other skill packs.

Tools the model gets

After MCP discovery, every Memtrace tool is a native DSH tool under mcp__memtrace__*. The ones agents use first:

ToolUse when
list_indexed_repositoriesCheck what is already in the graph
index_directoryFirst contact with a repo
find_symbol / find_codeLocate a function, type, or behavior
get_symbol_contextCallers, callees, community
get_impactBlast radius before an edit
get_evolutionWhat changed, and when
recall_decisionWhy odd-looking code is there

Full parameter spec: references/mcp-parameters.md.

Skills

SkillTriggers on
memtrace-firstAny code discovery / "how does this work"
memtrace-index"index this project"
memtrace-search"find this function"
memtrace-impact"what breaks if I change this"
memtrace-evolution"what changed last week"
memtrace-codebase-exploration"I'm new here"
memtrace-code-reviewPR review
memtrace-incident-investigation"something broke"
memtrace-fleet-*Multi-agent coordination

All 27 bundles live under skills/.

Configuration

VariableEffect
MEMTRACE_BINAbsolute path or command used instead of npx -y memtrace mcp

Override the MCP row in the profile's cordis.patch.yml if you already run a Streamable HTTP Memtrace endpoint — restate the whole mcp-memtrace config (DSH does not deep-merge).

Compatibility

SurfaceStatus
HarnessDeepSeek Harness 0.1.0-rc.6+
Node^22.19.0 || >=24.0.0
PlatformsmacOS, Linux, Windows (Memtrace native binary via npm optional deps)
NetworkNone required after the Memtrace binary is present

Permissions & data

  • Spawns memtrace mcp in the session working directory (reads the repo to index; writes .memdb next to the project).
  • Registers skills from this package only.
  • Does not send code to Memtrace cloud. Local graph.

Topics

dsh · dsh-plugin · deepseek-harness · cordis · memtrace · mcp

License

MIT © 2026 Memtrace / Syncable

Community-maintained Harness plugin. Not an official DeepSeek product.

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. AM 7:08

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.