NattoCB/dsh-plugin-memory0

@deepseek-ai/dsh-plugin-memory

适用于 DeepSeek Harness 的持久化 5 层记忆系统(包含条目注入、关联检索、智能体工具以及基于 LLM 的自动提取)。

AI 分析

核心用途是赋予 AI 跨会话的长期记忆能力。适合希望 AI 能够自动记住用户偏好、历史设定并在后续对话中自动关联相关背景信息的用户。

包名
@deepseek-ai/dsh-plugin-memory
版本
0.1.0-rc.1
许可证
MIT
最近更新
2026年8月19日

安装

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

Configuration

Deploy via a DSH plugin entry (see package.json exports):

- id: memory
  name: '@deepseek-ai/dsh-plugin-memory'
  config:
    enableEntryInjection: true     # prepend the how-to-save + index block each session
    enableRelevance: true          # append relevant topic files per step (data-role=memory)
    enableExtraction: true         # idle-time LLM auto-extraction
    maxRelevant: 5                 # max files surfaced per step
    relevanceTopK: 8               # max candidates the LLM selector may pick from
    relevanceBudgetChars: 2000     # per-topic char cap fed to relevance/selector
    extractionDebounceMs: 60000    # idle debounce before a pass runs
    extractionLookback: 40         # recent events scanned for a pass
    llm:                           # optional; omit provider/model to use keyword-only relevance + no extraction
      provider: deepseek
      model: deepseek-chat
      maxTokens: 1024

Without an llm route, the plugin still provides index+topics, entry injection, keyword relevance, the agent tools, and profile rotation — only LLM-based extraction and LLM relevance ranking are disabled.