dsh-plugin-meta-memory: Structured Long-term Memory for DeepSeek Harness

Preface

In the DSH plugin ecosystem, long-term memory is a common challenge for agent developers: experiences, conclusions, and background knowledge are scattered across different sessions, manual organization costs are high, and relevant fragments are difficult to consistently bring into context. The approach of dsh-plugin-meta-memory is to organize memory into a “unit + record” structure, where each record distinguishes between brief and full, and supports automatic injection of relevant briefs.

What This Is

The official positioning of dsh-plugin-meta-memory is:

Structured long-term memory system for DeepSeek Harness.

It is maintained by YYTbit, licensed under MIT, and the current version in package.json is 0.1.1.

It primarily addresses memory organization and context reuse: organizing scattered information into manageable units, storing summaries and full content in layers, and allowing relevant summaries to enter the agent context automatically.

Core Features

The verified core capabilities of this plugin include:

  • Uses verb-modifier-noun.unit naming for memory units.
  • Each memory contains both brief and full versions.
  • Maintains a self-maintained global index / storyline.
  • Can automatically inject relevant briefs into context.
  • Provides a CLI tool mm supporting init, list, read, search, and index commands.
  • Provides configuration options: memoryPath, enableInjection, enableSkill, maxBriefBytes.

Installation

First confirm the target DSH profile, then run the installation command:

dsh plugin --profile your-profile add dsh-plugin-meta-memory

Replace your-profile with the actual DSH profile you are using.

After installation, the mm command provided by the plugin can be used to initialize, view, read, search, and manage the memory directory.

Typical Usage

Common workflows are as follows.

1. Initialize Memory Directory

mm init

This command initializes the memory directory.

2. List All Units and Records

mm list

This command displays the currently available memory units and records.

3. Read All Briefs in a Unit

mm read <unit>

This command reads all brief contents within the specified unit.

4. Search Briefs by Keywords

mm search <query>

This command searches for relevant briefs by keyword.

5. View Index

mm index

This command displays the global index / storyline maintained by the plugin.

brief is better suited for quick scanning and summaries, while full is better suited as complete records loaded on demand. Through mm read and mm search, you can first locate relevant units, then decide whether to view the more complete full version.

Configuration

The plugin provides the following configuration options:

memoryPath
enableInjection
enableSkill
maxBriefBytes

Among these, enableInjection corresponds to the ability to automatically inject relevant briefs. Other configuration options can be adjusted in the plugin configuration according to the specific deployment environment.

Applicable Scenarios and Considerations

This plugin is suitable for the following usage patterns:

  • Organizing experiences, conclusions, or knowledge fragments into units by work category.
  • Splitting memories into brief and full layers for quick retrieval and on-demand loading.
  • Managing the memory directory, memory records, and index in the terminal via mm.
  • Having relevant briefs automatically injected into context to reduce repetitive explanations.

Before use, note the following:

  • The plugin runs with the current dsh process permissions.
  • Check the source code and license before installation.
  • The currently declared license for the repository is MIT.
  • Repository address:
https://github.com/YYTbit/dsh-plugin-meta-memory

Summary

The value of dsh-plugin-meta-memory lies in providing DSH with a structured long-term memory organization approach: units handle categorization, brief / full handle layering, index maintains global context clues, and auto-injection brings relevant summaries into the context.

If you need to maintain searchable, layered, and automatically injectable long-term memory in DSH, this plugin is a good starting point for evaluation.

GitHub:

https://github.com/YYTbit/dsh-plugin-meta-memory
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye