flymysql/dsh-memory0

dsh-memory-vault

DeepSeek Harness 跨会话记忆库插件,支持记忆/召回/遗忘工具、逐轮提示词注入及浏览器管理页。

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