@yushenghai/dsh-memory-plugin

memoryinstall failsnpmMIT

Persistent memory for DeepSeek Harness with curated facts, automatic turn retention, and graph- and vector-ranked recall.

下载量 / Downloads
722
测试时间 / Tested
2026-11-07
DSH 版本 / Version
0.2.2-rc.1

Install

dsh plugin --profile web add @yushenghai/dsh-memory-plugin

Sandbox test results

StageResult
1 install✗
2 list—
3 mount—
4 boot—
First error
dsh: initialized profile web at /home/node/.dsh/profiles/web

Four stages run in an isolated sandbox: install (network on) → list → mount → boot (last three with no network).

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-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.

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.

Rendered from the README published on npm. Formatted only, not edited.

Versions

Published on npm::1,最后更新 2026-09-02

Links

GitHub · Homepage · npm

Same category