Improve music activity reporting and preserve Comfy host fixes

This commit is contained in:
Towsty
2026-09-06 23:05:46 -05:00
parent 53bb58bbd5
commit 5f96807496
8 changed files with 246 additions and 10 deletions
+3
View File
@@ -31,6 +31,7 @@ export interface JobEvent {
}
export interface Job {
musicActivity?: { checkedAt: number; running: boolean }
id: string
kind?: 'video' | 'edit' | 'music'
promptId?: string
@@ -192,6 +193,8 @@ export function jobSnapshot(job: Job) {
return {
jobId: job.id,
kind: job.kind || 'video',
engine: job.library?.engine,
musicActivity: job.musicActivity,
type: 'snapshot' as const,
status: job.status,
message: job.message,