mirror of
https://github.com/sdwolf4103/opencode-working-memory.git
synced 2026-07-17 12:56:42 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4832b382b6 |
@@ -249,8 +249,7 @@ async function loadCoreMemory(
|
|||||||
try {
|
try {
|
||||||
const content = await readFile(path, "utf-8");
|
const content = await readFile(path, "utf-8");
|
||||||
return JSON.parse(content) as CoreMemory;
|
return JSON.parse(content) as CoreMemory;
|
||||||
} catch (error) {
|
} catch {
|
||||||
console.error("Failed to load core memory:", error);
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -356,8 +355,7 @@ async function loadWorkingMemory(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return data as WorkingMemory;
|
return data as WorkingMemory;
|
||||||
} catch (error) {
|
} catch {
|
||||||
console.error("Failed to load working memory:", error);
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "opencode-working-memory",
|
"name": "opencode-working-memory",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"description": "Advanced four-tier memory architecture for OpenCode with intelligent pressure monitoring and auto-storage governance",
|
"description": "Advanced four-tier memory architecture for OpenCode with intelligent pressure monitoring and auto-storage governance",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user