icearia0219/dsh-memory-spaces ↗★ 3

dsh-memory-spaces

Explicitly governed shared memory spaces for DeepSeek Harness sessions

套件
dsh-memory-spaces
相容性
待驗證
Harness 依賴範圍
>=0.1.0-rc.6 <0.2.0
Cordis 依賴範圍
^4.0.1
版本
0.1.1
授權
MIT
最近更新
2026年9月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-memory-spaces@0.1.1

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.