dsh-cc/dsh-cc--packages-interaction-command-memory ↗★ 4

@dsh-cc/command-memory

提供列出或打印记忆目录中记忆文件内容的命令 用于查看和读取本地存储的记忆文件,适合需要管理智能体长期记忆的用户。

包名
@dsh-cc/command-memory
兼容性
待验证
Harness 依赖范围
>=0.2.0-rc.2
Cordis 依赖范围
>=0.2.0-rc.2
版本
0.9.1-rc.1
许可证
Apache-2.0
最近更新
2026年10月13日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@dsh-cc/command-memory

English | 中文

Human-facing /memory command that lists the memdir memory files (name, type, first line) or prints one memory's body by name, reading through ctx.fs. The plugin registers one global command through ctx.commands, so every composed command adapter discovers and executes it without a model turn.

Command contract

InputResult
/memoryList each topic as - name (type) — first line, sorted by name, plus the memory directory header.
/memory Print a single memory's frontmatter and full body, matched by frontmatter name or filename. An unknown name yields a friendly notice.

Reads the default memory home unless configured via memoryHome; the project-scoped .claude/memory overlay is used when discoverable and no override is set. Fully read-only.

Composition

The plugin injects commands and fs. A custom app mounts the owners plus this plugin:

- id: commands
  name: '@deepseek-ai/dsh-commands'
- id: command-memory
  name: '@dsh-cc/command-memory'

The filesystem service provides the fs seam. Pass a memoryHome config to point at an explicit directory.

Model Experience

The slash input and output are absent from model requests and consume no model tokens. Presentation text is never logged.

Known Limitations and Deferred Work

  • Directory resolution — the project overlay is used only when no explicit memoryHome is configured and a .git root is discoverable.