This commit is contained in:
Timothy Jaeryang Baek 2026-06-29 01:45:50 -05:00
parent 46c1d6591b
commit b7934e9182

View file

@ -84,12 +84,13 @@
}
}
$: args = decode(attributes?.arguments ?? '');
export let resultContent: string = '';
$: result = resultContent || decode(attributes?.result ?? '');
$: files = parseJSONString(decode(attributes?.files ?? ''));
$: embeds = parseJSONString(decode(attributes?.embeds ?? ''));
$: args =
open || (Array.isArray(embeds) && embeds.length > 0) ? decode(attributes?.arguments ?? '') : '';
$: isDone = attributes?.done === 'true';
$: isExecuting = attributes?.done && attributes?.done !== 'true';