snowfoxHQ/dsh-hmr--plugins-dsh-hmr ↗★ 0
dsh-hmr
dsh-Hestia Memory Runtime (dsh-hmr): cognitive memory for DeepSeek Harness — reasoning chains, reflection and self-evolution. Not hot module replacement. 适合需要为智能体引入推理链、反思与认知记忆能力的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:snowfoxHQ/dsh-hmr#750c474efb70039602f654efa653719a2231369e&path:plugins/dsh-hmrドキュメント
README 全文を読む ↗Configuration
Everything is optional; the defaults work on a clean machine.
| Option | Default | Meaning |
|---|---|---|
process | 'managed' | managed spawns and supervises the Python service; external connects to one you run yourself. |
baseUrl | http://127.0.0.1:8077 | Service base URL. Host/port are reused when spawning. |
token | – | Shared secret, sent as x-hmr-token / HMR_TOKEN. |
python | 'python' | Interpreter used to spawn the service. |
serviceDir | bundled copy | Directory containing server.py. |
storagePath | ~/.dsh-hmr/data | Where HMR keeps its data. Invalid paths fall back to the default with a warning. |
startupTimeoutMs | 180000 | How long to wait for /health on first startup. |
requestTimeoutMs | 120000 | Per-request timeout. |
offline | false | Sets HF_HUB_OFFLINE=1 / TRANSFORMERS_OFFLINE=1 for the service. Turn this on when the embedding model is already cached — it cuts startup from ~75s to a few seconds. |
Example cordis.patch.yml override:
- id: hmr-memory
config:
process: external
baseUrl: http://127.0.0.1:8077
token: !env HMR_TOKEN
offline: true
Embeddings
The embedding backend is not configured here. HMR reads it from its own environment
(HMR_EMBEDDING_*, .env next to the service). The plugin only forwards HMR_HOST, HMR_PORT,
HMR_STORAGE_PATH, HMR_TOKEN and the offline switches.