DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

chtchenhaitao /

chtchenhaitao/dsh-shiguan-memory

Topic repository only

Local C++ probabilistic long-term memory for DeepSeek Harness: forgetting-curve compression, semantic clustering, memory-trajectory panel. npm: dsh-shiguan-memory

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@3eaff51e

dsh-shiguan-memory (史官记忆引擎)

Local C++ probabilistic long-term memory for DeepSeek Harness: forgetting-curve compression, semantic clustering, and a memory-trajectory panel. Replaces chat-history stuffing with a queryable memory store.

  • bundle/ — DSH plugin package (host plugin + 「记忆轨迹」 web panel)
  • engine/ — C++ engine source (bge-small-zh-v1.5 ONNX embeddings on DirectML/CPU, SQLite index, JSONL stdio server)

Install

dsh plugin --profile <profile> add dsh-shiguan-memory

Build the engine

# 1) fetch ONNX Runtime (pip wheel) and the embedding model:
#    - onnxruntime / onnxruntime-directml wheels (pip download, tsinghua mirror works)
#    - https://hf-mirror.com/Xenova/bge-small-zh-v1.5/resolve/main/onnx/model_quantized.onnx
#    - https://hf-mirror.com/Xenova/bge-small-zh-v1.5/resolve/main/tokenizer.json
#    - https://cdn.jsdelivr.net/gh/nlohmann/json@v3.11.3/single_include/nlohmann/json.hpp
#    - https://www.sqlite.org/2024/sqlite-amalgamation-3460100.zip
# 2) place artifacts per build.ps1, then:
powershell -File engine/build.ps1

License

MIT

—/ 5

No ratings yet

Manifest verification required

Commit 3eaff51e22ab

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout