memory-braid 0.8.0 → 0.8.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/package.json +1 -1
- package/src/index.ts +2 -5
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1672,11 +1672,8 @@ const memoryBraidPlugin = {
|
|
|
1672
1672
|
register(api: OpenClawPluginApi) {
|
|
1673
1673
|
const cfg = parseConfig(api.pluginConfig);
|
|
1674
1674
|
const log = new MemoryBraidLogger(api.logger, cfg.debug);
|
|
1675
|
-
const
|
|
1676
|
-
const
|
|
1677
|
-
const entityExtraction = new EntityExtractionManager(cfg.entityExtraction, log, {
|
|
1678
|
-
stateDir: initialStateDir,
|
|
1679
|
-
});
|
|
1675
|
+
const mem0 = new Mem0Adapter(cfg, log);
|
|
1676
|
+
const entityExtraction = new EntityExtractionManager(cfg.entityExtraction, log);
|
|
1680
1677
|
const recallSeenByScope = new Map<string, string>();
|
|
1681
1678
|
const captureSeenByScope = new Map<string, string>();
|
|
1682
1679
|
const pendingInboundTurns = new Map<string, PendingInboundTurn>();
|