aqsk-BLG/dsh-memory ↗★ 2

dsh-file-memory

提供分层记忆管理与背景整合功能 适合需要工作区、角色文件及语义召回等原生记忆增强的用户。

包名
dsh-file-memory
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
*
版本
1.3.2
许可证
NOASSERTION
最近更新
2026年8月19日

安装

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

Configuration

KeyDefaultMeaning
dshHomeunsetAdvanced explicit override only. Normally omit it so the plugin uses the same root already selected by DSH: $DSH_HOME, otherwise DSH's default ~/.dsh
versionGateerrorHost-version gate at load: error fails loud on hosts below 0.1.0-rc.7, warn logs instead, off disables the check
memoryBudgetChars4000Code-point budget for global MEMORY.md
userBudgetChars1500Code-point budget for global USER.md
projectMemoryBudgetChars3000Code-point budget for live project MEMORY.md
reminderEnabledtrueInclude the skip-aware every-turn memory reminder
memorySectionOrder5Frozen global-memory prompt order
identityBudgetChars4000Code-point budget for IDENTITY.md
soulBudgetChars4000Code-point budget for SOUL.md
seedMissingPersonaFilestrueSeed conservative persona defaults when absent
seedMissingMemoryFilestrueSeed short USER.md/MEMORY.md templates when absent; never overwrites
personaSectionOrder-50Persona-file prompt order before deployment persona
maxHits20Maximum sessions one session_search call may return
semanticEnabledtrueUse semantic ranking when a model route is available
semanticProvider""Optional dedicated semantic provider, paired with semanticModel
semanticModel""Optional dedicated semantic model, paired with semanticProvider
semanticBatchSize30Candidates per semantic-ranking request
semanticCandidateChars2000Code-point budget retained from each past session
semanticMaxTokens2048Output-token cap for each ranking request
semanticReadConcurrency4Concurrent past-session surface reads
semanticFallbackEnabledtrueUse and label full-text fallback when semantics cannot run
flushEnabledtrueQueue the reminder after successful compaction
consolidationEnabledtrueRun skip-aware reviews after eligible completed turns
consolidationModeautomaticWrite controlled regions or log proposal candidates only
consolidationEveryEligibleTurns1Eligible completed tasks per ordinary review batch; raise above one only to opt into batching
consolidationMinUserChars12Minimum human code points for a non-tool turn
consolidationMinAssistantChars24Minimum assistant code points for a non-tool turn
consolidationMaxTurnsPerReview20Maximum eligible turns in one review
consolidationTranscriptBudgetChars12000Bounded review transcript text
consolidationDailyBudgetChars1200Daily append budget per review
consolidationMaxTokensunsetAdvanced route override only; normally omit it so the selected model adapter supplies its native output limit
consolidationReasoningEffortunsetNormally inherit the live session's effort on the same route, or the dedicated route's adapter default
consolidationTimeoutMs180000End-to-end background-review deadline in milliseconds
consolidationMaxDeletionRatio0.5Larger automatic managed-list deletions become proposals; a full clear is always protected unless explicitly requested
consolidationRetryBaseDelayMs60000Initial transient-failure retry delay
consolidationRetryMaxDelayMs3600000Maximum transient-failure retry delay
consolidationProvider""Optional dedicated review provider, paired with consolidationModel
consolidationModel""Optional dedicated review model, paired with consolidationProvider

For a raw Cordis composition rather than a profile bundle:

- name: dsh-file-memory
  config:
    reminderEnabled: true
    semanticEnabled: true
    flushEnabled: true
    consolidationEnabled: true