mr-memory 3.0.1 → 3.0.2
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/index.ts +4 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -827,6 +827,8 @@ const memoryRouterPlugin = {
|
|
|
827
827
|
try {
|
|
828
828
|
// Disable built-in memory entirely — MR replaces it with custom tools
|
|
829
829
|
await runOpenClawConfigSet("agents.defaults.memorySearch.enabled", "false", true);
|
|
830
|
+
// Disable compaction memory flush — MR handles memory storage
|
|
831
|
+
await runOpenClawConfigSet("agents.defaults.compaction.memoryFlush.enabled", "false", true);
|
|
830
832
|
} catch {
|
|
831
833
|
// Non-fatal — config optimization is best-effort
|
|
832
834
|
}
|
|
@@ -843,6 +845,8 @@ const memoryRouterPlugin = {
|
|
|
843
845
|
await runOpenClawConfigSet("agents.defaults.memorySearch.experimental.sessionMemory", "true", true);
|
|
844
846
|
// Restore sync on search
|
|
845
847
|
await runOpenClawConfigSet("agents.defaults.memorySearch.sync.onSearch", "true", true);
|
|
848
|
+
// Restore compaction memory flush
|
|
849
|
+
await runOpenClawConfigSet("agents.defaults.compaction.memoryFlush.enabled", "true", true);
|
|
846
850
|
} catch {
|
|
847
851
|
// Non-fatal
|
|
848
852
|
}
|