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

Merge origin/main into claude/orchestrated-autonomous-mode-lzke2f

Claude038c44fd0c21
diff --cc server/services/musicVideo/autonomousService.js
index 12c6dff5ca,5bb804f1a1..0280c0b0c9
--- a/server/services/musicVideo/autonomousService.js
+++ b/server/services/musicVideo/autonomousService.js
@@@ -1292,10 -1264,8 +1368,9 @@@ export async function stopAutonomousVid
if (!['running', 'awaiting-approval', 'needs-human'].includes(run.status)) throw runError(409, 'NOT_RUNNING', `A ${run.status} run cannot be stopped`);
const out = await patchRun(projectId, () => ({ status: 'stopped' }));
if (run.output.productionRunId) {
- const { stopProduction } = await import('./productionService.js');
- await stopProduction(projectId, run.output.productionRunId).catch(() => {});
+ await deps.stopProduction(projectId, run.output.productionRunId).catch(() => {});
}
+ if (run.output.finalAutoReviewId) await deps.stopAutoReview(projectId, run.output.finalAutoReviewId).catch(() => {});
sunoControllers.get(run.id)?.abort();
await cancelLocalSongJob(out.run);
return { project: out.project, run: presentAutonomousRun(out.run) };
@@@ -1306,10 -1276,8 +1381,9 @@@ export async function cancelAutonomousV
if (!(AUTONOMOUS_LIVE_STATUSES.includes(run.status) || run.status === 'failed')) throw runError(409, 'NOT_CANCELABLE', `A ${run.status} run cannot be canceled`);
const out = await patchRun(projectId, () => ({ status: 'canceled', awaiting: null }));
if (run.output.renderJobId) await deps.cancelRender(run.output.renderJobId).catch(() => {});
+ if (run.output.finalAutoReviewId) await deps.cancelAutoReview(projectId, run.output.finalAutoReviewId).catch(() => {});
if (run.output.productionRunId) {
- const { cancelProduction } = await import('./productionService.js');
- await cancelProduction(projectId, run.output.productionRunId).catch(() => {});
+ await deps.cancelProduction(projectId, run.output.productionRunId).catch(() => {});
}
sunoControllers.get(run.id)?.abort();
await cancelLocalSongJob(out.run);