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

fix: keep verticalCuts module-private (#10150)

Adam Eivyf7d3959fc9a6
diff --git a/server/services/musicVideo/publish/payloads.js b/server/services/musicVideo/publish/payloads.js
index 79df551f84..e1da7ac71b 100644
--- a/server/services/musicVideo/publish/payloads.js
+++ b/server/services/musicVideo/publish/payloads.js
@@ -29,7 +29,7 @@ const isVerticalCut = (e) => e?.status === 'complete' && e.aspect === '9:16' &&
* excerpts flagged stale when the project changed since, plus the kit's
* center-crop 9:16 encode (16:9 renders) while the kit is fresh.
*/
-export function verticalCuts(project) {
+function verticalCuts(project) {
const kit = kitOf(project);
const cuts = (project?.excerpts || []).filter(isVerticalCut)
.map((e) => ({ id: e.id ?? null, filename: e.filename, startSec: e.startSec, endSec: e.endSec, stale: musicVideoDependencyChanges(project, e.dependencies).length > 0 }));