返回目录
Agent 与会话 插件

dsh-plugin-meta-memory

YYTbit/dsh-plugin-meta-memory

Structured long-term memory system for DeepSeek Harness

Stars
3
Forks
0
Issues
0
更新
4 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:YYTbit/dsh-plugin-meta-memory

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

PROJECT README

README

dsh-plugin-meta-memory

Structured long-term memory system for DeepSeek Harness.

What it does

Teaches the agent how to organize memories using a structured system:

  • Units: Work categories named verb-modifier-noun.unit
  • Records: Each memory has a brief (quick scan) and full (detailed) version
  • Index: Self-maintained global storyline
  • Auto-injection: Relevant briefs are injected into context automatically

Install

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

How it works

Memory structure

.meta-memory/
├── index.md
└── units/
    ├── debug-auth-module.unit/
    │   ├── 0.token-refresh-fail.brief.md
    │   └── 0.token-refresh-fail.full.md
    └── read-deeplearning-paper.unit/
        ├── 0.transformer-attention.brief.md
        └── 0.transformer-attention.full.md

Brief format (injected into context)

# token-refresh-fail
JWT token refresh returns 401 due to timestamp offset calculation error.

Full format (loaded on demand)

# token-refresh-fail

## Context
Auth module was failing on token refresh after 1 hour.

## Finding
expiresAt calculated using milliseconds instead of seconds.

## Evidence
src/auth/refresh.ts:42 - Math.floor(Date.now() / 1000) fixes it.

## Relevance
Any JWT/token related debugging in the future.

CLI tool

mm init              # Initialize memory directory
mm list              # List all units and records
mm read <unit>       # Read all briefs in a unit
mm search <query>    # Search briefs by keyword
mm index             # Show the index

Configuration

- id: meta-memory
  name: dsh-plugin-meta-memory
  config:
    memoryPath: '~/.dsh/meta-memory'
    enableInjection: true
    enableSkill: true
    maxBriefBytes: 4096

License

MIT -- YYTbit

CLASSIFICATION EVIDENCE

分类依据

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

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