@yushenghai/dsh-memory-plugin
Persistent-memory bundle for DeepSeek Harness. It provides curated project facts and user preferences, automatic completed-turn retention, asynchronous inbox prefetch, current-question recall, optional semantic vectors, and a local entity co-occurrence graph.
Install
dsh plugin --profile default add @yushenghai/dsh-memory-plugin
The bundle adds its cordis.patch.yml layer automatically. Check the final composition with:
dsh --profile default --dump-config
Configuration
provider: local enables the built-in durable provider. Set embeddingProvider only when another plugin registers a matching MemoryEmbedder; it adds semantic-vector ranking without replacing the local graph.
The default patch configures bounded static memory, automatic retention, and a 30-second prefetch cache. Override its ysh-memory row in the profile's cordis.patch.yml to change those values.
Compatibility
This bundle targets DeepSeek Harness 0.1.2-alpha.2 and newer. It expects the selected profile to include the normal storage, agent, LLM, and tool services from @deepseek-ai/dsh-base.
Publish
pnpm install
pnpm run build
pnpm publish --access public
For Git-host installation, prepare builds the package. Consumers must explicitly allow that build in their profile's pnpm-workspace.yaml; npm publication with prebuilt dist/ avoids that approval.