RealAlexandreAI/dsh-dejavu-memory ↗★ 1

dsh-dejavu-memory

连接长期记忆服务器以实现会话记忆管理 适合需要跨会话长期记忆、自动简报功能的任务;需自备服务器。

套件
dsh-dejavu-memory
相容性
待驗證
版本
0.4.1
授權
MIT
最近更新
2026年9月18日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RealAlexandreAI/dsh-dejavu-memory

dsh-dejavu-memory — long-term memory for DeepSeek Harness

dsh-dejavu-memory

Renamed: former npm/GitHub package dsh-noc-memory → dsh-dejavu-memory. Prefer this package; deprecate the old name when publishing.

Connects DeepSeek Harness to DejaVu: session-start boot + daily briefing, plus memory read / search / create / update / delete, backed by your own DejaVu MCP server on Cloudflare.

Port of pi-dejavu-memory — same protocol, same tool names.

English · 中文

Tools

toolwhat it does
noc_bootload at session start: system://boot, system://recent/5, system://triggers, then best-effort system://briefing; afterward read system://focus (recent is a briefing subset — no need to re-read it after boot)
noc_readread a memory by URI (system://…, noc://agent, …)
noc_searchsearch memories (semantic + keyword / trigger recall via search_memory)
noc_createcreate a memory node ([Baseline]/[Deviation]/[Result]/[Reusable judgment])
noc_updatefull replace, patch (old_string/new_string), or append; optional relation
noc_deletedelete a memory by URI (delete_memory)

Quick start

dsh plugin --profile web add dsh-dejavu-memory

Requires your own DejaVu server — deploy it to Cloudflare in minutes: DejaVu.

- id: dejavu
  name: dsh-dejavu-memory
  config:
    mcp_url: https://dejavu.example.com/mcp
    mcp_auth: ""  # prefer mcp_headers for Access service token

For a server behind Cloudflare Access (e.g. dejavu.example.com), use the service token headers instead of mcp_auth:

- id: dejavu
  name: dsh-dejavu-memory
  config:
    mcp_url: https://dejavu.example.com/mcp
    mcp_headers:
      CF-Access-Client-Id: 
      CF-Access-Client-Secret: 
keyrequiredmeaning
mcp_urlyesyour DejaVu MCP endpoint (Streamable HTTP)
mcp_authnolegacy; prefer mcp_headers for Cloudflare Access service token
mcp_headersnoextra headers merged into every MCP request (e.g. Cloudflare Access service token)

Upgrading from dsh-noc-memory: package renamed to dsh-dejavu-memory. Remove the old plugin and re-add; point config id at dejavu.

Why noc_* (not DejaVu_*)?

Some agents probe read_mcp_resource before reaching for a memory tool, wasting a round trip (upstream issue #32). Explicit noc_boot / noc_read naming in the tool list and boot-protocol prompt steers models straight to the right tool — no resource shim required.

License

MIT

Related