ben7am1n/dsh-memory1

dsh-memory

Durable cross-session memory for DeepSeek Harness: local SQLite FTS5 store, three model-facing tools, and a recall prompt section — no embedding service and no sidecar

AI Analysis

核心用途是为 AI 提供轻量级的跨会话长期记忆。适合需要 Agent 记住历史设定、项目背景或用户偏好的长期任务,无需复杂的向量数据库配置。

Package
dsh-memory
Version
0.1.0
License
MIT
Last updated
Aug 13, 2026

Install

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

Configuration

- id: memory
  name: dsh-memory
  config:
    path: !!js dshHomePath('memory/memory.db')
    promptRecentCount: 10
    promptMaxChars: 2000
    maxTextChars: 2000
    searchLimitDefault: 10
    searchLimitMax: 50
    promptOrder: 50
FieldDefaultMeaning
path— (required)SQLite file, or :memory: for an ephemeral store
promptRecentCount10Unpinned recent memories offered to the prompt section
promptMaxChars2000Budget for the rendered section; overflow is reported as a count, and pinned memories are emitted first so they survive a tight budget
maxTextChars2000Maximum characters accepted for one memory
searchLimitDefault10memory_search limit when the model omits it
searchLimitMax50Hard cap, whatever the model asks for
promptOrder50Section order; -100 is the harness identity, 0 the persona

path has no code-side default on purpose: a default would scatter durable user facts into whatever directory the harness happened to start in. The deployment value lives in the patch row.