DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-memory

b

dsh-memory

Manifest valid1

Persistent three-layer memory for DeepSeek Harness: host-side cross-workspace store, per-turn auto-consolidation, and memory tools for the agent. 持久三层记忆:宿主跨工作区存储 + 每回合自动沉淀 + agent 记忆工具。

hasBundlePatch

dsh-memory

Persistent three-layer memory for DeepSeek Harness (DSH), implemented as a host-side bundle plugin: cross-workspace storage, forced per-turn auto-consolidation, agent-visible memory tools, and a system-prompt section that makes every agent preset actively use memory.

DSH 持久三层记忆宿主插件:跨工作区共享记忆库 + 每回合强制自动沉淀 + agent 记忆工具

  • 对所有预设生效的主动记忆引导。

What it gives you / 能力

需求实现
长期记忆long-term/:profile / facts / decisions / projects(agent 用 memory_write 维护)
短期记忆short-term/<sessionId>.md:每回合结束宿主自动追加原始流水
会话摘要episodes/<sessionId>.md:每回合结束宿主自动用 LLM 追加一句话要点
跨 workspace 共享记忆根固定为 $DSH_HOME/memory(默认 ~/.dsh/memory),与任何工作区解耦;读写走宿主层,不受 agent 文件沙箱限制
强制自动沉淀宿主监听 session/eventturn/end(completed),回合自然结束即沉淀,不依赖 agent 自觉;无 LLM 可用时确定性摘要兜底
模型工具memory_read / memory_write / memory_search(宿主执行)
主动记忆引导注册 systemPrompt 段(host 层,对所有预设生效):会话开始必读长期记忆、学到事实主动写入、答"你记得吗"先检索。无需任何 agent 预设

插件装在宿主层,任何预设(standard / minimal / 自建)的会话都自动获得全部记忆能力—— 不需要选择"记忆模式"。

Install / 安装

# 1. 构建 tarball 并安装进目标 profile(reconcile 自动加入 bundle 层)
cd dsh-memory
pnpm pack
dsh plugin --profile web add ./dsh-memory-0.1.0.tgz

# 2. 重启 dsh web
systemctl restart dsh-web        # systemd 部署
# 或重新运行 dsh web

或者一键:./install.sh [profile](默认 profile 为 web)。安装后记忆根自动初始化三层骨架。

Layout / 记忆库布局

$DSH_HOME/memory/
├── README.md
├── long-term/
│   ├── profile.md        # 用户画像
│   ├── facts.md          # 事实
│   ├── decisions.md      # 决定
│   └── projects.md       # 项目笔记
├── episodes/<sessionId>.md   # 自动:每回合追加一行 LLM 摘要
└── short-term/<sessionId>.md # 自动:每回合追加原始流水

根目录可用配置 root(profile patch 里给 dsh-memory 行加 config)或环境变量 DSH_MEMORY_ROOT 覆盖;legacyRoot 配置可把旧目录一次性并入。

Development notes / 开发说明

  • 纯 ESM、零构建:package.json 声明 dsh.bundle.patchcordis.patch.yml 在 profile root 插入一行,host 插件注册工具/事件/提示段。
  • 依赖 @deepseek-ai/dsh-tools / dsh-llm / dsh-home-paths,运行时由 DSH 的 profiles module fallback 解析(无需自带依赖)。
  • 自动沉淀:监听 session/event firehose(host 可靠接收)上的 turn/end(reason.kind === 'completed') → 追加 short-term 原始流水 → 尽力用 ctx.llm.stream 生成一句话要点追加 episodes;同 session+turn 去重,不阻塞事件流。
  • 主动引导:ctx.systemPrompt.section({ name: 'dsh-memory', ... }) 在 host 注册, 因此注入到每个预设的 agent 系统提示。

License

MIT

Versions

Latest versionPublishedSize
0.1.0

Comments

Loading…

From the same category

archify

by tt-a1i

Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.

Workflow & AutomationTools & CapabilitiesManifest valid

69.8k

3.5k/wk

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add @tt-a1i/archify-dsh

DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.

Tools & CapabilitiesManifest valid

41.7k

251/wk

MIT

Aug 24, 2026

dsh plugin --profile web add dsh-plugin-reactive-resume

by Tencent

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Development & InfrastructureTools & CapabilitiesManifest valid

28.9k

831/wk

NOASSERTION

Go

Sep 22, 2026

dsh plugin --profile web add @wxg-prc-cpg/dsh-weknora

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

Tools & CapabilitiesManifest valid

28.5k

170/wk

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add dsh-plugin-desktop

by titanwings

Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).

Tools & Capabilities

25k

MIT

TypeScript

Sep 22, 2026

Index only — not installable

by Nagi-ovo

Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any websites, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;其中的提示词管理器可用于任意网站,如 DeepSeek

Tools & Capabilities

20.1k

GPL-3.0

TypeScript

Sep 21, 2026

Index only — not installable