Keep remaining multi-shot clips on a Queue page so prompts can be edited between shots, with process-next or overnight run-all.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+11
-1
@@ -25,6 +25,8 @@ export interface JobEvent {
|
||||
chainTotal?: number
|
||||
chainLabel?: string
|
||||
overallProgress?: number
|
||||
queuedRemaining?: number
|
||||
queueId?: string
|
||||
}
|
||||
|
||||
export interface Job {
|
||||
@@ -86,6 +88,10 @@ export interface Job {
|
||||
workflow?: 'v1' | 'v2'
|
||||
chainContinuing?: boolean
|
||||
passes?: { prompt: string }[]
|
||||
queueId?: string
|
||||
queueAutoRun?: boolean
|
||||
queueBudget?: number
|
||||
stopAfterCurrent?: boolean
|
||||
}
|
||||
error?: string
|
||||
socketReady?: boolean
|
||||
@@ -181,7 +187,11 @@ export function jobSnapshot(job: Job) {
|
||||
draftId: job.library?.draftId,
|
||||
chainStep: job.library?.chainStep,
|
||||
chainTotal: job.library?.chainTotal,
|
||||
chainLabel: job.library?.chainLabel
|
||||
chainLabel: job.library?.chainLabel,
|
||||
queueId: job.library?.queueId,
|
||||
queuedRemaining: job.library?.queueId
|
||||
? Math.max(0, (job.library.chainTotal || 1) - (job.library.chainStep || 1))
|
||||
: undefined
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user