返回目录
Agent 与会话 插件

dsh-memory-local

LISHUANGXI1412/dsh-memory-local

Local-only cross-session memory for DSH with system-prompt injection and a Settings page.

Stars
1
Forks
0
Issues
0
更新
12 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:LISHUANGXI1412/dsh-memory-local

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-memory-local

Local-only cross-session memory for DeepSeek Harness.

Current version: 0.1.1, published on npm as dsh-memory-local.

  • Agent tools: memory_remember, memory_recall, memory_list, memory_forget, memory_inspect.
  • Relevant entries are injected into the system prompt as a bounded local-memory block (never as instructions).
  • Settings → Memory lets you manage project and global memories: add, edit, pin, search, delete, and preview the next injection.

Storage

Default: ~/.dsh/memory/

  • global.json — entries shared by all workspaces.
  • projects/<id>.json — per-workspace entries.
  • index.json — workspace path → project id.

No network, no embeddings, no cloud. DSH_MEMORY_DIR overrides the directory.

Scope

  • Default: project (current workspace).
  • scope: "global" is opt-in, for stable user preferences that should follow every workspace.

Safety

  • Explicit writes only; conversations are not captured automatically.
  • Credential-looking content (npm_, ghp_, github_pat_, sk-, Bearer) is rejected.
  • Content is capped at 4 KiB; injection is capped at 8 entries / 2000 characters.
  • memory_forget and memory_inspect are first-class; deletion is explicit.

Install

# install the local checkout into a profile
plugin_manager install_bundle <absolute path to this directory>

Then open Settings → Memory; the page is registered through settings.section.

Notes

The Client half requires @deepseek-ai/dsh-typert-protocol for the Host↔Client Remote bridge. The Host half remains usable without the settings page.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session、prompt、system-prompt、memory。