flymysql/dsh-memory0

dsh-memory-vault

Cross-session memory vault for DeepSeek Harness: remember / recall / forget tools, per-turn prompt injection, and a browser management page.

AI 분석

核心用途是为 Agent 提供跨会话的长期记忆能力。适合需要 Agent 记住特定项目背景、用户偏好,并在后续对话中通过工具自动召回相关事实的用户。

패키지
dsh-memory-vault
버전
0.1.5
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flymysql/dsh-memory

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

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