dsh-memory-lite
Lightweight cross-session memory for DeepSeek Harness: one `memory` tool with save/recall/list/forget operations plus a Settings-card UI, persisted to ~/.dsh/memory-lite.json.
AI 분석
核心用途是让 AI 助手具备跨会话的长期记忆能力。适合希望 AI 记住个人偏好、项目规范或常用配置的用户,通过简单的对话即可让 AI 自动存取和管理关键信息。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pacoyi/dsh-memory-liteUsage
Just talk to the agent — it decides when to save and recall:
"记住:这个项目用 pnpm,不要用 npm" "我之前跟你说过什么关于部署的事?"
The tool schema it uses:
| Param | Applies to | Description |
|---|---|---|
operation | all | save | recall | list | forget |
note | save | The text to remember — self-contained and specific |
tags | save | Optional tags, e.g. ["preference", "project-x"] |
query | recall | Keyword, matched case-insensitively against text and tags |
tag | recall | Match entries carrying this exact tag |
limit | list/recall | Max entries to return (default 10, max 100) |
id | forget | The entry id to delete |