dshplugin.devDeepSeek Harness Plugins
DSH Nocturne Memory plugin logo
DeepSeek Harness Plugin

DSH Nocturne Memory

0
Published by RealAlexandreAI

dsh memory: Nocturne Memory client for DeepSeek Harness

Sessionsdsh-plugin

Get this plugin

Review the source, then continue to the publisher.

dsh plugin add dsh-nocturne-memory
Get this plugin
Share on X ↗

About this plugin

Source snapshot 8/13/2026

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

dsh-nocturne-memory

Connects DeepSeek Harness to Nocturne Memory: session-start boot protocol plus memory read / search / create / update, backed by your own Nocturne MCP server.

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

English · 中文

Tools

toolwhat it does
nocturne_bootload at session start: core memories + recent context + glossary
nocturne_readread a memory by URI (system://…, core://agent, …)
nocturne_searchsearch memories by keywords (optional domain filter)
nocturne_createcreate a memory node ([Baseline]/[Deviation]/[Result]/[Reusable judgment])
nocturne_updatepatch (old_string/new_string) or append to a memory

Quick start

dsh plugin add dsh-nocturne-memory

Requires your own Nocturne MCP server (see the Nocturne Memory project).

- id: memory
  name: dsh-nocturne-memory
  config:
    mcp_url: http://localhost:PORT/mcp
    mcp_auth_ref: NOCTURNE_MCP_AUTH   # env var name — recommended
    # mcp_auth: <direct value>
keyrequiredmeaning
mcp_urlyour Nocturne MCP server URL
mcp_auth_ref*env-var name of the MCP auth token (via ctx.credentials)
mcp_auth*direct token value (fallback)
protocol_versionMCP protocol version (default 2024-11-05)

* one of the two auth keys.

Privacy

  • Memories live on your own MCP server; this plugin is a thin client and stores nothing locally.
  • The auth token is resolved per operation via ctx.credentials — never logged.
  • Only the memory URIs/queries/content you explicitly ask about cross the wire.

Development

npm install
npm run typecheck
npm test          # SSE parsing / text extraction
npm run build

Live MCP test (reuses your pi Nocturne config):

node --import tsx tests/real/real-mcp.mjs

License

MIT