disc0nct/dsh-memory-plugin

disc0nct★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

A persistent memory plugin for DeepSeek Harness (DSH) that enables agents to store and recall information across sessions.

README 摘要

@deepseek-ai/dsh-tool-memory A persistent memory plugin for DeepSeek Harness (DSH) that enables agents to store and recall information across sessions, similar to the memory system in Hermes agent AI. Features - 🧠 Persistent Storage : Memories are saved to disk and survive across sessions - 🔍 Flexible Search : Hybrid keyword+semantic (token Jaccard + substring) with mode: hybrid keyword semantic - 🏷️ Categorization : Organize memories with optional categories (kebab-case, defaults to general ) - 📋 Seven Tools : memory store , memory search , memory get , memory list , memory delete , memory clear , memory stats - 🔄 Atomic Writes : write+rename with mkdir -p , corrupt-file recovery to .corrupt. , orphan .tmp. sweep ( 1h) on load - ⚡ Performance : In-memory mtime cache, timestampMs numeric sort, inverted index Map for sub-linear hybridSearch , MAX FACTS cap, timeoutMs:5000 , isConcurrencySafe for reads - ✅ Validation & Safety : kebab-case keys, MAX TIMESTAMP MS , timestampMs auto-generated, MemoryPluginError + 3× retry for EACCES/EBUSY , memory clear confirm:true , withWriteLock per-file serialization - 🧩 Modular & DSH-Native : lib/config storage validation search/scoring tools…

在 GitHub 查看完整 README →
Agent/智能体dshdsh-plugindsh-plugin-marketdsh-pluginsagentsearch

分类