{#if info}
{#key info}
(info = null)}
/>
{/key}
{/if}
{#if folderTarget && (selectedSystemTerminal?.scope !== 'chat' || isSavedChatId(chatId))}
{#key `${$user?.id}:${folderTarget.selector}:${chatId ?? ''}`}
{
if (isSavedChatId(chatId)) {
await updateChatById(localStorage.token, chatId!, { working_directory: path });
}
}}
{disabled}
/>
{/key}
{/if}
{#if showTerminals}
{/if}
{#if files}
{#key files}
(files = null)} />
{/key}
{/if}
pending && runLifecycle(pending.id, pending.name, pending.action)}
/>