편집자 노트

记忆库(Memory)

Cross-session memory vault for DeepSeek Harness (DSH).

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

dsh-memory-vault

Cross-session memory vault for DeepSeek Harness (DSH).

Every DSH session starts from zero. dsh-memory gives your agents a persistent second brain: facts, preferences, decisions, and project notes survive across sessions and are recalled automatically.

  • 3 model toolsmemory_remember / memory_recall / memory_forget
  • Per-turn prompt injection — the most recent entries are injected into every system-prompt assembly, so the agent starts each turn already aware of stored context
  • Durable storage — records live in a storage domain (dsh_memory unit, json backend by default; unit names are snake_case per UNIT_NAME_RE)
  • Browser management page — a "记忆库 / Memory" page in Settings to browse, add, and delete entries

Install

dsh plugin --profile web add dsh-memory-vault

The dsh.bundle manifest wires the dsh-memory row into the profile automatically. To install by hand instead:

npm install dsh-memory-vault

then add a row to your profile cordis.yml (or cordis.patch.yml):

- id: dsh-memory
  name: dsh-memory-vault

Usage

Tell your agent to remember things, or do it yourself:

"记住:这个项目的部署目标是 Windows,测试命令是 pnpm test。"

The agent calls memory_remember with optional tags:

memory_remember(content="User prefers Windows deployment; test command is `pnpm test`", tags=["project:demo", "user"])

When context from an earlier session matters, the agent calls memory_recall(query="Windows deploy") — entries are scored by tag matches (×2) and content matches, newest first. Wrong or obsolete facts are removed with memory_forget(id="m-...") or memory_forget(tag="project:demo").

Configuration

KeyTypeDefaultMeaning
injectLimitint8Max entries injected per system-prompt assembly
recallLimitint10Max entries returned by memory_recall
- id: dsh-memory
  name: dsh-memory-vault
  config:
    injectLimit: 12
    recallLimit: 20

Browser page

Settings → 记忆库 (Memory). Lists all entries newest-first with tags and timestamps; quick-add and delete buttons.

The page talks to the host half through the harness webServer service — same-origin JSON endpoints (GET/POST /dsh-memory/entries). The dynamic-plugin prototype used the sandbox-only harness.handle/host.call package RPC; the published package uses the public route so it works in any deployment.

Development

The plugin is one cordis package:

  • lib/index.js — host half: domain, tools, prompt injection, RPC handlers
  • lib/client.js — web half: settings page

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.