HuaimaoCy/dsh-memory-vault ↗★ 0

dsh-memory-vault

Knowledge and memory vault for DSH: memory groups with automatic summarization, free assignment between conversation memory and the knowledge base, priorities, a base-prompt layer, and AI curation. 适合需要对对话记忆和知识库进行分类与自动摘要的任务。

パッケージ
dsh-memory-vault
互換性
未検証
Cordis ピア範囲
*
バージョン
0.2.1
最終更新
2026/09/26

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

Configuration

Override the shipped layer from ~/.dsh/profiles/web/cordis.patch.yml:

- id: memory-vault
  name: 'dsh-memory-vault'
  config:
    databasePath: null              # defaults to $DSH_HOME/memory-vault/vault.sqlite
    conversationGroupName: '对话记忆'
    knowledgeGroupName: '知识库'
    autoSummary: true               # threshold summarization on or off
    autoSummaryTurns: 6             # unsummarized message threshold
    autoSummaryChars: 4000          # unsummarized character threshold
    summarizer: 'llm'               # 'llm' calls a model; 'off' keeps manual only
    summarizerProvider: null        # provider override (defaults to the session route)
    summarizerModel: null           # model override
    summarizerMaxTokens: 1600
    summarizerTimeoutMs: 120000
    injectIndex: true               # inject the memory index section
    injectMaxGroups: 24             # groups listed at most
    indexEntryTitles: 5             # memory titles listed per group; 0 turns the catalogue off
    baseMaxEntries: 4               # base-prompt memories injected (not part of the quota)
    baseMaxChars: 1200              # character budget for the base layer
    transcriptRetention: 400        # summarized transcript rows kept per session
    searchLimit: 20                 # default `memory_recall` result cap
    maxEntryChars: 20000            # longest entry body
    applyByDefault: true            # whether a new session applies the default groups
    applyDefaultGroups: ['知识库']  # which groups those are
    applyMaxEntries: 12             # memories pushed into one session's prompt
    applyMaxChars: 2400             # character budget for those memories

Configuration is validated when the plugin loads: a bad value fails that row and names the offending field instead of degrading silently.