Show each extension's own prompt, not only the batch script.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-31 18:45:17 -05:00
co-authored by Cursor
parent 6624fb6f93
commit d4bcf8482e
4 changed files with 23 additions and 4 deletions
+4 -1
View File
@@ -141,9 +141,10 @@ export function stillModeLabel(still: { filename?: string; settings?: StillGener
return ''
}
export function stillSettingsRows(still: { width?: number; height?: number; settings?: StillGenerationSettings | null }) {
export function stillSettingsRows(still: { prompt?: string; width?: number; height?: number; settings?: StillGenerationSettings | null }) {
const settings = still.settings
const rows: SettingsRow[] = []
if (still.prompt?.trim()) rows.push({ label: 'Prompt', value: still.prompt.trim() })
const mode = stillModeLabel(still)
if (mode) rows.push({ label: 'Mode', value: mode })
if (!settings) return rows
@@ -201,6 +202,7 @@ function videoWorkflowLabel(workflow?: string) {
}
export function clipSettingsRows(clip: {
prompt?: string
width?: number
height?: number
duration?: number
@@ -218,6 +220,7 @@ export function clipSettingsRows(clip: {
loraStack?: LoraStackItem[]
}) {
const rows: SettingsRow[] = []
if (clip.prompt?.trim()) rows.push({ label: 'Prompt', value: clip.prompt.trim() })
const workflow = videoWorkflowLabel(clip.workflow)
if (workflow) rows.push({ label: 'Workflow', value: workflow })
if (clip.width && clip.height) rows.push({ label: 'Size', value: `${clip.width}×${clip.height}` })