@yandy0725/pi-memory 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.5.0",
6
+ "version": "2.5.1",
7
7
  "description": "File-system driven persistent memory layer for pi coding agent",
8
8
  "license": "MIT",
9
9
  "repository": {
@@ -322,12 +322,6 @@ export class MemoryStore {
322
322
  return out;
323
323
  }
324
324
 
325
- /** 清空并重建缓存(手工编辑过目录后用)。 */
326
- async refreshCache(): Promise<void> {
327
- this.#cache.clear();
328
- await this.listEntries();
329
- }
330
-
331
325
  /** name 校验:非空、单行、不含 `](`。add 与 replace 共用,否则改名就成了绕过入口。 */
332
326
  #validateName(name: string): void {
333
327
  if (!name) throw new Error("name is required");