DiligenceLai/dsh-memory-ga0

dsh-memory-ga

Gated GA-style layered memory for DeepSeek Harness: hard-injected L1, working checkpoint, settlement to Skills/L1/L2 — no silent auto-retain.

AI 分析

核心用途是精细化管理 Agent 的长期与短期记忆,避免无节制的上下文膨胀。适合对 Agent 记忆留存有严格控制要求的专业用户。强依赖 tools、systemPrompt 和 llm 注入。

パッケージ
dsh-memory-ga
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/22

インストール

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

ドキュメント

README 全文を読む ↗

Configuration

Cordis config on plugin id memory-ga (optional):

- id: memory-ga
  config:
    # root: null            # default: $DSH_HOME/memory
    bootstrap: true
    injectL1: true
    injectWorking: true
    l1MaxChars: 1200
    workingMaxChars: 1200
    persistWorkingFile: true
    nudge:
      enabled: true
      workingEvery: 12
      settleAfterSteps: 15
      maxWorkingNudges: 3
      maxSettleNudges: 2

Hard dependency: the plugin declares inject: ["tools", "systemPrompt", "llm"]. @deepseek-ai/dsh-llm (with createUserMessage) must be present in the host composition — working-memory and nudge injection rely on it. If it is missing, the plugin still loads but memory_status will warn that working/nudges are not injected, rather than silently failing.

workingMaxChars is the single cap for both storing and injecting the working notepad, so memory_status.workingChars always reflects what the model actually sees.