ben7am1n/dsh-memory1

dsh-memory

DeepSeek Harness 的持久化跨会话记忆插件:基于本地 SQLite FTS5 存储,提供三个面向模型的工具和一个召回提示词段,无需嵌入服务或侧边栏。

AI 分析

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

包名
dsh-memory
版本
0.1.0
许可证
MIT
最近更新
2026年8月13日

安装

$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.