Improve music activity reporting and preserve Comfy host fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user