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

refactor: keep style snapshot builders module-private (#9105)

[._.]/ Adam Eivy34b5c8bd24d0
diff --git a/server/services/musicVideo/styleSnapshots.js b/server/services/musicVideo/styleSnapshots.js
index 906990f50d..34ff581238 100644
--- a/server/services/musicVideo/styleSnapshots.js
+++ b/server/services/musicVideo/styleSnapshots.js
@@ -9,7 +9,7 @@ import { collectBoardStyleContext } from '../../lib/moodBoardStyleContext.js';
const STYLE_SNAPSHOT_MAX = 4000;
-export function universeStyleSnapshot(universe) {
+function universeStyleSnapshot(universe) {
if (!universe) return '';
const embrace = universe.influences?.embrace || [];
const avoid = universe.influences?.avoid || [];
@@ -21,7 +21,7 @@ export function universeStyleSnapshot(universe) {
].filter(Boolean).join('\n').slice(0, STYLE_SNAPSHOT_MAX);
}
-export function moodBoardStyleSnapshot(board) {
+function moodBoardStyleSnapshot(board) {
const context = board ? collectBoardStyleContext(board) : null;
if (!context) return '';
return [context.name, context.description, ...context.items.map((item) => Object.values(item).join('; '))]