@yushenghai/dsh-memory-plugin
v0.1.0
Published
Pluggable persistent memory bundle for DeepSeek Harness
Readme
@ysh/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-pluginThe bundle adds its cordis.patch.yml layer automatically. Check the final composition with:
dsh --profile default --dump-configConfiguration
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.
Publish
pnpm install
pnpm run build
pnpm publish --access publicFor 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.
