Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

style: collapse duplicate brainStorage import in brainSync

Adam Eivyb8a28f805ada
diff --git a/server/services/brainSync.js b/server/services/brainSync.js
index 80de2ef95e..b0876059ad 100644
--- a/server/services/brainSync.js
+++ b/server/services/brainSync.js
@@ -10,9 +10,10 @@
*/
import * as brainStorage from './brainStorage.js';
-import { BRAIN_ENTITY_TYPES } from './brainStorage.js';
import * as brainSyncLog from './brainSyncLog.js';
+const { BRAIN_ENTITY_TYPES } = brainStorage;
+
/**
* Apply remote changes from a peer instance.
* Batches relay sync-log appends to reduce lock contention and fs calls.