yan5236/dsh-memory1

@nanmicoder/dsh-memory

Long-term memory system for DeepSeek Harness: two-phase extraction/consolidation pipeline over session logs, with summary injection and memory tools

AI Analysis

核心用途是为 DSH 赋予跨会话的长期记忆能力,自动提取和整合历史对话。适合需要 AI 记住历史上下文、进行连续性长期任务的用户。

Package
@nanmicoder/dsh-memory
Version
0.1.1
License
MIT
Last updated
Aug 16, 2026

Install

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

Configuration

The composition config provides the base layer (the bundled config: {} uses all defaults); the settings page overrides common entries and persists them to DSH storage:

- id: dsh-memory
  config:
    memoryRoot: C:/path/to/memories   # default $DSH_HOME/memories
    provider: deepseek-official       # optional: pin the pipeline model route
    model: deepseek-v4-flash          # paired with provider
    consolidationCooldownMs: 21600000 # consolidation cooldown (6 h default)
    idleDebounceMs: 180000            # post-turn idle window (3 min default)
    maxRolloutsPerRun: 3              # sessions extracted per run
    maxSummaryChars: 8000             # injected-summary character cap

See README_ZH.md for the full option table.