creativedswork/dsh-expmem ↗★ 2

@creative-dswork/dsh-expmem

Experience Memory for DeepSeek Harness 适合需要长期记忆存储、检索及反思机制的复杂 Agent 任务。

Package
@creative-dswork/dsh-expmem
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.5.0
License
MIT
Last updated
Sep 1, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:creativedswork/dsh-expmem

Configuration

Override the expmem row in the profile's cordis.patch.yml:

- id: expmem
  config:
    rootDir: /absolute/path/to/expmem
    maxEntryChars: 20000
    maxPreviewChars: 1000
    maxSearchResults: 20
    promotionEnabled: true
    warningRatio: 0.7
    maxPromotionsPerCycle: 3
    recoveryAfterCompaction: true
    reflectionEnabled: true
    reflectionThreshold: 30
    recencyDecay: 0.995

rootDir must be absolute. Search considers records matching at least one case-insensitive literal term, then ranks them. An empty query ranks all records allowed by the filters. Pressure promotion activates only when the active DSH composition provides both the token meter and model context-window metadata.

To change Recall indexing, override the bundle's existing row:

- id: session-query-sqlite
  config:
    path: /absolute/path/to/recall-index.sqlite
    openAt: first-search