coding-agents
vectorize-io/hindsightHindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
DeepSeek Harness 项目记忆系统。对标 Codex 0.145/0.146 的 memories(持久命名、 项目作用域记忆、高效恢复)。
English | 中文
~/.dsh/dsh-memories/<scope>.json——
跨会话、跨重启保留。memory_set(scope, key, value) — 写入/更新一条记忆memory_get(scope, key) — 读取一条记忆memory_list(scope) — 列出记忆(新的在前)memory_delete(scope, key) — 删除一条记忆memory_search(scope, query) — 按子串搜索键与值memories/scopes、memories/list、memories/get、
memories/upsert、memories/remove——为设置/记忆面板 UI 预留。用项目名做 scope(如 my-project)可隔离各项目上下文;省略 scope 即 global 记忆。
dsh plugin --profile web add github:DamonKoy/dsh-plugins#path:/packages/dsh-memories
重启 dsh web。
纯 JSON 文件,每个 scope 一个:
{
"entries": {
"deploy-command": {
"value": "pnpm run deploy:prod",
"createdAt": 1786000000000,
"updatedAt": 1786000000000
}
}
}
scope 会被清洗为 [A-Za-z0-9._-] 并限制 80 字符;global 为兜底 scope。
文件损坏时回退为空存储,插件不崩溃。
dsh-secret-redactor。MIT