icearia0219/dsh-memory-spaces0

dsh-memory-spaces

Explicitly governed shared memory spaces for DeepSeek Harness sessions

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

安装

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

Configuration

FieldDefaultMeaning
databasePathRequired; bundle uses profile:memory-spaces-v4.sqliteInstalled packages resolve the file under the owning DSH Profile. :memory: is accepted for tests.
journalModewalSQLite journal mode: wal, delete, truncate, or persist.
busyTimeoutMs5000Wait for a locked database before failing an operation.
maxMemoryBytes8192Maximum UTF-8 bytes in one memory version.
maxQueryBytes4096Maximum UTF-8 bytes retained from direct user input for retrieval.
maxRecallItems8Maximum ranked candidates considered for preview and injection.
maxRecallBytes16384Complete warning, JSON provenance, and memory-content byte limit.
historySummaryProviderEmptyFixed summary provider; empty uses the Session's latest route and must pair with the model field.
historySummaryModelEmptyFixed summary model; empty uses the Session's latest route and must pair with the provider field.
historySummaryMaxTokens1200Maximum summary output tokens; token-truncated output is not saved.
maxHistoryImportBytes65536Maximum bounded transcript bytes sent to the summary model.

Schema version 4 stores independent source and consumer tables. A version 3 database placed at the configured target path is backed up and migrated as follows: read becomes automatic consumption; write becomes a source; read_write becomes both; manual_only becomes a source plus confirmation consumption. The new default does not silently reuse a legacy global $DSH_HOME/memory-spaces-v3.sqlite; follow Backup and recovery for an explicit move. Other unknown schema versions fail closed without changing the journal mode.